SST 15.0
Structural Simulation Toolkit
|
Metadata object that each ObjectMap has a pointer to in order to track the hierarchy information while traversing the data structures. More...
#include <objectMap.h>
Public Member Functions | |
ObjectMapMetaData (ObjectMap *parent, const std::string &name) | |
Constructor for intializing data memebers. | |
ObjectMapMetaData (const ObjectMapMetaData &)=delete | |
ObjectMapMetaData & | operator= (const ObjectMapMetaData &)=delete |
Data Fields | |
ObjectMap * | parent |
Parent object that contained this object and through which it was selected. | |
std::string | name |
Name of this object in the context of the currently set parent. | |
Metadata object that each ObjectMap has a pointer to in order to track the hierarchy information while traversing the data structures.
This is used because a given object can be pointed to by multiple other objects, so we need to track the "path" through which we got to the object so we can traverse back up the object hierarchy.