GME  13
Public Types | Public Member Functions
OclCommon::ContextStack< TItem > Class Template Reference

#include <OCLContext.h>

List of all members.

Public Types

typedef RealContext< TItem >::CItem StateItem
typedef std::vector< StateItemStateItemVector

Public Member Functions

 ContextStack ()
ContextStack< TItem > & operator= (const ContextStack< TItem > &object)
void AddContext (Context::ContextType eType)
bool RemoveContext ()
bool ExistsVariable (const std::string &strName) const
bool GetVariable (const std::string &strName, TItem &object) const
bool IsAssignable (const std::string &strName, bool &bAssignable) const
bool AddVariable (const std::string &strName, const TItem &object, bool bAssignable=false, bool bRedefine=false)
bool RemoveVariable (const std::string &strName)
bool SetVariable (const std::string &strName, const TItem &object)
StateItemVector GetState () const

Detailed Description

template<class TItem>
class OclCommon::ContextStack< TItem >

Definition at line 207 of file OCLContext.h.


Member Typedef Documentation

template<class TItem>
typedef RealContext< TItem >::CItem OclCommon::ContextStack< TItem >::StateItem

Definition at line 210 of file OCLContext.h.

template<class TItem>
typedef std::vector< StateItem > OclCommon::ContextStack< TItem >::StateItemVector

Definition at line 211 of file OCLContext.h.


Constructor & Destructor Documentation

template<class TItem>
OclCommon::ContextStack< TItem >::ContextStack ( ) [inline]

Definition at line 221 of file OCLContext.h.


Member Function Documentation

template<class TItem>
void OclCommon::ContextStack< TItem >::AddContext ( Context::ContextType  eType) [inline]

Definition at line 233 of file OCLContext.h.

template<class TItem>
bool OclCommon::ContextStack< TItem >::AddVariable ( const std::string strName,
const TItem &  object,
bool  bAssignable = false,
bool  bRedefine = false 
) [inline]

Definition at line 282 of file OCLContext.h.

template<class TItem>
bool OclCommon::ContextStack< TItem >::ExistsVariable ( const std::string strName) const [inline]

Definition at line 249 of file OCLContext.h.

template<class TItem>
StateItemVector OclCommon::ContextStack< TItem >::GetState ( ) const [inline]

Definition at line 313 of file OCLContext.h.

template<class TItem>
bool OclCommon::ContextStack< TItem >::GetVariable ( const std::string strName,
TItem &  object 
) const [inline]

Definition at line 260 of file OCLContext.h.

template<class TItem>
bool OclCommon::ContextStack< TItem >::IsAssignable ( const std::string strName,
bool &  bAssignable 
) const [inline]

Definition at line 271 of file OCLContext.h.

template<class TItem>
ContextStack<TItem>& OclCommon::ContextStack< TItem >::operator= ( const ContextStack< TItem > &  object) [inline]

Definition at line 226 of file OCLContext.h.

template<class TItem>
bool OclCommon::ContextStack< TItem >::RemoveContext ( ) [inline]

Definition at line 238 of file OCLContext.h.

template<class TItem>
bool OclCommon::ContextStack< TItem >::RemoveVariable ( const std::string strName) [inline]

Definition at line 291 of file OCLContext.h.

template<class TItem>
bool OclCommon::ContextStack< TItem >::SetVariable ( const std::string strName,
const TItem &  object 
) [inline]

Definition at line 302 of file OCLContext.h.


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