IterationPack::CastIQMemberBase Class Reference

Base class for some of the implementation features of CastIQMember. More...

#include <IterationPack_CastIQMember.hpp>

Inheritance diagram for IterationPack::CastIQMemberBase:

[legend]
List of all members.

Public Member Functions

const std::string & iq_name () const
 Name returns the name of the iteration quantity.
bool exists_in (const AlgorithmState &s) const
 Returns if the iteration quantity exists in the state object.

Protected Member Functions

 CastIQMemberBase (const std::string iq_name)
 
void cache_iq_id (const AlgorithmState &s) const
 
void throw_cast_error (const AlgorithmState::iq_id_type iq_id, const std::string &iqa_name) const
 

Protected Attributes

const std::string iq_name_
 
AlgorithmState::iq_id_type iq_id_
 

Detailed Description

Base class for some of the implementation features of CastIQMember.

This class is included to avoid code blot with the templates.

Definition at line 45 of file IterationPack_CastIQMember.hpp.


Constructor & Destructor Documentation

IterationPack::CastIQMemberBase::CastIQMemberBase ( const std::string  iq_name  )  [protected]

Definition at line 37 of file IterationPack_CastIQMember.cpp.


Member Function Documentation

const std::string & IterationPack::CastIQMemberBase::iq_name (  )  const

Name returns the name of the iteration quantity.

Definition at line 42 of file IterationPack_CastIQMember.cpp.

bool IterationPack::CastIQMemberBase::exists_in ( const AlgorithmState s  )  const

Returns if the iteration quantity exists in the state object.

Definition at line 48 of file IterationPack_CastIQMember.cpp.

void IterationPack::CastIQMemberBase::cache_iq_id ( const AlgorithmState s  )  const [protected]

Definition at line 54 of file IterationPack_CastIQMember.cpp.

void IterationPack::CastIQMemberBase::throw_cast_error ( const AlgorithmState::iq_id_type  iq_id,
const std::string &  iqa_name 
) const [protected]

Definition at line 61 of file IterationPack_CastIQMember.cpp.


Member Data Documentation

const std::string IterationPack::CastIQMemberBase::iq_name_ [protected]

Definition at line 61 of file IterationPack_CastIQMember.hpp.

AlgorithmState::iq_id_type IterationPack::CastIQMemberBase::iq_id_ [mutable, protected]

Definition at line 63 of file IterationPack_CastIQMember.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:50:40 2009 for IterationPack: General framework for building iterative algorithms by doxygen 1.4.7