# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLAIAGENT::CIndexedVarName::CNameStruc Struct Reference

Structure for store string in a std::map. More...

List of all members.

Public Methods

 CNameStruc ()
 CNameStruc (CStringVarName *name, sint32 index)
const sint32inc ()
 add new reference. if Count is null we have to remove this structur from thje map. More...

const sint32dec ()
 dec one reference. if ref. More...

virtual void save (NLMISC::IStream &)
virtual void load (NLMISC::IStream &)

Public Attributes

sint32 Count
 Number of reference. More...

sint32 Index
 unique index for the string. More...

CStringVarNameName
 String stored in the map. More...


Detailed Description

Structure for store string in a std::map.

Definition at line 268 of file agent_string.h.


Constructor & Destructor Documentation

NLAIAGENT::CIndexedVarName::CNameStruc::CNameStruc   [inline]
 

Definition at line 278 of file agent_string.h.

References Count, and Index.

NLAIAGENT::CIndexedVarName::CNameStruc::CNameStruc CStringVarName   name,
sint32    index
[inline]
 

Definition at line 279 of file agent_string.h.

References Count, Index, and index.


Member Function Documentation

const sint32& NLAIAGENT::CIndexedVarName::CNameStruc::dec   [inline]
 

dec one reference. if ref.

Definition at line 286 of file agent_string.h.

References Count.

const sint32& NLAIAGENT::CIndexedVarName::CNameStruc::inc   [inline]
 

add new reference. if Count is null we have to remove this structur from thje map.

Definition at line 281 of file agent_string.h.

References Count.

virtual void NLAIAGENT::CIndexedVarName::CNameStruc::load NLMISC::IStream   [inline, virtual]
 

Definition at line 299 of file agent_string.h.

Referenced by NLAIAGENT::CIndexedVarName::loadClass.

virtual void NLAIAGENT::CIndexedVarName::CNameStruc::save NLMISC::IStream   [inline, virtual]
 

Definition at line 291 of file agent_string.h.

Referenced by NLAIAGENT::CIndexedVarName::saveClass.


Member Data Documentation

sint32 NLAIAGENT::CIndexedVarName::CNameStruc::Count
 

Number of reference.

Definition at line 271 of file agent_string.h.

Referenced by CNameStruc, dec, inc, NLAIAGENT::CIndexedVarName::initClass, NLAIAGENT::CIndexedVarName::loadClass, and NLAIAGENT::CIndexedVarName::newIndex.

sint32 NLAIAGENT::CIndexedVarName::CNameStruc::Index
 

unique index for the string.

Definition at line 273 of file agent_string.h.

Referenced by CNameStruc, NLAIAGENT::CIndexedVarName::initClass, NLAIAGENT::CIndexedVarName::loadClass, and NLAIAGENT::CIndexedVarName::newIndex.

CStringVarName* NLAIAGENT::CIndexedVarName::CNameStruc::Name
 

String stored in the map.

Definition at line 275 of file agent_string.h.

Referenced by NLAIAGENT::CIndexedVarName::CIndexedVarName, NLAIAGENT::CIndexedVarName::initClass, NLAIAGENT::CIndexedVarName::loadClass, NLAIAGENT::CIndexedVarName::newIndex, NLAIAGENT::CIndexedVarName::releaseClass, and NLAIAGENT::CIndexedVarName::saveClass.


The documentation for this struct was generated from the following file: