#include <AnyValueAr.hpp>
Array of AnyValue objects. Interface looks like DynAr but the implementation is completely different and is not compatible with DynAr subclasses.
| AnyValueAr::AnyValueAr |
( |
| ) |
|
Create empty array for storing any values.
Create copy of given array.
| virtual AnyValueAr::~AnyValueAr |
( |
| ) |
|
|
virtual |
| void AnyValueAr::addh |
( |
const AnyValue & |
av | ) |
|
Add a value at the end of the array.
Add the whole array at the end of this array.
| void AnyValueAr::addl |
( |
const AnyValue & |
av | ) |
|
Insert a value at the beginning of the array.
Insert the whole array at the beginning of this array.
Assign given array to this one.
Assign given array to this one.
| void AnyValueAr::clean |
( |
| ) |
|
Release memory under the array.
| unsigned AnyValueAr::count |
( |
| ) |
const |
Return number of items in the array.
| AnyValue& AnyValueAr::fetch |
( |
unsigned |
i | ) |
|
Read-write access to any value in the array.
| AnyValue AnyValueAr::get |
( |
unsigned |
i | ) |
const |
Read-only access to any value in the array.
| void AnyValueAr::insert |
( |
unsigned |
i, |
|
|
const AnyValue & |
av |
|
) |
| |
Insert a value into the array at given position.
| virtual void AnyValueAr::print_contents |
( |
| ) |
const |
|
virtual |
Print method for the whole array.
| virtual void AnyValueAr::print_item |
( |
unsigned |
i | ) |
const |
|
virtual |
Print method for given item.
| void AnyValueAr::remove |
( |
unsigned |
i | ) |
|
Delete i-th item from the array.
| void AnyValueAr::removen |
( |
unsigned |
i, |
|
|
unsigned |
n |
|
) |
| |
Delete n items from array starting from i-th item.
Allocate vector by new AnyValue[] with contents of this array.
| AnyValuePtrAr AnyValueAr::avptrar |
|
protected |
Array of pointers to any value.
The documentation for this class was generated from the following file:
- /net/opt/univers/ubp-i-15.3-centos7-x64.urij/include/mix/AnyValueAr.hpp