|
|
|
|
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 ReferenceThis 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 |
|
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 |
|
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) |
|
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 |
T | _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]
|
|
template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1> |
void NLAIAGENT::CIndexVariant<T, indexMax, maxT>::inc (
|
int n ) [inline, private]
|
|
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]
|
|
template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1> |
const CIndexVariant<T, indexMax, maxT> & NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator++ (
|
int ) [inline]
|
|
template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1> |
bool NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator< (
|
const CIndexVariant< T,indexMax,maxT >& a ) const [inline]
|
|
template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1> |
const CIndexVariant< T,indexMax,maxT >& NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator<<= (
|
sint a ) [inline]
|
|
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]
|
|
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]
|
|
template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1> |
bool NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator== (
|
const CIndexVariant< T,indexMax,maxT >& a ) const [inline]
|
|
template<classT = sint64, sint32indexMax = maxIndex, TmaxT = (T)-1> |
bool NLAIAGENT::CIndexVariant<T, indexMax, maxT>::operator> (
|
const CIndexVariant< T,indexMax,maxT >& a ) const [inline]
|
|
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]
|
|
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]
|
|
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]
|
|
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:
|
|