#include <ident.h>
Inheritance diagram for NLAIAGENT::CNumericIndex:
Nevrax France
Definition at line 327 of file ident.h.
Public Member Functions | |
CNumericIndex (NLMISC::IStream &is) | |
construct from a stream. | |
CNumericIndex (const char *id) | |
init with a string. | |
CNumericIndex (const CAgentNumber &i) | |
copy constructor. | |
CNumericIndex (const CNumericIndex &id) | |
CNumericIndex () | |
The constructor creat a new number by increment the _I numbre. | |
void | getDebugString (std::string &str) const |
const CAgentNumber & | getId () const |
void | load (NLMISC::IStream &is) |
loading the nomber from an input stream. | |
void | save (NLMISC::IStream &os) |
saving the nomber in an output stream. | |
void | setTypeAt (uint64 t) |
NLMISC::IStreamable method. | |
virtual std::string | getClassName () |
virtual void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
comparison of two CIndexVariant. | |
bool | operator< (const CNumericIndex &a) const |
bool | operator== (const CNumericIndex &a) const |
bool | operator> (const CNumericIndex &a) const |
Static Public Attributes | |
CAgentNumber | _I = CAgentNumber() |
Private Attributes | |
CAgentNumber | _Id |
|
The constructor creat a new number by increment the _I numbre.
Definition at line 344 of file ident.h.
00344 :_Id (_I++) 00345 { 00346 } |
|
Definition at line 348 of file ident.h. References id.
00348 : _Id(id._Id) 00349 { 00350 } |
|
copy constructor.
Definition at line 353 of file ident.h.
00353 :_Id (i) 00354 { 00355 } |
|
init with a string.
Definition at line 358 of file ident.h. References id.
00358 :_Id(id) 00359 { 00360 } |
|
construct from a stream.
Definition at line 364 of file ident.h.
00364 : _Id(is) 00365 { 00366 } |
|
Implements NLMISC::IClassable. Definition at line 410 of file ident.h.
00411 { 00412 return std::string("<CNumericIndex>"); 00413 } |
|
Definition at line 403 of file ident.h. References NLMISC::CEntityId::getDebugString(). Referenced by NLAIAGENT::CObjectIdent::getDebugString(), and NLAIAGENT::CLocWordNumRef::getDebugString().
00404 { 00405 _Id.getDebugString(str); 00406 } |
|
Definition at line 430 of file ident.h. Referenced by NLAIAGENT::IRefrence::getIdentType(), NLAIAGENT::IRefrence::IRefrence(), and NLAIAGENT::IRefrence::setTypeAt().
00431 { 00432 return _Id; 00433 } |
|
loading the nomber from an input stream.
Definition at line 398 of file ident.h. References NLMISC::CEntityId::load(). Referenced by NLAIAGENT::CObjectIdent::load(), NLAIAGENT::CLocWordNumRef::load(), and serial().
00399 { 00400 _Id.load(is); 00401 } |
|
Definition at line 380 of file ident.h. References _Id.
00381 { 00382 return _Id < a._Id; 00383 } |
|
Definition at line 375 of file ident.h. References _Id.
00376 { 00377 return _Id == a._Id; 00378 } |
|
Definition at line 385 of file ident.h. References _Id.
00386 { 00387 return _Id > a._Id; 00388 } |
|
saving the nomber in an output stream.
Definition at line 392 of file ident.h. References NLMISC::CEntityId::save(). Referenced by NLAIAGENT::CObjectIdent::save(), NLAIAGENT::CLocWordNumRef::save(), and serial().
00393 { 00394 _Id.save(os); 00395 } |
|
Implements NLMISC::IStreamable. Definition at line 415 of file ident.h. References load(), and save().
|
|
Definition at line 368 of file ident.h. References NLAIAGENT::CAgentNumber::setTypeAt(), t, and uint64. Referenced by NLAIAGENT::CLocWordNumRef::setTypeAt().
00369 { 00370 _Id.setTypeAt(t); 00371 } |
|
Definition at line 54 of file static_def_init.cpp. |
|
Definition at line 341 of file ident.h. Referenced by operator<(), operator==(), and operator>(). |