# 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::CCharacterChild Class Reference

#include <character.h>

Inheritance diagram for NLAICHARACTER::CCharacterChild:

NLAICHARACTER::ICharacter NLAIAGENT::IRefrence NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAICHARACTER::CCharacterNoeud List of all members.

Public Methods

 CCharacterChild (const std::string &name)
 CCharacterChild (const CCharacterChild &name)
virtual ~CCharacterChild ()
virtual void setName (const std::string &name)
virtual const std::string & getName () const
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 (std::string &) 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
virtual const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...


Static Public Methods

void initClass ()
void releaseClass ()

Static Public Attributes

const NLAIC::CIdentTypeIDCharacterChild = NULL

Private Attributes

std::string _Name

Constructor & Destructor Documentation

NLAICHARACTER::CCharacterChild::CCharacterChild const std::string &    name [inline]
 

Definition at line 64 of file character.h.

References _Name.

Referenced by NLAICHARACTER::CCharacterNoeud::CCharacterNoeud, clone, initClass, and newInstance.

NLAICHARACTER::CCharacterChild::CCharacterChild const CCharacterChild &    name
 

Definition at line 68 of file character.cpp.

NLAICHARACTER::CCharacterChild::~CCharacterChild   [virtual]
 

Definition at line 71 of file character.cpp.


Member Function Documentation

bool NLAICHARACTER::CCharacterChild::addCharacter const ICharacter   [virtual]
 

Implements NLAICHARACTER::ICharacter.

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 87 of file character.cpp.

bool NLAICHARACTER::CCharacterChild::canAddCharacter   const [virtual]
 

Implements NLAICHARACTER::ICharacter.

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 83 of file character.cpp.

const NLAIC::IBasicType * NLAICHARACTER::CCharacterChild::clone   const [virtual]
 

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

Implements NLAIC::IBasicType.

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 108 of file character.cpp.

References CCharacterChild.

void NLAICHARACTER::CCharacterChild::getDebugString std::string &    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 104 of file character.cpp.

virtual const std::string& NLAICHARACTER::CCharacterChild::getName   const [inline, virtual]
 

Implements NLAICHARACTER::ICharacter.

Definition at line 73 of file character.h.

References _Name.

Referenced by NLAICHARACTER::CCharacterNoeud::haveCharacter, and NLAICHARACTER::CCharacterNoeud::newInstance.

virtual const NLAIC::CIdentType& NLAICHARACTER::CCharacterChild::getType   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).

Implements NLAIC::IBasicType.

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 87 of file character.h.

const ICharacter * NLAICHARACTER::CCharacterChild::haveCharacter const std::string &    const [virtual]
 

Implements NLAICHARACTER::ICharacter.

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 75 of file character.cpp.

References _Name, NLAIAGENT::IRefrence::getParent, NLAICHARACTER::ICharacter::ICharacter, and s.

void NLAICHARACTER::CCharacterChild::initClass   [static]
 

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 129 of file character.cpp.

References CCharacterChild, IDCharacterChild, NLAIC::CTypeOfOperator::opNone, and NLAIC::CTypeOfObject::tObject.

bool NLAICHARACTER::CCharacterChild::isEqual const NLAIAGENT::IBasicObjectIA   a const [virtual]
 

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 118 of file character.cpp.

References _Name, and NLAICHARACTER::ICharacter::ICharacter.

void NLAICHARACTER::CCharacterChild::load NLMISC::IStream   is [virtual]
 

Load the class from a stream.

Implements NLAIAGENT::IRefrence.

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 98 of file character.cpp.

References _Name, and NLMISC::IStream::serial.

const NLAIC::IBasicType * NLAICHARACTER::CCharacterChild::newInstance   const [virtual]
 

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

Implements NLAIC::IBasicType.

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 113 of file character.cpp.

References CCharacterChild.

void NLAICHARACTER::CCharacterChild::releaseClass   [static]
 

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 137 of file character.cpp.

References IDCharacterChild.

const NLAIAGENT::IObjectIA::CProcessResult & NLAICHARACTER::CCharacterChild::run   [virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 124 of file character.cpp.

References NLAIAGENT::IObjectIA::ProcessRun.

void NLAICHARACTER::CCharacterChild::save NLMISC::IStream   os [virtual]
 

Save the class in a stream.

Implements NLAIAGENT::IRefrence.

Reimplemented in NLAICHARACTER::CCharacterNoeud.

Definition at line 92 of file character.cpp.

References _Name, and NLMISC::IStream::serial.

virtual void NLAICHARACTER::CCharacterChild::setName const std::string &    name [inline, virtual]
 

Implements NLAICHARACTER::ICharacter.

Definition at line 68 of file character.h.

References _Name.


Member Data Documentation

std::string NLAICHARACTER::CCharacterChild::_Name [private]
 

Definition at line 59 of file character.h.

Referenced by CCharacterChild, getName, haveCharacter, isEqual, load, save, and setName.

const NLAIC::CIdentType * NLAICHARACTER::CCharacterChild::IDCharacterChild = NULL [static]
 

Definition at line 67 of file character.cpp.

Referenced by NLAICHARACTER::CCharacterNoeud::getType, initClass, and releaseClass.


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