polybori::groebner::PolyEntryIndices Class Reference

This class defines PolyEntryIndices. More...

#include <PolyEntryIndices.h>

List of all members.

Public Types

typedef Monomial::idx_map_type lm2Index_map_type
typedef Exponent::idx_map_type exp2Index_map_type
typedef
lm2Index_map_type::value_type 
value_type
typedef value_type::second_type data_type

Public Member Functions

 PolyEntryIndices ()
void insert (const PolyEntry &entry, const data_type &rhs)
 Consistently inserting element.
void update (const Monomial &key, const PolyEntry &entry)
 Consistently replacing keys.
template<class KeyType>
data_type operator() (const KeyType &key) const
 Lookup indices.
template<class KeyType>
data_type checked (const KeyType &key) const
 Savely looking up indices, returns -1 if key is invalid.

Protected Member Functions

template<class CheckType>
data_type get (data_type key, CheckType) const
template<class CheckType>
data_type get (const Exponent &key, CheckType dummy) const
template<class CheckType>
data_type get (const Monomial &key, CheckType dummy) const
template<class CheckType>
data_type get (const PolyEntry &key, CheckType dummy) const
template<class MapType, class KeyType>
data_type get (const MapType &map, const KeyType &key, check) const
template<class MapType, class KeyType>
data_type get (const MapType &map, const KeyType &key, uncheck) const

Classes

class  check
class  uncheck


Detailed Description

This class defines PolyEntryIndices.

Member Typedef Documentation

typedef lm2Index_map_type::value_type polybori::groebner::PolyEntryIndices::value_type

typedef value_type::second_type polybori::groebner::PolyEntryIndices::data_type


Constructor & Destructor Documentation

polybori::groebner::PolyEntryIndices::PolyEntryIndices (  )  [inline]


Member Function Documentation

void polybori::groebner::PolyEntryIndices::insert ( const PolyEntry entry,
const data_type rhs 
) [inline]

Consistently inserting element.

Todo:
for some reason not inlinable

References polybori::groebner::PolyEntryBase::lead, and polybori::groebner::PolyEntryBase::leadExp.

void polybori::groebner::PolyEntryIndices::update ( const Monomial key,
const PolyEntry entry 
) [inline]

template<class KeyType>
data_type polybori::groebner::PolyEntryIndices::operator() ( const KeyType &  key  )  const [inline]

Lookup indices.

Note:
could fail for invalid keys

template<class KeyType>
data_type polybori::groebner::PolyEntryIndices::checked ( const KeyType &  key  )  const [inline]

Savely looking up indices, returns -1 if key is invalid.

template<class CheckType>
data_type polybori::groebner::PolyEntryIndices::get ( data_type  key,
CheckType   
) const [inline, protected]

template<class CheckType>
data_type polybori::groebner::PolyEntryIndices::get ( const Exponent key,
CheckType  dummy 
) const [inline, protected]

template<class CheckType>
data_type polybori::groebner::PolyEntryIndices::get ( const Monomial key,
CheckType  dummy 
) const [inline, protected]

template<class CheckType>
data_type polybori::groebner::PolyEntryIndices::get ( const PolyEntry key,
CheckType  dummy 
) const [inline, protected]

template<class MapType, class KeyType>
data_type polybori::groebner::PolyEntryIndices::get ( const MapType &  map,
const KeyType &  key,
check   
) const [inline, protected]

References PBORI_ASSERT.

template<class MapType, class KeyType>
data_type polybori::groebner::PolyEntryIndices::get ( const MapType &  map,
const KeyType &  key,
uncheck   
) const [inline, protected]

References PBORI_ASSERT.


The documentation for this class was generated from the following file:

Generated on Wed Jan 30 16:39:54 2013 for PolyBoRi by  doxygen 1.5.6