|
| void | addElement (const std::string &key, const VariantContainerBasePtr &variantContainer, const Ice::Current &c=Ice::emptyCurrent) override |
| |
| void | addVariant (const std::string &key, const Variant &variant) |
| |
| void | clear (const Ice::Current &c=Ice::emptyCurrent) override |
| | clear calls clear() on the internal StringValueMap::elements container
|
| |
| 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 (const std::string &key) const |
| | getElement is the getter-function to retrieve variants from the list.
|
| |
| VariantContainerBasePtr | getElementBase (const std::string &key, 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.
|
| |
| int | getSize (const Ice::Current &c=Ice::emptyCurrent) const override |
| |
| Ice::Int | getType (const Ice::Current &c=Ice::emptyCurrent) const override |
| |
| VariantPtr | getVariant (const std::string &key) const |
| | getVariant returns a pointer to a Variant object associated with key
|
| |
| Ice::ObjectPtr | ice_clone () const override |
| |
| StringValueMap & | operator= (const StringValueMap &source) |
| |
| void | serialize (const ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override |
| |
| void | setElement (const std::string &key, const VariantContainerBasePtr &variantContainer, const Ice::Current &c=Ice::emptyCurrent) override |
| |
| template<typename ValueType> |
| void | setElements (const std::map< std::string, ValueType > &map) |
| | setElements adds all pairs from map to the current instance using StringValueMap::setElement().
|
| |
| template<typename ValueType> |
| void | setElements (const std::vector< std::string > &keyVec, const std::vector< ValueType > &values) |
| | setElements adds elements with keyVec as keys and values as associated values using StringValueMap::setElement().
|
| |
| | StringValueMap (bool forceSingleTypeMap=true) |
| |
| | StringValueMap (const ContainerType &subType) |
| |
| | StringValueMap (const StringValueMap &source) |
| |
| | StringValueMap (VariantTypeId subType) |
| |
| template<typename Type> |
| std::map< std::string, Type > | toContainerStdMap () const |
| | toContainerStdMap creates a std::map<std::string, Type> from this container.
|
| |
| template<class ValueType> |
| std::map< std::string, ValueType > | toStdMap () |
| | toStdMap creates a std::map<std::string, ValueType> from this container.
|
| |
| std::string | toString (const Ice::Current &=Ice::emptyCurrent) const override |
| |
| bool | validateElements (const Ice::Current &c=Ice::emptyCurrent) override |
| |
| 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 |
| |
The StringValueMap class is a subclass of VariantContainer and is comparable to a std::map<std::string, T> containing values of type T.