This template class defines a storage type for one monomial index and customizable "pretty" printing. More...
#include <CIdxVariable.h>
Public Types | |
typedef CIdxVariable< idx_type, VarNameLit, VarHeadLit, VarTailLit > | self |
Type of *this. | |
Adopt global type definitions | |
typedef IdxType | idx_type |
typedef CTypes::ostream_type | ostream_type |
Public Member Functions | |
CIdxVariable (idx_type idx_=0) | |
Construct storage for nlen indices. | |
CIdxVariable (const self &rhs) | |
Copy constructor. | |
~CIdxVariable () | |
Destructor. | |
ostream_type & | print (ostream_type &os) const |
Print to out-stream. | |
Protected Attributes | |
idx_type | idx |
This template class defines a storage type for one monomial index and customizable "pretty" printing.
typedef IdxType CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::idx_type |
typedef CTypes::ostream_type CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::ostream_type |
typedef CIdxVariable<idx_type, VarNameLit, VarHeadLit, VarTailLit> CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::self |
Type of *this.
CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::CIdxVariable | ( | idx_type | idx_ = 0 |
) | [inline] |
Construct storage for nlen indices.
CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::CIdxVariable | ( | const self & | rhs | ) | [inline] |
Copy constructor.
CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::~CIdxVariable | ( | ) | [inline] |
Destructor.
ostream_type& CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::print | ( | ostream_type & | os | ) | const [inline] |
Print to out-stream.
References CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::idx.
idx_type CIdxVariable< IdxType, VarNameLit, VarHeadLit, VarTailLit >::idx [protected] |