The SingleTypeVariantList class is a subclass of VariantContainer and is comparable to a std::vector<T> containing values of type T.
More...
#include <ArmarXCore/observers/variant/SingleTypeVariantList.h>
The SingleTypeVariantList class is a subclass of VariantContainer and is comparable to a std::vector<T> containing values of type T.
Definition at line 47 of file SingleTypeVariantList.h.
◆ SingleTypeVariantList() [1/4]
◆ SingleTypeVariantList() [2/4]
◆ SingleTypeVariantList() [3/4]
◆ SingleTypeVariantList() [4/4]
◆ addElement()
void addElement |
( |
const VariantContainerBasePtr & |
variantContainer, |
|
|
const Ice::Current & |
c = Ice::emptyCurrent |
|
) |
| |
|
override |
◆ addVariant()
void addVariant |
( |
const Variant & |
variant | ) |
|
◆ clear()
void clear |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
|
|
override |
◆ cloneContainer()
VariantContainerBasePtr cloneContainer |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
const |
|
override |
◆ deserialize()
void deserialize |
( |
const ObjectSerializerBasePtr & |
serializer, |
|
|
const ::Ice::Current & |
= Ice::emptyCurrent |
|
) |
| |
|
override |
◆ FromContainerStdVector()
◆ FromStdVector()
◆ getElement()
◆ getElementBase()
VariantContainerBasePtr getElementBase |
( |
int |
index, |
|
|
const Ice::Current & |
c = Ice::emptyCurrent |
|
) |
| const |
|
override |
getElementBase is the slice-interface implementation for getting an Element and only returns a basepointer, so a manual upcast is usually necessary.
This function exists only for completeness and compatibility. Usually you should use the getElement()-function.
- Parameters
-
index | is the index of the Element in the list |
c | Not needed, leave blank. |
- Exceptions
-
IndexOutOfBoundsException | |
- Returns
- a base variant pointer
Definition at line 143 of file SingleTypeVariantList.cpp.
◆ getSize()
int getSize |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
const |
|
override |
◆ getStaticType()
VariantTypeId getStaticType |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
|
|
static |
◆ getType()
Ice::Int getType |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
const |
|
override |
◆ getTypePrefix()
std::string getTypePrefix |
( |
| ) |
|
|
static |
◆ getVariant()
◆ ice_clone()
Ice::ObjectPtr ice_clone |
( |
| ) |
const |
|
override |
◆ MakeMap()
◆ operator=()
◆ serialize()
void serialize |
( |
const ObjectSerializerBasePtr & |
serializer, |
|
|
const ::Ice::Current & |
= Ice::emptyCurrent |
|
) |
| const |
|
override |
◆ toContainerStdVector()
std::vector<Type> toContainerStdVector |
( |
| ) |
const |
|
inline |
◆ toStdVector()
std::vector<Type> toStdVector |
( |
| ) |
const |
|
inline |
◆ toString()
std::string toString |
( |
const Ice::Current & |
= Ice::emptyCurrent | ) |
const |
|
override |
◆ validateElements()
bool validateElements |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
|
|
override |
The documentation for this class was generated from the following files: