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

#include <OCLContext.h>

Inheritance diagram for OclCommon::RealContext< TItem >:
Inheritance graph
[legend]
Collaboration diagram for OclCommon::RealContext< TItem >:
Collaboration graph
[legend]

List of all members.

Classes

struct  CItem_tag
struct  StoreItem

Public Types

typedef struct
OclCommon::RealContext::CItem_tag 
CItem
typedef std::vector< CItemCItemVector

Public Member Functions

 RealContext (Context::ContextType eType)
RealContext< TItem > & operator= (const RealContext< TItem > &object)
bool ExistsVariable (const std::string &strName) const
bool GetVariable (const std::string &strName, TItem &object) const
bool AddVariable (const std::string &strName, const TItem &object, bool bAssignable=false)
bool IsAssignable (const std::string &strName, bool &bAssignable) const
bool RemoveVariable (const std::string &strName)
bool SetVariable (const std::string &strName, const TItem &object)
CItemVector GetState () const

Detailed Description

template<class TItem>
class OclCommon::RealContext< TItem >

Definition at line 65 of file OCLContext.h.


Member Typedef Documentation

template<class TItem>
typedef struct OclCommon::RealContext::CItem_tag OclCommon::RealContext< TItem >::CItem
template<class TItem>
typedef std::vector< CItem > OclCommon::RealContext< TItem >::CItemVector

Definition at line 70 of file OCLContext.h.


Constructor & Destructor Documentation

template<class TItem>
OclCommon::RealContext< TItem >::RealContext ( Context::ContextType  eType) [inline]

Definition at line 81 of file OCLContext.h.


Member Function Documentation

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

Definition at line 109 of file OCLContext.h.

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

Definition at line 94 of file OCLContext.h.

template<class TItem>
CItemVector OclCommon::RealContext< TItem >::GetState ( ) const [inline]

Definition at line 158 of file OCLContext.h.

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

Definition at line 100 of file OCLContext.h.

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

Definition at line 124 of file OCLContext.h.

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

Definition at line 86 of file OCLContext.h.

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

Definition at line 133 of file OCLContext.h.

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

Definition at line 142 of file OCLContext.h.


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