From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/class_NLAIAGENT__CIndexVariant.html | 904 +++++++++++++++++++++ 1 file changed, 904 insertions(+) create mode 100644 docs/doxygen/nel/class_NLAIAGENT__CIndexVariant.html (limited to 'docs/doxygen/nel/class_NLAIAGENT__CIndexVariant.html') diff --git a/docs/doxygen/nel/class_NLAIAGENT__CIndexVariant.html b/docs/doxygen/nel/class_NLAIAGENT__CIndexVariant.html new file mode 100644 index 00000000..0c92d3ce --- /dev/null +++ b/docs/doxygen/nel/class_NLAIAGENT__CIndexVariant.html @@ -0,0 +1,904 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::CIndexVariant Template Class Reference

This class is a basic hi nomber manipulation. +More... +

+#include <ident.h> +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CIndexVariant (const CIndexVariant<T,indexMax,maxT> &a)
 Copy contructor. More...

 CIndexVariant (const T *id)
 fill with a table. More...

 CIndexVariant (T n)
 Initializ by an value. More...

 CIndexVariant (NLMISC::IStream &is)
 fill from read stream. More...

const CIndexVariant& operator++ (int)
 throw (NLAIE::CExceptionIndexError). More...

void save (NLMISC::IStream &os)
 saving the nomber in an output stream. More...

void load (NLMISC::IStream &is)
 loading the nomber from an input stream. More...

void getDebugString (char *str) const
 Have a debug string. More...

sint32 getMaxIndex () const
comparison of two CIndexVariant.
bool operator== (const CIndexVariant<T,indexMax,maxT> &a) const
bool operator< (const CIndexVariant<T,indexMax,maxT> &a) const
bool operator> (const CIndexVariant<T,indexMax,maxT> &a) const
Binary method.
const CIndexVariant<T,indexMax,
+maxT>& 
operator|= (const CIndexVariant<T,indexMax,maxT> &a)
const CIndexVariant<T,indexMax,
+maxT>& 
operator &= (const CIndexVariant<T,indexMax,maxT> &a)
const CIndexVariant<T,indexMax,
+maxT>& 
operator^= (const CIndexVariant<T,indexMax,maxT> &a)
Assignment method.
const CIndexVariant<T,indexMax,
+maxT>& 
operator= (const CIndexVariant<T,indexMax,maxT> &a)
const CIndexVariant<T,indexMax,
+maxT>& 
operator= (T a)
const CIndexVariant<T,indexMax,
+maxT>& 
operator>>= (sint a)
const CIndexVariant<T,indexMax,
+maxT>& 
operator<<= (sint a)

Protected Attributes

_Id [indexMax]
 _Id is a table were is store the number. More...


Private Methods

void inc (int n)
 throw (NLAIE::CExceptionIndexError). More...

+


Detailed Description

+

template<class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1> template class NLAIAGENT::CIndexVariant

+ +This class is a basic hi nomber manipulation. +

+An index variant is an maxIndex*64 bit number. +

+The resolution of the number is define by the template argument indexMax. By default the number is initialed with a 128 bits resolution.

+Author(s):
+ Chafik sameh , Robert Gabriel , Nevrax France
+Date:
+ 2000
+

+ +

+Definition at line 51 of file ident.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+NLAIAGENT::CIndexVariant<T, indexMax, maxT>::CIndexVariant<T, indexMax, maxT> ( + +const CIndexVariant< T,indexMax,maxT >& a ) [inline] +
+
+ + + + + +
+   + + +

+Copy contructor. +

+ +

+Definition at line 84 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+NLAIAGENT::CIndexVariant<T, indexMax, maxT>::CIndexVariant<T, indexMax, maxT> ( + +const T * id ) [inline] +
+
+ + + + + +
+   + + +

+fill with a table. +

+ +

+Definition at line 90 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+NLAIAGENT::CIndexVariant<T, indexMax, maxT>::CIndexVariant<T, indexMax, maxT> ( + +T n ) [inline] +
+
+ + + + + +
+   + + +

+Initializ by an value. +

+ +

+Definition at line 99 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+NLAIAGENT::CIndexVariant<T, indexMax, maxT>::CIndexVariant<T, indexMax, maxT> ( + +NLMISC::IStream & is ) [inline] +
+
+ + + + + +
+   + + +

+fill from read stream. +

+ +

+Definition at line 110 of file ident.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+void NLAIAGENT::CIndexVariant<T, indexMax, maxT>::getDebugString ( + +char * str ) const [inline] +
+
+ + + + + +
+   + + +

+Have a debug string. +

+ +

+Definition at line 286 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+sint32 NLAIAGENT::CIndexVariant<T, indexMax, maxT>::getMaxIndex ( + +) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 311 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+void NLAIAGENT::CIndexVariant<T, indexMax, maxT>::inc ( + +int n ) [inline, private] +
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionIndexError). +

+It's call from the ++ operator. If the number id overflow the NLAIE::CExceptionIndexError is emited.

+Parameters:
+ + +
n + The first index to increment.
+
+

+Definition at line 64 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+void NLAIAGENT::CIndexVariant<T, indexMax, maxT>::load ( + +NLMISC::IStream & is ) [inline] +
+
+ + + + + +
+   + + +

+loading the nomber from an input stream. +

+ +

+Definition at line 267 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+const CIndexVariant< T,indexMax,maxT >& NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator &=<T,indexMax,maxT> ( + +const CIndexVariant< T,indexMax,maxT >& a ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 171 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+const CIndexVariant<T, indexMax, maxT> & NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator++ ( + +int ) [inline] +
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionIndexError). +

+ +

+Definition at line 116 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+bool NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator< ( + +const CIndexVariant< T,indexMax,maxT >& a ) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 141 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+const CIndexVariant< T,indexMax,maxT >& NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator<<= ( + +sint a ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 229 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+const CIndexVariant< T,indexMax,maxT >& NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator=<T,indexMax,maxT> ( + +T a ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 201 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+const CIndexVariant< T,indexMax,maxT >& NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator= ( + +const CIndexVariant< T,indexMax,maxT >& a ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 192 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+bool NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator== ( + +const CIndexVariant< T,indexMax,maxT >& a ) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 131 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+bool NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator> ( + +const CIndexVariant< T,indexMax,maxT >& a ) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 150 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+const CIndexVariant< T,indexMax,maxT >& NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator>>=<T,indexMax,maxT> ( + +sint a ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 208 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+const CIndexVariant< T,indexMax,maxT >& NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator^=<T,indexMax,maxT> ( + +const CIndexVariant< T,indexMax,maxT >& a ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 180 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+const CIndexVariant< T,indexMax,maxT >& NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator|= ( + +const CIndexVariant< T,indexMax,maxT >& a ) [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 163 of file ident.h.

+

+ + + + +
+ + + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+void NLAIAGENT::CIndexVariant<T, indexMax, maxT>::save ( + +NLMISC::IStream & os ) [inline] +
+
+ + + + + +
+   + + +

+saving the nomber in an output stream. +

+ +

+Definition at line 254 of file ident.h.

+


Member Data Documentation

+

+ + + + +
+ + + + + + + + +
+template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1>
+T NLAIAGENT::CIndexVariant<T, indexMax, maxT>::_Id[indexMax] [protected] +
+
+ + + + + +
+   + + +

+_Id is a table were is store the number. +

+ +

+Definition at line 55 of file ident.h.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1