CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
CASM::PTIterator< PTType, IsConst > Class Template Reference

#include <PolyTrie.hh>

Detailed Description

template<typename PTType, bool IsConst>
class CASM::PTIterator< PTType, IsConst >

Definition at line 37 of file PolyTrie.hh.

Public Types

typedef CASM_TMP::ConstSwitch
< IsConst, typename
PTType::leaf_type > 
leaf_type
 
typedef CASM_TMP::ConstSwitch
< IsConst, typename
PTType::value_type > * 
pointer
 
typedef CASM_TMP::ConstSwitch
< IsConst, typename
PTType::value_type > & 
reference
 

Public Member Functions

 PTIterator (leaf_type *_leaf_ptr=0)
 
 PTIterator (const PTIterator< PTType, false > &_it)
 
template<bool IsConst2>
bool operator== (const PTIterator< PTType, IsConst2 > &_it)
 
template<bool IsConst2>
bool operator!= (const PTIterator< PTType, IsConst2 > &_it)
 
PTIteratoroperator++ ()
 
PTIterator operator++ (int)
 
PTIteratorremove_and_next ()
 
reference operator* ()
 
pointer operator-> ()
 
const Array< Index > & key ()
 
leaf_typeleaf_ptr () const
 

Private Attributes

leaf_typem_curr_leaf_ptr
 

Member Typedef Documentation

template<typename PTType , bool IsConst>
typedef CASM_TMP::ConstSwitch<IsConst, typename PTType::leaf_type> CASM::PTIterator< PTType, IsConst >::leaf_type

Definition at line 299 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
typedef CASM_TMP::ConstSwitch<IsConst, typename PTType::value_type>* CASM::PTIterator< PTType, IsConst >::pointer

Definition at line 300 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
typedef CASM_TMP::ConstSwitch<IsConst, typename PTType::value_type>& CASM::PTIterator< PTType, IsConst >::reference

Definition at line 301 of file PolyTrie.hh.

Constructor & Destructor Documentation

template<typename PTType , bool IsConst>
CASM::PTIterator< PTType, IsConst >::PTIterator ( leaf_type _leaf_ptr = 0)
inline

Definition at line 307 of file PolyTrie.hh.

Member Function Documentation

template<typename PTType , bool IsConst>
const Array<Index>& CASM::PTIterator< PTType, IsConst >::key ( )
inline

Definition at line 342 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
leaf_type* CASM::PTIterator< PTType, IsConst >::leaf_ptr ( ) const
inline

Definition at line 346 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
template<bool IsConst2>
bool CASM::PTIterator< PTType, IsConst >::operator!= ( const PTIterator< PTType, IsConst2 > &  _it)
inline

Definition at line 316 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
reference CASM::PTIterator< PTType, IsConst >::operator* ( )
inline

Definition at line 336 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
PTIterator& CASM::PTIterator< PTType, IsConst >::operator++ ( )
inline

Definition at line 320 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
PTIterator CASM::PTIterator< PTType, IsConst >::operator++ ( int  )
inline

Definition at line 325 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
pointer CASM::PTIterator< PTType, IsConst >::operator-> ( )
inline

Definition at line 339 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
template<bool IsConst2>
bool CASM::PTIterator< PTType, IsConst >::operator== ( const PTIterator< PTType, IsConst2 > &  _it)
inline

Definition at line 311 of file PolyTrie.hh.

template<typename PTType , bool IsConst>
PTIterator& CASM::PTIterator< PTType, IsConst >::remove_and_next ( )
inline

Definition at line 331 of file PolyTrie.hh.

Member Data Documentation

template<typename PTType , bool IsConst>
leaf_type* CASM::PTIterator< PTType, IsConst >::m_curr_leaf_ptr
private

Definition at line 304 of file PolyTrie.hh.


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