cartodata  5.0.5
carto::RcptrObject< T > Class Template Reference

#include <cartodata/wip/roi/doi.h>

Inheritance diagram for carto::RcptrObject< T >:
Collaboration diagram for carto::RcptrObject< T >:

Public Member Functions

 RcptrObject (T &x)
 
virtual ~RcptrObject ()
 
virtual T & getValue ()
 
virtual Object clone () const
 
- Public Member Functions inherited from carto::TypedObject< T >
 TypedObject ()
 
virtual ~TypedObject ()
 
const T & getValue () const
 
virtual void setValue (Object val)
 
virtual std::string type () const
 
virtual bool isScalar () const
 
virtual double getScalar () const
 
virtual void setScalar (double)
 
virtual bool isString () const
 
virtual std::string getString () const
 
virtual void setString (const std::string &)
 
virtual bool isArray () const
 
virtual Object getArrayItem (int index) const
 
virtual void setArrayItem (int, Object)
 
virtual size_t size () const
 
virtual bool isDynArray () const
 
virtual void reserveArray (size_t)
 
virtual void resizeArray (size_t)
 
virtual void removeArrayItem (int)
 
virtual void insertArrayItem (int, Object)
 
virtual bool getProperty (const std::string &, Object &) const
 
virtual bool isDictionary () const
 
virtual void setProperty (const std::string &, Object)
 
virtual bool removeProperty (const std::string &)
 
virtual bool hasProperty (const std::string &) const
 
virtual void clearProperties ()
 
virtual bool isIterable () const
 
virtual Object objectIterator () const
 
virtual bool isIterator () const
 
virtual bool isValid () const
 
virtual Object currentValue () const
 
virtual void next ()
 
virtual bool isKeyIterator () const
 
virtual Object keyObject () const
 
virtual bool isDictionaryIterator () const
 
virtual std::string key () const
 
virtual bool isIntKeyIterator () const
 
virtual long intKey () const
 
virtual bool isNone () const
 
virtual bool operator== (const GenericObject &other) const
 
- Public Member Functions inherited from carto::GenericObject
virtual ~GenericObject ()
 
const T & value () const
 
T & value ()
 
bool value (T &) const
 
void setValue (const T &val)
 
T * getInterface ()
 
const T * getInterface () const
 
virtual bool operator!= (const GenericObject &other) const
 
- Public Member Functions inherited from carto::RCObject
 RCObject ()
 
 RCObject (const RCObject &)
 
RCObjectoperator= (const RCObject &)
 
virtual ~RCObject ()
 
- Public Member Functions inherited from carto::StringInterface
virtual ~StringInterface ()
 
virtual bool operator== (const StringInterface &other) const
 
virtual bool operator!= (const StringInterface &other) const
 
- Public Member Functions inherited from carto::Interface
virtual ~Interface ()
 
- Public Member Functions inherited from carto::ScalarInterface
virtual ~ScalarInterface ()
 
virtual bool operator== (const ScalarInterface &other) const
 
virtual bool operator!= (const ScalarInterface &other) const
 
- Public Member Functions inherited from carto::DynArrayInterface
virtual ~DynArrayInterface ()
 
- Public Member Functions inherited from carto::ArrayInterface
virtual ~ArrayInterface ()
 
- Public Member Functions inherited from carto::SizeInterface
virtual ~SizeInterface ()
 
- Public Member Functions inherited from carto::IterableInterface
virtual ~IterableInterface ()
 
virtual bool operator== (const IterableInterface &other) const
 
virtual bool operator!= (const IterableInterface &other) const
 
- Public Member Functions inherited from carto::DictionaryInterface
virtual ~DictionaryInterface ()
 
Object getProperty (const std::string &) const
 
Object getProperty (Object key) const
 
bool getProperty (const std::string &key, T &value) const
 
void setProperty (const std::string &, const char *)
 
void setProperty (const std::string &, const T &)
 
virtual void copyProperties (Object source)
 
virtual bool operator== (const DictionaryInterface &other) const
 
virtual bool operator!= (const DictionaryInterface &other) const
 
void setProperty (const std::string &key, Object const &value)
 
bool getProperty (const std::string &key, Object &value) const
 
- Public Member Functions inherited from carto::IteratorInterface
virtual ~IteratorInterface ()
 
- Public Member Functions inherited from carto::KeyIteratorInterface
virtual ~KeyIteratorInterface ()
 
- Public Member Functions inherited from carto::DictionaryIteratorInterface
virtual ~DictionaryIteratorInterface ()
 
- Public Member Functions inherited from carto::IntKeyIteratorInterface
virtual ~IntKeyIteratorInterface ()
 
- Public Member Functions inherited from carto::NoneInterface
virtual ~NoneInterface ()
 

Additional Inherited Members

- Public Types inherited from carto::RCObject
typedef int RefCounterType
 
- Protected Member Functions inherited from carto::GenericObject
virtual Interface_getGenericInterface ()=0
 
virtual const void * _getAddressOfValue () const=0
 

Detailed Description

template<typename T>
class carto::RcptrObject< T >

Definition at line 78 of file doi.h.

Constructor & Destructor Documentation

◆ RcptrObject()

template<typename T >
carto::RcptrObject< T >::RcptrObject ( T &  x)
inline

Definition at line 99 of file doi.h.

◆ ~RcptrObject()

template<typename T >
virtual carto::RcptrObject< T >::~RcptrObject ( )
virtual

Member Function Documentation

◆ clone()

template<typename T >
virtual Object carto::RcptrObject< T >::clone ( ) const
virtual

Reimplemented from carto::TypedObject< T >.

◆ getValue()

template<typename T >
virtual T& carto::RcptrObject< T >::getValue ( )
virtual

Reimplemented from carto::TypedObject< T >.


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