DataSourcePathTextSection Class Reference

Represents the text section of a Data Source path. More...

Inherits IStringSection.

Inheritance diagram for DataSourcePathTextSection:

Inheritance graph
[legend]
Collaboration diagram for DataSourcePathTextSection:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Represents the text section of a Data Source path.

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


Constructor & Destructor Documentation

DataSourcePathTextSection::DataSourcePathTextSection ( const std::string &  text  )  [explicit]

Creates a text section from a string.

Parameters:
text The text to use in this section

DataSourcePathTextSection::~DataSourcePathTextSection (  )  [virtual]

DataSourcePathTextSection::DataSourcePathTextSection ( const DataSourcePathTextSection  )  [private]


Member Function Documentation

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

Sets the prefix text.

Parameters:
preText The prefix

Implements IStringSection.

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

Sets the siffix text.

Parameters:
postText The suffix text

Implements IStringSection.

std::string DataSourcePathTextSection::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 DataSourcePathTextSection::operator= ( const DataSourcePathTextSection  )  [private]


Member Data Documentation

std::string DataSourcePathTextSection::_text [private]

std::string DataSourcePathTextSection::_preText [private]

std::string DataSourcePathTextSection::_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