ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
asl::DataWrapper< V > Class Template Reference

Class defines a folding rule into a 1D/2D/3D bulk. More...

#include <aslGenerators.h>

Inheritance diagram for asl::DataWrapper< V >:
Inheritance graph
[legend]
Collaboration diagram for asl::DataWrapper< V >:
Collaboration graph
[legend]

Public Member Functions

 DataWrapper ()
 
 DataWrapper (const Block &b)
 
 DataWrapper (DataWrapper &d)
 
virtual const acl::VectorOfElements getEContainer ()
 
virtual const acl::VectorOfElementsData getDContainer () const
 
V & getContainer ()
 
void setContainer (const V &cont)
 
- Public Member Functions inherited from asl::AbstractData
const BlockgetBlock () const
 
void setBlock (const Block &b)
 

Protected Member Functions

virtual bool checkConsistency () const
 
- Protected Member Functions inherited from asl::AbstractData
 AbstractData ()
 
 AbstractData (const Block &b)
 

Protected Attributes

container
 
- Protected Attributes inherited from asl::AbstractData
Block block
 

Detailed Description

template<typename V>
class asl::DataWrapper< V >

Class defines a folding rule into a 1D/2D/3D bulk.

Parameters
Vis type of the container
Todo:
resolve consistency issue with setBlock()

Definition at line 52 of file aslGenerators.h.

Constructor & Destructor Documentation

◆ DataWrapper() [1/3]

template<typename V >
asl::DataWrapper< V >::DataWrapper ( )
inline

Definition at line 109 of file aslDataWrapper.h.

◆ DataWrapper() [2/3]

template<typename V >
asl::DataWrapper< V >::DataWrapper ( const Block b)
inlineexplicit

Definition at line 114 of file aslDataWrapper.h.

◆ DataWrapper() [3/3]

template<typename V >
asl::DataWrapper< V >::DataWrapper ( DataWrapper< V > &  d)
inline

Definition at line 119 of file aslDataWrapper.h.

Member Function Documentation

◆ checkConsistency()

template<typename V>
virtual bool asl::DataWrapper< V >::checkConsistency ( ) const
protectedvirtual

◆ getContainer()

template<typename V >
V & asl::DataWrapper< V >::getContainer ( )
inline

Definition at line 125 of file aslDataWrapper.h.

◆ getDContainer()

template<typename V>
virtual const acl::VectorOfElementsData asl::DataWrapper< V >::getDContainer ( ) const
virtual

Implements asl::AbstractData.

◆ getEContainer()

template<typename V>
virtual const acl::VectorOfElements asl::DataWrapper< V >::getEContainer ( )
virtual

Implements asl::AbstractData.

◆ setContainer()

template<typename V >
void asl::DataWrapper< V >::setContainer ( const V &  cont)
inline

Definition at line 130 of file aslDataWrapper.h.

Member Data Documentation

◆ container

template<typename V>
V asl::DataWrapper< V >::container
protected

Definition at line 79 of file aslDataWrapper.h.


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