ArcGIS Procedural Runtime
3.2.10650
|
#include <Attributable.h>
Public Types | |
using | PrimitiveType = uint8_t |
Public Member Functions | |
virtual void * | getBlindData (const std::wstring &key) const =0 |
virtual Bool | getBool (const std::wstring &key) const =0 |
virtual const BoolVector & | getBoolArray (const std::wstring &key) const =0 |
virtual double | getFloat (const std::wstring &key) const =0 |
virtual const DoubleVector & | getFloatArray (const std::wstring &key) const =0 |
virtual int32_t | getInt (const std::wstring &key) const =0 |
virtual const Int32Vector & | getIntArray (const std::wstring &key) const =0 |
virtual const WStringVector & | getKeys () const =0 |
virtual const std::wstring & | getString (const std::wstring &key) const =0 |
virtual const WStringVector & | getStringArray (const std::wstring &key) const =0 |
virtual PrimitiveType | getType (const std::wstring &key) const =0 |
virtual bool | hasKey (const std::wstring &key) const =0 |
Static Public Attributes | |
static constexpr PrimitiveType | PT_BLIND_DATA = prt::Attributable::PT_BLIND_DATA |
static constexpr PrimitiveType | PT_BLIND_DATA_ARRAY = prt::Attributable::PT_BLIND_DATA_ARRAY |
static constexpr PrimitiveType | PT_BOOL = prt::Attributable::PT_BOOL |
static constexpr PrimitiveType | PT_BOOL_ARRAY = prt::Attributable::PT_BOOL_ARRAY |
static constexpr PrimitiveType | PT_COUNT = prt::Attributable::PT_COUNT |
static constexpr PrimitiveType | PT_FLOAT = prt::Attributable::PT_FLOAT |
static constexpr PrimitiveType | PT_FLOAT_ARRAY = prt::Attributable::PT_FLOAT_ARRAY |
static constexpr PrimitiveType | PT_INT = prt::Attributable::PT_INT |
static constexpr PrimitiveType | PT_INT_ARRAY = prt::Attributable::PT_INT_ARRAY |
static constexpr PrimitiveType | PT_STRING = prt::Attributable::PT_STRING |
static constexpr PrimitiveType | PT_STRING_ARRAY = prt::Attributable::PT_STRING_ARRAY |
static constexpr PrimitiveType | PT_UNDEFINED = prt::Attributable::PT_UNDEFINED |
Interface to provide read-only access to attributes of the basic types. Exceptions are thrown on errors.
Each key is unique over all types.
using prtx::Attributable::PrimitiveType = uint8_t |
Primitive Types (inherited from prt::Attributable)
|
pure virtual |
Gets a blind data value.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Gets a boolean value.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Gets an array of booleans. The returned reference stays valid until destruction of the Attributable.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Gets a float value.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Gets an array of floats. The returned reference stays valid until destruction of the Attributable.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Gets an integer value.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Gets an array of integers. The returned reference stays valid until destruction of the Attributable.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Get all used keys. The returned reference stays valid until destruction of the Attributable.
Implemented in prtx::Material.
|
pure virtual |
Gets a string. The returned reference stays valid until destruction of the Attributable.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Gets an array of strings. The returned reference stays valid until destruction of the Attributable.
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
key | Key to look for. |
Implemented in prtx::Material.
|
pure virtual |
Checks whether a key is set.
key | Key to look for. |
Implemented in prtx::Material.