DataSourcePathIndexSection Class Reference

Represents the index value (a number) of a data source path. More...

Inherits IStringSection.

Inheritance diagram for DataSourcePathIndexSection:

Inheritance graph
[legend]
Collaboration diagram for DataSourcePathIndexSection:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Represents the index value (a number) of a data source path.

Author:
Mike Jackson
Date:
Nov 2007
Version:
Revision
1.2


Constructor & Destructor Documentation

DataSourcePathIndexSection::DataSourcePathIndexSection ( int32  dimIndex,
const std::string &  fillChar,
int32  width,
const std::string &  numericType 
)

Constructor.

Parameters:
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]


Member Function Documentation

void DataSourcePathIndexSection::setPreText ( const std::string &  preText  )  [virtual]

Sets the prefix text.

Parameters:
preText The prefix

Implements IStringSection.

void DataSourcePathIndexSection::setPostText ( const std::string &  postText  )  [virtual]

Sets the siffix text.

Parameters:
postText The suffix text

Implements IStringSection.

std::string DataSourcePathIndexSection::toString ( int  value,
int8 &  ok 
) [virtual]

Creates a std::string from all the information given.

Parameters:
value The value to use for the index
ok Was the string created properly
Returns:
The created string

Implements IStringSection.

void DataSourcePathIndexSection::operator= ( const DataSourcePathIndexSection  )  [private]


Member Data Documentation

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]


The documentation for this class was generated from the following files:
Generated on Tue Nov 17 18:43:11 2009 for MXADataModel by  doxygen 1.5.2