ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
acl::VectorOfElementsData Class Reference

The class represents several ::ElementData. More...

#include <aclVectorOfElementsDef.h>

Inheritance diagram for acl::VectorOfElementsData:
Collaboration diagram for acl::VectorOfElementsData:

Public Member Functions

bool checkSizesCompatibility (unsigned int n) const
 checks whether all Elements have sizes compatible with n
 VectorOfElementsData ()
 VectorOfElementsData (unsigned int n)
template<typename T>
 VectorOfElementsData (unsigned int n, unsigned int s, T)
template<typename T>
 VectorOfElementsData (unsigned int n, unsigned int s, T, CommandQueue queue)
VectorOfElements operator= (const VectorOfElements &a) const
VectorOfElements operator= (const VectorOfElementsData &a) const
void resizeElements (unsigned int n)
bool checkSizesCompatibility (unsigned int n) const
 checks whether all Elements have sizes compatible with n
 VectorOfElementsData ()
 VectorOfElementsData (unsigned int n)
template<typename T>
 VectorOfElementsData (unsigned int n, unsigned int s, T)
template<typename T>
 VectorOfElementsData (unsigned int n, unsigned int s, T, CommandQueue queue)
VectorOfElements operator= (const VectorOfElements &a) const
VectorOfElements operator= (const VectorOfElementsData &a) const
void resizeElements (unsigned int n)

(Note that these are not member symbols.)

VectorOfElementsData clone (VectorOfElementsData a)
VectorOfElementsData clone (VectorOfElementsData a, unsigned int n)
void copy (const VectorOfElementsData &source, VectorOfElementsData &destination)
 Copies the VectorOfElementsData class.
void swapBuffers (const VectorOfElementsData &a, const VectorOfElementsData &b)
VectorOfElementsData clone (VectorOfElementsData a)
VectorOfElementsData clone (VectorOfElementsData a, unsigned int n)
void copy (const VectorOfElementsData &source, VectorOfElementsData &destination)
 Copies the VectorOfElementsData class.
void swapBuffers (const VectorOfElementsData &a, const VectorOfElementsData &b)

Detailed Description

The class represents several ::ElementData.

Basicaly the class is identical to the std::vector class. The only difference is the assigment operator and mathematical operations.

Definition at line 56 of file aclVectorOfElementsDef.h.

Constructor & Destructor Documentation

◆ VectorOfElementsData() [1/8]

acl::VectorOfElementsData::VectorOfElementsData ( )

◆ VectorOfElementsData() [2/8]

acl::VectorOfElementsData::VectorOfElementsData ( unsigned int n)
explicit

◆ VectorOfElementsData() [3/8]

template<typename T>
acl::VectorOfElementsData::VectorOfElementsData ( unsigned int n,
unsigned int s,
T  )
Parameters
nnumber of ElementData
ssize of each ElementData
Ttype of ElementData: e.g. float double etc.
queuedefines a device where the DataElements should be placed

◆ VectorOfElementsData() [4/8]

template<typename T>
acl::VectorOfElementsData::VectorOfElementsData ( unsigned int n,
unsigned int s,
T ,
CommandQueue queue )

◆ VectorOfElementsData() [5/8]

acl::VectorOfElementsData::VectorOfElementsData ( )

◆ VectorOfElementsData() [6/8]

acl::VectorOfElementsData::VectorOfElementsData ( unsigned int n)
explicit

◆ VectorOfElementsData() [7/8]

template<typename T>
acl::VectorOfElementsData::VectorOfElementsData ( unsigned int n,
unsigned int s,
T  )
Parameters
nnumber of ElementData
ssize of each ElementData
Ttype of ElementData: e.g. float double etc.
queuedefines a device where the DataElements should be placed

◆ VectorOfElementsData() [8/8]

template<typename T>
acl::VectorOfElementsData::VectorOfElementsData ( unsigned int n,
unsigned int s,
T ,
CommandQueue queue )

Member Function Documentation

◆ checkSizesCompatibility() [1/2]

bool acl::VectorOfElementsData::checkSizesCompatibility ( unsigned int n) const

checks whether all Elements have sizes compatible with n

◆ checkSizesCompatibility() [2/2]

bool acl::VectorOfElementsData::checkSizesCompatibility ( unsigned int n) const

checks whether all Elements have sizes compatible with n

◆ operator=() [1/4]

VectorOfElements acl::VectorOfElementsData::operator= ( const VectorOfElements & a) const

◆ operator=() [2/4]

VectorOfElements acl::VectorOfElementsData::operator= ( const VectorOfElements & a) const

◆ operator=() [3/4]

VectorOfElements acl::VectorOfElementsData::operator= ( const VectorOfElementsData & a) const

◆ operator=() [4/4]

VectorOfElements acl::VectorOfElementsData::operator= ( const VectorOfElementsData & a) const

◆ resizeElements() [1/2]

void acl::VectorOfElementsData::resizeElements ( unsigned int n)

◆ resizeElements() [2/2]

void acl::VectorOfElementsData::resizeElements ( unsigned int n)

◆ clone() [1/4]

Creates VectorOfElementsData with same structure ElementData objects as a

◆ clone() [2/4]

Creates VectorOfElementsData with same structure ElementData objects as a

◆ clone() [3/4]

VectorOfElementsData clone ( VectorOfElementsData a,
unsigned int n )
related

Creates VectorOfElementsData with same structure ElementData objects as a and with n numbers of elements

◆ clone() [4/4]

VectorOfElementsData clone ( VectorOfElementsData a,
unsigned int n )
related

Creates VectorOfElementsData with same structure ElementData objects as a and with n numbers of elements

◆ copy() [1/2]

void copy ( const VectorOfElementsData & source,
VectorOfElementsData & destination )
related

Copies the VectorOfElementsData class.

the destination is resized automaticaly

◆ copy() [2/2]

void copy ( const VectorOfElementsData & source,
VectorOfElementsData & destination )
related

Copies the VectorOfElementsData class.

the destination is resized automaticaly

◆ swapBuffers() [1/2]

void swapBuffers ( const VectorOfElementsData & a,
const VectorOfElementsData & b )
related

Swaps buffers between corresponding elements of two VectorOfElementsData classes.

◆ swapBuffers() [2/2]

void swapBuffers ( const VectorOfElementsData & a,
const VectorOfElementsData & b )
related

Swaps buffers between corresponding elements of two VectorOfElementsData classes.


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