torc-master
|
Represents class that can hold userData. More...
#include <UserDataContainer.hpp>
Public Member Functions | |
void | getUserData (std::list< std::string > &outUserData) const |
void | setUserData (const std::list< std::string > &inSource) |
void | addUserData (const std::string &inSource) |
~UserDataContainer () throw () | |
Protected Member Functions | |
UserDataContainer () | |
Private Member Functions | |
UserDataContainer (const UserDataContainer &source) | |
UserDataContainer & | operator= (const UserDataContainer &source) |
Private Attributes | |
std::list< std::string > | mUserData |
Represents class that can hold userData.
The UserDataContainer interface is generalized by classes that need to hold one or more userData.
Definition at line 35 of file UserDataContainer.hpp.
|
protected |
Definition at line 38 of file UserDataContainer.cpp.
torc::generic::UserDataContainer::~UserDataContainer | ( | ) | ||
throw | ( | |||
) |
Definition at line 41 of file UserDataContainer.cpp.
|
private |
void torc::generic::UserDataContainer::addUserData | ( | const std::string & | inSource | ) |
Add an user data to the list of user data
[in] | inSource | An user data as string |
Definition at line 34 of file UserDataContainer.cpp.
|
inline |
Get the list of all userData
[out] | outUserData | The list of all userData |
Definition at line 78 of file UserDataContainer.hpp.
|
private |
void torc::generic::UserDataContainer::setUserData | ( | const std::list< std::string > & | inSource | ) |
Set the list of userData
[in] | inSource | The list of UserData |
Definition at line 26 of file UserDataContainer.cpp.
|
private |
Definition at line 70 of file UserDataContainer.hpp.