Inherits IStringSection.
Inheritance diagram for DataSourcePathIndexSection:
Public Member Functions | |
DataSourcePathIndexSection (int32 dimIndex, const std::string &fillChar, int32 width, const std::string &numericType) | |
Constructor. | |
virtual | ~DataSourcePathIndexSection () |
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 | |
DataSourcePathIndexSection (const DataSourcePathIndexSection &) | |
void | operator= (const DataSourcePathIndexSection &) |
Private Attributes | |
int32 | _index |
std::string | _fillChar |
int32 | _width |
std::string | _numericType |
std::string | _preText |
std::string | _postText |
DataSourcePathIndexSection::DataSourcePathIndexSection | ( | int32 | dimIndex, | |
const std::string & | fillChar, | |||
int32 | width, | |||
const std::string & | numericType | |||
) |
Constructor.
dimIndex | The index into the dimensions array that this represents | |
fillChar | The characters to use as fill values in the generated string | |
width | The number of characters to use when creating the vnumber | |
numericType | The type of number to create. |
DataSourcePathIndexSection::~DataSourcePathIndexSection | ( | ) | [virtual] |
DataSourcePathIndexSection::DataSourcePathIndexSection | ( | const DataSourcePathIndexSection & | ) | [private] |
void DataSourcePathIndexSection::setPreText | ( | const std::string & | preText | ) | [virtual] |
void DataSourcePathIndexSection::setPostText | ( | const std::string & | postText | ) | [virtual] |
std::string DataSourcePathIndexSection::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 DataSourcePathIndexSection::operator= | ( | const DataSourcePathIndexSection & | ) | [private] |
int32 DataSourcePathIndexSection::_index [private] |
std::string DataSourcePathIndexSection::_fillChar [private] |
int32 DataSourcePathIndexSection::_width [private] |
std::string DataSourcePathIndexSection::_numericType [private] |
std::string DataSourcePathIndexSection::_preText [private] |
std::string DataSourcePathIndexSection::_postText [private] |