acl::VectorOfElementsData Class Reference
Advanced Computational Language » Complex Data Types

The class represents several ElementData. More...

`#include <aclVectorOfElementsDef.h>`

Inheritance diagram for acl::VectorOfElementsData:
[legend]
Collaboration diagram for acl::VectorOfElementsData:
[legend]

## Public Member Functions

bool | checkSizesCompatibility (unsigned int n) const
| checks whether all Elements have sizes compatible with `n` More...
| 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` More...
| 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)

## Related Functions

(Note that these are not member functions.)
VectorOfElementsData | clone (VectorOfElementsData a)
VectorOfElementsData | clone (VectorOfElementsData a, unsigned int n)
void | copy (const VectorOfElementsData &source, VectorOfElementsData &destination)
| Copies the VectorOfElementsData class. More...
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. More...
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

  n | number of ElementData
  s | size of each ElementData
  T | type of ElementData: e.g. float double etc.
  queue | defines 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

  n | number of ElementData
  s | size of each ElementData
  T | type of ElementData: e.g. float double etc.
  queue | defines 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 | ) |

## Friends And Related Function Documentation

## clone() [1/4]

VectorOfElementsData clone | ( | VectorOfElementsData | a | ) |

related

Creates VectorOfElementsData with same structure ElementData objects as `a`

## clone() [2/4]

VectorOfElementsData clone | ( | VectorOfElementsData | a | ) |

related

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:

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/acl/aclMath/aclVectorOfElementsDef.h
- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/acl/aclMath/aclVectorOfElementsOperations.h