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

#include <cartobase/object/object_d.h>

Inheritance diagram for carto::interface_internal::ArrayImpl< T, B >:

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

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

Definition at line 242 of file object_d.h.

Member Function Documentation

◆ getArrayItem() [1/3]

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

Definition at line 2546 of file object_d.h.

◆ getArrayItem() [2/3]

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

Definition at line 1740 of file object_d.h.

◆ getArrayItem() [3/3]

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

Definition at line 261 of file object_d.h.

References carto::verbose.

◆ hasItem()

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

Definition at line 256 of file object_d.h.

◆ isArray()

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

Definition at line 246 of file object_d.h.

◆ isContiguous()

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

Definition at line 251 of file object_d.h.

◆ setArrayItem() [1/3]

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

Definition at line 2559 of file object_d.h.

◆ setArrayItem() [2/3]

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

Definition at line 1749 of file object_d.h.

◆ setArrayItem() [3/3]

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

Definition at line 268 of file object_d.h.


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