Public Member Functions | |
void | Build (GtkTreeStore *treestore) |
This method will iterate on typeIds having default attributes and create a model for them, this model will be used by the view. | |
Public Member Functions inherited from ns3::AttributeDefaultIterator | |
void | Iterate (void) |
This function will go through all the TypeIds and get only the attributes which are explicit values (not vectors or pointer or arrays) and apply StartVisitTypeId and VisitAttribute on the attributes in one TypeId. At the end of each TypeId EndVisitTypeId is called. | |
Private Member Functions | |
void | Add (ModelTypeid *node) |
Adds a treestore iterator to m_treestore model. | |
virtual void | EndVisitTypeId (void) |
Remove the last gtk tree iterator. | |
void | Remove (void) |
virtual void | StartVisitTypeId (std::string name) |
Add a node for the new TypeId object. | |
virtual void | VisitAttribute (TypeId tid, std::string name, std::string defaultValue, uint32_t index) |
This method will add a ModelTypeid to the GtkTreeIterator. | |
Private Attributes | |
std::vector< GtkTreeIter * > | m_iters |
GtkTreeStore * | m_treestore |
Definition at line 47 of file model-typeid-creator.h.
|
private |
Removes the last GtkTreeIterator from m_iters
Definition at line 47 of file model-typeid-creator.cc.
Referenced by EndVisitTypeId(), and VisitAttribute().