virtual std::string GetDescription(int index=0)
Returns the specified description.
virtual void SetUserDataContainer(trBase::SmrtClass *data)
Sets the user data object.
std::vector< trBase::SmrtPtr< trBase::Base > > mObjectList
virtual std::vector< trBase::SmrtPtr< trBase::Base > > GetObjectList()
Returns the list of all the user objects cast down to Base class.
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.
UserDataContainer(const std::string name=CLASS_TYPE)
Holds the class type name for efficient comparisons.
Smart pointer for handling referenced counted objects.
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
This class is part of the internal garbage collection system.
std::vector< std::string > mDescriptionList
trBase::SmrtPtr< trBase::SmrtClass > mUserDataContainer
virtual std::vector< std::string > GetDescriptionList()
Returns a list of Description strings.
virtual int GetObjectListCount()
Returns the number of objects stored in the Object list.
virtual void SetObjects(std::vector< trBase::SmrtPtr< trBase::Base >> objList)
Set a new list of objects.
virtual trBase::SmrtClass * GetUserDataContainer()
Returns the user data object.
virtual trBase::SmrtPtr< trBase::Base > GetObject(int index=0)
Returns the specified object.
virtual void SetDescriptions(std::vector< std::string > descriptions)
Set a new list of descriptions strings.
virtual void AddDescription(std::string description)
Adds a new description string to the list of descriptions.
virtual void AddObject(trBase::SmrtPtr< trBase::Base > obj)
Adds a new object to the object list.
virtual int GetDescriptionListCount()
Returns the number of objects stored in the Description list.
virtual const std::string & GetType() const override
Returns the class type.