cartobase 6.0.20
carto::interface_internal::DictionaryImpl< T, true > Class Template Reference

#include <cartobase/object/object_d.h>

Inheritance diagram for carto::interface_internal::DictionaryImpl< T, true >:
Collaboration diagram for carto::interface_internal::DictionaryImpl< T, true >:

Public Member Functions

bool getProperty (const TypedObject< std::map< std::string, Object > > &object, const std::string &key, Object &result)
void setProperty (TypedObject< std::map< std::string, Object > > &object, const std::string &key, Object value)

Static Public Member Functions

static bool isDictionary (const TypedObject< T > &object)
static bool getProperty (const TypedObject< T > &object, const std::string &key, Object &result)
static void setProperty (TypedObject< T > &object, const std::string &key, Object value)
static bool removeProperty (TypedObject< T > &object, const std::string &key)
static bool hasProperty (const TypedObject< T > &object, const std::string &key)
static void clearProperties (TypedObject< T > &object)
static bool equals (const TypedObject< T > &o1, const GenericObject &o2)

Detailed Description

template<typename T>
class carto::interface_internal::DictionaryImpl< T, true >

Definition at line 463 of file object_d.h.

Member Function Documentation

◆ clearProperties()

template<typename T>
void carto::interface_internal::DictionaryImpl< T, true >::clearProperties ( TypedObject< T > & object)
inlinestatic

Definition at line 497 of file object_d.h.

◆ equals()

template<typename T>
bool carto::interface_internal::DictionaryImpl< T, true >::equals ( const TypedObject< T > & o1,
const GenericObject & o2 )
inlinestatic

Definition at line 502 of file object_d.h.

References SUPERSUBCLASS.

◆ getProperty() [1/2]

bool carto::interface_internal::DictionaryImpl< std::map< std::string, Object >, false >::getProperty ( const TypedObject< std::map< std::string, Object > > & object,
const std::string & key,
Object & result )
inline

Definition at line 2426 of file object_d.h.

◆ getProperty() [2/2]

template<typename T>
bool carto::interface_internal::DictionaryImpl< T, true >::getProperty ( const TypedObject< T > & object,
const std::string & key,
Object & result )
inlinestatic

Definition at line 472 of file object_d.h.

◆ hasProperty()

template<typename T>
bool carto::interface_internal::DictionaryImpl< T, true >::hasProperty ( const TypedObject< T > & object,
const std::string & key )
inlinestatic

Definition at line 491 of file object_d.h.

◆ isDictionary()

template<typename T>
bool carto::interface_internal::DictionaryImpl< T, true >::isDictionary ( const TypedObject< T > & object)
inlinestatic

Definition at line 467 of file object_d.h.

References SUPERSUBCLASS.

Referenced by removeProperty().

◆ removeProperty()

template<typename T>
bool carto::interface_internal::DictionaryImpl< T, true >::removeProperty ( TypedObject< T > & object,
const std::string & key )
inlinestatic

Definition at line 485 of file object_d.h.

References isDictionary().

◆ setProperty() [1/2]

void carto::interface_internal::DictionaryImpl< std::map< std::string, Object >, false >::setProperty ( TypedObject< std::map< std::string, Object > > & object,
const std::string & key,
Object value )
inline

Definition at line 2440 of file object_d.h.

◆ setProperty() [2/2]

template<typename T>
void carto::interface_internal::DictionaryImpl< T, true >::setProperty ( TypedObject< T > & object,
const std::string & key,
Object value )
inlinestatic

Definition at line 478 of file object_d.h.


The documentation for this class was generated from the following file: