|
|
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>
Inheritance diagram for SingleTypeVariantList:Public Member Functions | |
| void | addElement (const VariantContainerBasePtr &variantContainer, const Ice::Current &c=Ice::emptyCurrent) override |
| void | addVariant (const Variant &variant) |
| void | clear (const Ice::Current &c=Ice::emptyCurrent) override |
| VariantContainerBasePtr | cloneContainer (const Ice::Current &c=Ice::emptyCurrent) const override |
| void | deserialize (const ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override |
| template<typename ContainerType > | |
| IceInternal::Handle< ContainerType > | getElement (int index) const |
| 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. More... | |
| int | getSize (const Ice::Current &c=Ice::emptyCurrent) const override |
| Ice::Int | getType (const Ice::Current &c=Ice::emptyCurrent) const override |
| VariantPtr | getVariant (int index) const |
| Ice::ObjectPtr | ice_clone () const override |
| SingleTypeVariantList & | operator= (const SingleTypeVariantList &source) |
| void | serialize (const ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override |
| SingleTypeVariantList () | |
| SingleTypeVariantList (const ContainerType &subType) | |
| SingleTypeVariantList (const SingleTypeVariantList &source) | |
| SingleTypeVariantList (VariantTypeId subType) | |
| template<typename Type > | |
| std::vector< Type > | toContainerStdVector () const |
| template<typename Type > | |
| std::vector< Type > | toStdVector () const |
| std::string | toString (const Ice::Current &=Ice::emptyCurrent) const override |
| bool | validateElements (const Ice::Current &c=Ice::emptyCurrent) override |
Public Member Functions inherited from VariantContainer | |
| VariantDataClassPtr | clone (const Ice::Current &c=Ice::emptyCurrent) const override |
| ContainerTypePtr | getContainerType (const Ice::Current &c=Ice::emptyCurrent) const override |
| Ice::Int | getType (const Ice::Current &c=Ice::emptyCurrent) const override |
| std::string | output (const Ice::Current &c=Ice::emptyCurrent) const override |
| void | setContainerType (const ContainerTypePtr &containerType, const Ice::Current &c=Ice::emptyCurrent) override |
| bool | validate (const Ice::Current &c=Ice::emptyCurrent) override |
Static Public Member Functions | |
| template<typename T1 > | |
| static SingleTypeVariantListPtr | FromContainerStdVector (const std::vector< T1 > &vec) |
| template<typename T1 > | |
| static SingleTypeVariantListPtr | FromStdVector (const std::vector< T1 > &vec) |
| static VariantTypeId | getStaticType (const Ice::Current &c=Ice::emptyCurrent) |
| static std::string | getTypePrefix () |
| template<typename T1 , typename T2 > | |
| static std::map< T1, T2 > | MakeMap (SingleTypeVariantListPtr l1, SingleTypeVariantListPtr l2) |
The SingleTypeVariantList class is a subclass of VariantContainer and is comparable to a std::vector<T> containing values of type T.
Definition at line 46 of file SingleTypeVariantList.h.
Definition at line 36 of file SingleTypeVariantList.cpp.
Here is the caller graph for this function:| SingleTypeVariantList | ( | const SingleTypeVariantList & | source | ) |
|
explicit |
Definition at line 41 of file SingleTypeVariantList.cpp.
|
explicit |
Definition at line 47 of file SingleTypeVariantList.cpp.
|
override |
Definition at line 86 of file SingleTypeVariantList.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void addVariant | ( | const Variant & | variant | ) |
Definition at line 106 of file SingleTypeVariantList.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
override |
Definition at line 123 of file SingleTypeVariantList.cpp.
|
override |
|
override |
|
inlinestatic |
Definition at line 146 of file SingleTypeVariantList.h.
|
inlinestatic |
Definition at line 132 of file SingleTypeVariantList.h.
|
inline |
Definition at line 89 of file SingleTypeVariantList.h.
|
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.
| index | is the index of the Element in the list |
| c | Not needed, leave blank. |
| IndexOutOfBoundsException |
Definition at line 155 of file SingleTypeVariantList.cpp.
Here is the call graph for this function:
|
override |
Definition at line 135 of file SingleTypeVariantList.cpp.
Here is the caller graph for this function:
|
static |
Definition at line 129 of file SingleTypeVariantList.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
override |
|
static |
Definition at line 218 of file SingleTypeVariantList.cpp.
Here is the caller graph for this function:| VariantPtr getVariant | ( | int | index | ) | const |
Definition at line 166 of file SingleTypeVariantList.cpp.
Here is the caller graph for this function:
|
override |
|
inlinestatic |
Definition at line 111 of file SingleTypeVariantList.h.
| SingleTypeVariantList & operator= | ( | const SingleTypeVariantList & | source | ) |
|
override |
Definition at line 179 of file SingleTypeVariantList.cpp.
|
inline |
Definition at line 183 of file SingleTypeVariantList.h.
|
inline |
Definition at line 169 of file SingleTypeVariantList.h.
|
override |
Definition at line 224 of file SingleTypeVariantList.cpp.
|
override |
Definition at line 141 of file SingleTypeVariantList.cpp.