From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02995.html | 725 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 725 insertions(+) create mode 100644 docs/doxygen/nel/a02995.html (limited to 'docs/doxygen/nel/a02995.html') diff --git a/docs/doxygen/nel/a02995.html b/docs/doxygen/nel/a02995.html new file mode 100644 index 00000000..fea15e28 --- /dev/null +++ b/docs/doxygen/nel/a02995.html @@ -0,0 +1,725 @@ + + +NeL: NLAIAGENT::CNumericIndex class Reference + + + +
+

NLAIAGENT::CNumericIndex Class Reference

#include <ident.h> +

+

Inheritance diagram for NLAIAGENT::CNumericIndex: +

+ +NLMISC::IStreamable +NLMISC::IClassable + +

Detailed Description

+Generator of unique ident for objects.

+

Author:
Chafik sameh

+Nevrax France

+
Date:
2000
+ +

+ +

+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 CAgentNumbergetId () 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
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLAIAGENT::CNumericIndex::CNumericIndex  )  [inline]
+
+ + + + + +
+   + + +

+The constructor creat a new number by increment the _I numbre. +

+ +

+Definition at line 344 of file ident.h. +

+

00344                                :_Id (_I++)
+00345                 {                       
+00346                 }
+
+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::CNumericIndex::CNumericIndex const CNumericIndex id  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 348 of file ident.h. +

+References id. +

+

00348                                                       : _Id(id._Id)
+00349                 {
+00350                 }
+
+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::CNumericIndex::CNumericIndex const CAgentNumber i  )  [inline]
+
+ + + + + +
+   + + +

+copy constructor. +

+ +

+Definition at line 353 of file ident.h. +

+

00353                                                     :_Id (i)
+00354                 {                       
+00355                 }               
+
+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::CNumericIndex::CNumericIndex const char *  id  )  [inline]
+
+ + + + + +
+   + + +

+init with a string. +

+ +

+Definition at line 358 of file ident.h. +

+References id. +

+

00358                                              :_Id(id)
+00359                 {
+00360                 }
+
+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::CNumericIndex::CNumericIndex NLMISC::IStream is  )  [inline]
+
+ + + + + +
+   + + +

+construct from a stream. +

+ +

+Definition at line 364 of file ident.h. +

+

00364                                                 : _Id(is)
+00365                 {
+00366                 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
virtual std::string NLAIAGENT::CNumericIndex::getClassName  )  [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLMISC::IClassable. +

+Definition at line 410 of file ident.h. +

+

00411                 {
+00412                         return std::string("<CNumericIndex>");
+00413                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CNumericIndex::getDebugString std::string &  str  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+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                 }
+
+

+ + + + +
+ + + + + + + + + +
const CAgentNumber& NLAIAGENT::CNumericIndex::getId  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+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                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CNumericIndex::load NLMISC::IStream is  )  [inline]
+
+ + + + + +
+   + + +

+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                 }               
+
+

+ + + + +
+ + + + + + + + + + +
bool NLAIAGENT::CNumericIndex::operator< const CNumericIndex a  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 380 of file ident.h. +

+References _Id. +

+

00381                 {
+00382                         return _Id < a._Id;
+00383                 }
+
+

+ + + + +
+ + + + + + + + + + +
bool NLAIAGENT::CNumericIndex::operator== const CNumericIndex a  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 375 of file ident.h. +

+References _Id. +

+

00376                 {
+00377                         return _Id == a._Id;
+00378                 }
+
+

+ + + + +
+ + + + + + + + + + +
bool NLAIAGENT::CNumericIndex::operator> const CNumericIndex a  )  const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 385 of file ident.h. +

+References _Id. +

+

00386                 {
+00387                         return _Id > a._Id;
+00388                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CNumericIndex::save NLMISC::IStream os  )  [inline]
+
+ + + + + +
+   + + +

+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                 }
+
+

+ + + + +
+ + + + + + + + + + +
virtual void NLAIAGENT::CNumericIndex::serial NLMISC::IStream f  )  throw (NLMISC::EStream) [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLMISC::IStreamable. +

+Definition at line 415 of file ident.h. +

+References load(), and save(). +

+

00416                 {
+00417                         if(f.isReading())
+00418                         {
+00419                                 load(f);
+00420                         }
+00421                         else
+00422                         {                               
+00423                                 save(f);
+00424                         }
+00425 
+00426                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::CNumericIndex::setTypeAt uint64  t  )  [inline]
+
+ + + + + +
+   + + +

+ +

+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                 }
+
+


Field Documentation

+

+ + + + +
+ + +
CAgentNumber CNumericIndex::_I = CAgentNumber() [static] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 54 of file static_def_init.cpp.

+

+ + + + +
+ + +
CAgentNumber NLAIAGENT::CNumericIndex::_Id [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 341 of file ident.h. +

+Referenced by operator<(), operator==(), and operator>().

+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 09:26:37 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1