Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::meta::Context< StorageType > Class Template Reference

Context class. More...

+ Collaboration diagram for Feel::meta::Context< StorageType >:

Public Types

typedef StorageType storage_type
 

Methods

class boost::serialization::access
 
bool test (storage_type b) const
 
template<typename T >
bool test (T b) const
 
void set (storage_type b)
 
void set (storage_type b, bool v)
 
void clear (storage_type b)
 
void reset ()
 

Constructors, destructor

 Context (storage_type c)
 default constructor More...
 
 Context (Context const &c)
 copy constructor
 
 ~Context ()
 destructor
 

Operator overloads

Context & operator= (Context const &__c)
 assignment operator More...
 
Context & operator= (storage_type __c)
 assignment operator More...
 
storage_type operator() () const
 get the context More...
 

Accessors

storage_type context () const
 get context value More...
 

Mutators

void setContext (storage_type __v)
 set context value More...
 

Detailed Description

template<typename StorageType>
class Feel::meta::Context< StorageType >

Context class.

Author
Christophe Prud'homme

Constructor & Destructor Documentation

◆ Context()

template<typename StorageType >
Feel::meta::Context< StorageType >::Context ( storage_type  c)
explicit

default constructor

Parameters
ccontext

Member Function Documentation

◆ context()

template<typename StorageType >
storage_type Feel::meta::Context< StorageType >::context ( ) const

get context value

Returns
the context value

◆ operator()()

template<typename StorageType >
storage_type Feel::meta::Context< StorageType >::operator() ( ) const

get the context

Returns
the context

◆ operator=() [1/2]

template<typename StorageType >
Context & Feel::meta::Context< StorageType >::operator= ( Context< StorageType > const &  __c)

assignment operator

Returns
the context

◆ operator=() [2/2]

template<typename StorageType >
Context & Feel::meta::Context< StorageType >::operator= ( storage_type  __c)

assignment operator

Returns
the context

◆ setContext()

template<typename StorageType >
void Feel::meta::Context< StorageType >::setContext ( storage_type  __v)

set context value

Parameters
__vcontext value