|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::CIndexedVarName Class ReferenceThis class is an IVarName concret class.
More...
#include <agent_string.h>
Inheritance diagram for NLAIAGENT::CIndexedVarName:
List of all members.
Detailed Description
This class is an IVarName concret class.
Its share string in a static map, when we constuct a new instance if string is not stored in the std::map then its add in it else it references it from string stored in th std::map.
-
Author:
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 261 of file agent_string.h.
Member Typedef Documentation
Constructor & Destructor Documentation
NLAIAGENT::CIndexedVarName::CIndexedVarName |
( |
const char * |
name |
) |
|
|
NLAIAGENT::CIndexedVarName::CIndexedVarName |
( |
const CIndexedVarName & |
name |
) |
|
|
NLAIAGENT::CIndexedVarName::~CIndexedVarName |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLAIAGENT::CIndexedVarName::clear |
( |
|
) |
[private] |
|
void NLAIAGENT::CIndexedVarName::getDebugString |
( |
std::string & |
text |
) |
const [virtual] |
|
|
This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user.
Implements NLAIC::IBasicType.
Definition at line 292 of file agent_string.cpp. |
const sint32& NLAIAGENT::CIndexedVarName::getIndex |
( |
|
) |
const [inline] |
|
const char * NLAIAGENT::CIndexedVarName::getString |
( |
|
) |
const [virtual] |
|
|
getType return a unique string how represente the class, it can be the name of the class.
This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry).
Implements NLAIC::IBasicType.
Definition at line 33 of file agent_string.cpp.
References IdIndexedVarName. |
void NLAIAGENT::CIndexedVarName::initClass |
( |
|
) |
[static] |
|
void NLAIAGENT::CIndexedVarName::insert |
( |
const CStringVarName & |
name |
) |
[private] |
|
void NLAIAGENT::CIndexedVarName::loadClass |
( |
NLMISC::IStream & |
is |
) |
[static] |
|
sint32 NLAIAGENT::CIndexedVarName::newIndex |
( |
|
) |
|
|
const NLAIC::IBasicType * NLAIAGENT::CIndexedVarName::newInstance |
( |
|
) |
const [virtual] |
|
IVarName & NLAIAGENT::CIndexedVarName::operator+= |
( |
const IVarName & |
s |
) |
[virtual] |
|
IVarName & NLAIAGENT::CIndexedVarName::operator-= |
( |
const IVarName & |
s |
) |
[virtual] |
|
IVarName & NLAIAGENT::CIndexedVarName::operator= |
( |
const IVarName & |
v |
) |
[virtual] |
|
void NLAIAGENT::CIndexedVarName::releaseClass |
( |
|
) |
[static] |
|
void NLAIAGENT::CIndexedVarName::saveClass |
( |
NLMISC::IStream & |
is |
) |
[static] |
|
Member Data Documentation
const sint32 CIndexedVarName::_Bank = 256 [static, private]
|
|
|
Actual nomber of allocation resolution in the Table.
Note that when we superseded table resolution we realloc a new table with the old size add by _Bank.
Definition at line 53 of file static_def_init.cpp.
Referenced by initClass, and newIndex. |
sint32 CIndexedVarName::_Count = 0 [static, private]
|
|
sint32 NLAIAGENT::CIndexedVarName::_Index [private]
|
|
|
Table of string, this the contents of the map.
Definition at line 52 of file static_def_init.cpp.
Referenced by CIndexedVarName, clear, getString, initClass, insert, loadClass, newIndex, releaseClass, save, and saveClass. |
The documentation for this class was generated from the following files:
|
|