This template class defines a storage type for monomial indices and customizable "pretty" printing. More...
#include <CIdxPath.h>
Public Types | |
typedef std::vector< idx_type > | base |
Type of base class. | |
typedef SeparatorType | separator_type |
Type used to generate a string for separating elements. | |
typedef CIdxPath< idx_type, separator_type > | self |
String-like type for separator. | |
typedef base::size_type | size_type |
Type for sizes. | |
Adopt global type definitions | |
typedef IdxType | idx_type |
typedef CTypes::ostream_type | ostream_type |
Public Member Functions | |
CIdxPath () | |
Default constructor. | |
CIdxPath (size_type nlen) | |
Construct storage for nlen indices. | |
CIdxPath (const self &rhs) | |
Copy constructor. | |
~CIdxPath () | |
Destructor. | |
ostream_type & | print (ostream_type &os) const |
Print to out-stream. |
This template class defines a storage type for monomial indices and customizable "pretty" printing.
typedef std::vector<idx_type> CIdxPath< IdxType, SeparatorType >::base |
Type of base class.
typedef IdxType CIdxPath< IdxType, SeparatorType >::idx_type |
typedef CTypes::ostream_type CIdxPath< IdxType, SeparatorType >::ostream_type |
typedef CIdxPath<idx_type, separator_type> CIdxPath< IdxType, SeparatorType >::self |
String-like type for separator.
Type of *this
typedef SeparatorType CIdxPath< IdxType, SeparatorType >::separator_type |
Type used to generate a string for separating elements.
typedef base::size_type CIdxPath< IdxType, SeparatorType >::size_type |
Type for sizes.
CIdxPath< IdxType, SeparatorType >::CIdxPath | ( | ) | [inline] |
Default constructor.
CIdxPath< IdxType, SeparatorType >::CIdxPath | ( | size_type | nlen | ) | [inline] |
Construct storage for nlen indices.
CIdxPath< IdxType, SeparatorType >::CIdxPath | ( | const self & | rhs | ) | [inline] |
Copy constructor.
CIdxPath< IdxType, SeparatorType >::~CIdxPath | ( | ) | [inline] |
Destructor.
ostream_type& CIdxPath< IdxType, SeparatorType >::print | ( | ostream_type & | os | ) | const [inline] |
Print to out-stream.
References special_first_transform().