Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Field< const _Cont, _Enum > Class Template Reference

#include <RFC_Window_base.h>

Public Types

typedef _Cont::Value Value
 
typedef _Cont::Value_nonconst Value_nonconst
 
typedef _Cont::Value_const Value_const
 
typedef unsigned int Size
 

Public Member Functions

 Field (const _Cont &cont, const Real *p, const _Enum &ids)
 
Size dimension () const
 
Value_const operator[] (int i) const
 

Private Attributes

const _Cont & _cont
 
const Real_p
 
const _Enum & _enum
 

Detailed Description

template<class _Cont, class _Enum>
class Field< const _Cont, _Enum >

Definition at line 505 of file RFC_Window_base.h.

Member Typedef Documentation

typedef unsigned int Size

Definition at line 510 of file RFC_Window_base.h.

typedef _Cont::Value Value

Definition at line 507 of file RFC_Window_base.h.

typedef _Cont::Value_const Value_const

Definition at line 509 of file RFC_Window_base.h.

typedef _Cont::Value_nonconst Value_nonconst

Definition at line 508 of file RFC_Window_base.h.

Constructor & Destructor Documentation

Field ( const _Cont &  cont,
const Real p,
const _Enum &  ids 
)
inline

Definition at line 516 of file RFC_Window_base.h.

517  : _cont(cont), _p(p), _enum(ids) {}

Member Function Documentation

Size dimension ( ) const
inline

Definition at line 518 of file RFC_Window_base.h.

References Field< _Cont >::_cont.

518 { return _cont.dimension(); }
Value_const operator[] ( int  i) const
inline

Definition at line 519 of file RFC_Window_base.h.

References Field< _Cont >::_cont, Field< _Cont >::_enum, and Field< _Cont >::_p.

520  { return _cont.get_value(_p, _enum[i]); }
blockLoc i
Definition: read.cpp:79

Member Data Documentation

const _Cont& _cont
private

Definition at line 512 of file RFC_Window_base.h.

const _Enum& _enum
private

Definition at line 514 of file RFC_Window_base.h.

const Real* _p
private

Definition at line 513 of file RFC_Window_base.h.


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