cartobase  5.0.5
interface_internal::ArrayImpl< T, B > Class Template Reference

#include <cartobase/object/object_internal.h>

Public Member Functions

template<>
Object getArrayItem (const TypedObject< std::vector< Object > > &object, int index)
 
template<>
void setArrayItem (TypedObject< std::vector< Object > > &object, int index, Object value)
 
template<>
Object getArrayItem (const TypedObject< std::map< int, Object > > &object, int index)
 
template<>
void setArrayItem (TypedObject< std::map< int, Object > > &object, int index, Object value)
 

Static Public Member Functions

static bool isArray (const TypedObject< T > &)
 
static Object getArrayItem (const TypedObject< T > &, int)
 
static void setArrayItem (TypedObject< T > &, int, Object)
 

Detailed Description

template<typename T, bool B>
class interface_internal::ArrayImpl< T, B >

Definition at line 241 of file object_internal.h.

Member Function Documentation

◆ getArrayItem() [1/3]

template<typename T , bool B>
static Object interface_internal::ArrayImpl< T, B >::getArrayItem ( const TypedObject< T > &  ,
int   
)
inlinestatic

Definition at line 250 of file object_internal.h.

◆ getArrayItem() [2/3]

template<>
Object interface_internal::ArrayImpl< std::vector< Object >, false >::getArrayItem ( const TypedObject< std::vector< Object > > &  object,
int  index 
)
inline

Definition at line 1707 of file object_internal.h.

◆ getArrayItem() [3/3]

template<>
Object interface_internal::ArrayImpl< std::map< int, Object >, false >::getArrayItem ( const TypedObject< std::map< int, Object > > &  object,
int  index 
)
inline

Definition at line 2481 of file object_internal.h.

References carto::none().

◆ isArray()

template<typename T , bool B>
static bool interface_internal::ArrayImpl< T, B >::isArray ( const TypedObject< T > &  )
inlinestatic

Definition at line 245 of file object_internal.h.

◆ setArrayItem() [1/3]

template<typename T , bool B>
static void interface_internal::ArrayImpl< T, B >::setArrayItem ( TypedObject< T > &  ,
int  ,
Object   
)
inlinestatic

Definition at line 257 of file object_internal.h.

◆ setArrayItem() [2/3]

template<>
void interface_internal::ArrayImpl< std::vector< Object >, false >::setArrayItem ( TypedObject< std::vector< Object > > &  object,
int  index,
Object  value 
)
inline

Definition at line 1716 of file object_internal.h.

◆ setArrayItem() [3/3]

template<>
void interface_internal::ArrayImpl< std::map< int, Object >, false >::setArrayItem ( TypedObject< std::map< int, Object > > &  object,
int  index,
Object  value 
)
inline

Definition at line 2494 of file object_internal.h.


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