Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CCmdInfoLabel Class Reference

List of all members.

Public Methods

 CCmdInfoLabel (int=0, int=0)
virtual int GetSize () const
virtual std::string GetValue (int) const
template<class T> void Get (T &Value, int Pos) const

Detailed Description

Defines a set of label


Constructor & Destructor Documentation

CCmdInfoLabel::CCmdInfoLabel int   PosBegin = 0,
int   PosLast = 0
 

The correct construction of this object is done with CCmdInfo::GetValue function.

Parameters:
PosBegin   Starting position of the label and its following parameters.
PosLast   Ending position of the label.
Precondition:
Static data, m_Argc and m_Argv have been initialized.


Member Function Documentation

template<class T>
void CCmdInfoLabel::Get T &   Value,
int   Pos
const [inline]
 

Gets the value of a parameter.

Parameters:
Value   Value of the parameter.
Pos   Position of the parameter.

int CCmdInfoLabel::GetSize void   const [virtual]
 

Returns:
Number of parameters for the label.

Reimplemented from CCmdInfoData.

std::string CCmdInfoLabel::GetValue int   Pos const [virtual]
 

Returns:
Value of the specified parameter. Return an empty string if no parameter exits for the specified position.
Parameters:
Pos   Position of the parameter related to the label. 0 corresponds to the first psoition.

Reimplemented from CCmdInfoData.


The documentation for this class was generated from the following files:
Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.