# 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  

NLAICHARACTER::CCharacterNoeud Class Reference

#include <character.h>

Inheritance diagram for NLAICHARACTER::CCharacterNoeud

Inheritance graph
[legend]
Collaboration diagram for NLAICHARACTER::CCharacterNoeud:

Collaboration graph
[legend]
List of all members.

Public Methods

 CCharacterNoeud (const std::string &name)
 CCharacterNoeud (const CCharacterNoeud &name)
virtual ~CCharacterNoeud ()
virtual const ICharacterhaveCharacter (const std::string &) const
virtual bool addCharacter (const ICharacter &)
virtual bool canAddCharacter () const
virtual void save (NLMISC::IStream &os)
 Save the class in a stream. More...

virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...

virtual void getDebugString (char *text) const
 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. More...

virtual const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

virtual const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const

Static Public Methods

void initClass ()
void releaseClass ()

Static Public Attributes

const NLAIC::CIdentTypeIDCharacterNoeud = NULL

Private Attributes

std::list<ICharacter *> _Character

Constructor & Destructor Documentation

NLAICHARACTER::CCharacterNoeud::CCharacterNoeud ( const std::string & name ) [inline]
 

Definition at line 108 of file character.h.

NLAICHARACTER::CCharacterNoeud::CCharacterNoeud ( const CCharacterNoeud & c )
 

Definition at line 149 of file character.cpp.

NLAICHARACTER::CCharacterNoeud::~CCharacterNoeud ( ) [virtual]
 

Definition at line 159 of file character.cpp.


Member Function Documentation

bool NLAICHARACTER::CCharacterNoeud::addCharacter ( const ICharacter & c ) [virtual]
 

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 178 of file character.cpp.

bool NLAICHARACTER::CCharacterNoeud::canAddCharacter ( ) const [virtual]
 

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 184 of file character.cpp.

const NLAIC::IBasicType * NLAICHARACTER::CCharacterNoeud::clone ( void ) const [virtual]
 

This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 210 of file character.cpp.

void NLAICHARACTER::CCharacterNoeud::getDebugString ( char * 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.

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 206 of file character.cpp.

const NLAIC::CIdentType & NLAICHARACTER::CCharacterNoeud::getType ( void ) const [inline, 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).

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 122 of file character.h.

const ICharacter * NLAICHARACTER::CCharacterNoeud::haveCharacter ( const std::string & s ) const [virtual]
 

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 163 of file character.cpp.

void NLAICHARACTER::CCharacterNoeud::initClass ( ) [static]
 

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 235 of file character.cpp.

Referenced by NLAILINK::initIALib().

bool NLAICHARACTER::CCharacterNoeud::isEqual ( const NLAIAGENT::IBasicObjectIA & a ) const [virtual]
 

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 220 of file character.cpp.

void NLAICHARACTER::CCharacterNoeud::load ( NLMISC::IStream & is ) [virtual]
 

Load the class from a stream.

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 201 of file character.cpp.

const NLAIC::IBasicType * NLAICHARACTER::CCharacterNoeud::newInstance ( void ) const [virtual]
 

This function allow a new instance, that mean that the class is a class factory.

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 215 of file character.cpp.

void NLAICHARACTER::CCharacterNoeud::releaseClass ( ) [static]
 

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 243 of file character.cpp.

Referenced by NLAILINK::releaseIALib().

void NLAICHARACTER::CCharacterNoeud::save ( NLMISC::IStream & os ) [virtual]
 

Save the class in a stream.

Reimplemented from NLAICHARACTER::CCharacterChild.

Definition at line 189 of file character.cpp.


Member Data Documentation

const NLAIC::CIdentType * NLAICHARACTER::CCharacterNoeud::IDCharacterNoeud = NULL [static]
 

Definition at line 148 of file character.cpp.

std::list< ICharacter *> NLAICHARACTER::CCharacterNoeud::_Character [private]
 

Definition at line 102 of file character.h.


The documentation for this class was generated from the following files: