Inherits IStringSection.
Inheritance diagram for DataSourcePathTextSection:
Public Member Functions | |
DataSourcePathTextSection (const std::string &text) | |
Creates a text section from a string. | |
virtual | ~DataSourcePathTextSection () |
void | setPreText (const std::string &preText) |
Sets the prefix text. | |
void | setPostText (const std::string &postText) |
Sets the siffix text. | |
std::string | toString (int value, int8 &ok) |
Creates a std::string from all the information given. | |
Private Member Functions | |
DataSourcePathTextSection (const DataSourcePathTextSection &) | |
void | operator= (const DataSourcePathTextSection &) |
Private Attributes | |
std::string | _text |
std::string | _preText |
std::string | _postText |
DataSourcePathTextSection::DataSourcePathTextSection | ( | const std::string & | text | ) | [explicit] |
Creates a text section from a string.
text | The text to use in this section |
DataSourcePathTextSection::~DataSourcePathTextSection | ( | ) | [virtual] |
DataSourcePathTextSection::DataSourcePathTextSection | ( | const DataSourcePathTextSection & | ) | [private] |
void DataSourcePathTextSection::setPreText | ( | const std::string & | preText | ) | [virtual] |
void DataSourcePathTextSection::setPostText | ( | const std::string & | postText | ) | [virtual] |
std::string DataSourcePathTextSection::toString | ( | int | value, | |
int8 & | ok | |||
) | [virtual] |
Creates a std::string from all the information given.
value | The value to use for the index | |
ok | Was the string created properly |
Implements IStringSection.
void DataSourcePathTextSection::operator= | ( | const DataSourcePathTextSection & | ) | [private] |
std::string DataSourcePathTextSection::_text [private] |
std::string DataSourcePathTextSection::_preText [private] |
std::string DataSourcePathTextSection::_postText [private] |