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 Remove(void)
Remove current tree item.
std::string name
node name
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
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 poi...
GtkTreeStore * m_treestore
attribute tree
enum ns3::ModelNode::@1 type
node type
virtual void DoEndVisitPointerAttribute(void)
End the visit to the attribute of type ns3::PointerValue.
void Build(GtkTreeStore *treestore)
Allocate attribute tree.
void Add(ModelNode *node)
Add item to 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 DoEndVisitObject(void)
This method is called to end the process of visiting the currently visited object.
virtual void DoEndVisitArrayItem(void)
End the visit to the array item.
Ptr< Object > object
the object
Every class exported by the ns3 library is enclosed in the ns3 namespace.
A class used in the implementation of the GtkConfigStore.
Container for a set of ns3::Object pointers.
void Iterate(void)
Start the process of iterating all objects from the root namespace object.
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...
virtual void DoStartVisitObject(Ptr< Object > object)
This method is called to start the process of visiting the input object.
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...
std::vector< GtkTreeIter * > m_iters
attribute tree item
virtual void DoEndVisitArrayAttribute(void)
End the visit to the attribute of type ns3::ObjectVectorValue.