42 GtkTreeIter *parent =
m_iters.back ();
43 GtkTreeIter *current = g_new (GtkTreeIter, 1);
44 gtk_tree_store_append (
m_treestore, current, parent);
52 GtkTreeIter *iter =
m_iters.back ();
111 GtkTreeIter *parent =
m_iters.back ();
112 GtkTreeIter *current = g_new (GtkTreeIter, 1);
117 gtk_tree_store_append (
m_treestore, current, parent);
126 GtkTreeIter *iter =
m_iters.back ();
void Iterate(void)
Start the process of iterating all objects from the root namespace object.
GtkTreeStore * m_treestore
attribute tree
virtual void DoStartVisitArrayItem(const ObjectPtrContainerValue &vector, uint32_t index, Ptr< Object > item)
Start to visit the object found in the input array at the provided index.
virtual void DoEndVisitArrayItem(void)
End the visit to the array item.
void Remove(void)
Remove current tree item.
virtual void DoEndVisitPointerAttribute(void)
End the visit to the attribute of type ns3::PointerValue.
virtual void DoStartVisitArrayAttribute(Ptr< Object > object, std::string name, const ObjectPtrContainerValue &vector)
Visit the attribute of type ns3::ObjectVectorValue, with the provided name, found on the object point...
virtual void DoEndVisitArrayAttribute(void)
End the visit to the attribute of type ns3::ObjectVectorValue.
virtual void DoVisitAttribute(Ptr< Object > object, std::string name)
This method visits and performs a config-store action (such as saving to a text file) on the attribut...
virtual void DoStartVisitObject(Ptr< Object > object)
This method is called to start the process of visiting the input object.
virtual void DoEndVisitObject(void)
This method is called to end the process of visiting the currently visited object.
std::vector< GtkTreeIter * > m_iters
attribute tree item
void Build(GtkTreeStore *treestore)
Allocate attribute tree.
void Add(ModelNode *node)
Add item to attribute tree.
virtual void DoStartVisitPointerAttribute(Ptr< Object > object, std::string name, Ptr< Object > value)
Visit the attribute of type ns3::PointerValue, with the provided name, found on the object pointed to...
Container for a set of ns3::Object pointers.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
A class used in the implementation of the GtkConfigStore.
enum ns3::ModelNode::@2 type
node type
Ptr< Object > object
the object
std::string name
node name