CFx SDK Documentation 2024 SP0
|
#include <RxDispatchImpl.h>
Classes | |
class | Iterator |
Public Member Functions | |
OdRxObjectPtr | getAt (const OdString &key) const |
OdRxObjectPtr | putAt (const OdString &key, OdRxObject *pObject, OdUInt32 *=0) |
OdRxObjectPtr | getAt (OdUInt32 id) const |
OdRxObjectPtr | putAt (OdUInt32 id, OdRxObject *pObject) |
bool | has (const OdString &entryName) const |
bool | has (OdUInt32 id) const |
OdUInt32 | idAt (const OdString &key) const |
OdString | keyAt (OdUInt32 id) const |
OdUInt32 | numEntries () const |
bool | isCaseSensitive () const |
OdRxDictionaryIteratorPtr | newIterator (OdRx::DictIterType type=OdRx::kDictCollated) |
bool | atKeyAndIdPut (const OdString &, OdUInt32, OdRxObject *) |
bool | resetKey (OdUInt32, const OdString &) |
OdRxObjectPtr | remove (const OdString &) |
OdRxObjectPtr | remove (OdUInt32) |
Public Member Functions inherited from OdRxDictionary | |
ODRX_DECLARE_MEMBERS (OdRxDictionary) | |
virtual void | reserve (OdUInt32 minSize) |
virtual OdRxObjectPtr | getAt (const OdString &key) const =0 |
virtual OdRxObjectPtr | getAt (OdUInt32 id) const =0 |
virtual OdRxObjectPtr | putAt (const OdString &key, OdRxObject *pObject, OdUInt32 *pRetId=0)=0 |
virtual OdRxObjectPtr | putAt (OdUInt32 id, OdRxObject *pObject)=0 |
virtual bool | resetKey (OdUInt32 id, const OdString &newKey)=0 |
virtual OdRxObjectPtr | remove (const OdString &key)=0 |
virtual OdRxObjectPtr | remove (OdUInt32 id)=0 |
void | removeAll () |
virtual bool | has (const OdString &key) const =0 |
virtual bool | has (OdUInt32 id) const =0 |
virtual OdUInt32 | idAt (const OdString &key) const =0 |
virtual OdString | keyAt (OdUInt32 id) const =0 |
virtual OdUInt32 | numEntries () const =0 |
virtual OdRxDictionaryIteratorPtr | newIterator (OdRx::DictIterType iterType=OdRx::kDictCollated)=0 |
virtual bool | isCaseSensitive () const =0 |
OdSmartPtr< OdRxDictionary > | subDict (const OdString *path, int numSteps, bool createIfNotFound) |
OdSmartPtr< OdRxDictionary > | subDictCr (const OdString *path, int numSteps) |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Member Functions | |
OdRxDictionaryPtr | createPropMap () const |
virtual OdRxDictionary * | propertiesInfo () const =0 |
virtual void | generatePropMap (OdRxDictionary *) const =0 |
PropDesc * | descAt (OdUInt32 id) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
<group OdRx_Classes>
Definition at line 57 of file RxDispatchImpl.h.
|
inline |
Definition at line 127 of file RxDispatchImpl.h.
|
inlineprotected |
Definition at line 79 of file RxDispatchImpl.h.
|
inlineprotected |
Definition at line 90 of file RxDispatchImpl.h.
|
protectedpure virtual |
|
inlinevirtual |
Returns the /non-typified smart pointer/ to the instance that is associated with the dictionary item specified by the keyword.
key | [in] Item keyword as a string value. |
Implements OdRxDictionary.
Definition at line 93 of file RxDispatchImpl.h.
|
inlinevirtual |
Returns the /non-typified smart pointer/ to the instance that is associated with the dictionary item specified by the ID.
id | [in] Item ID as an integer value. |
Implements OdRxDictionary.
Definition at line 99 of file RxDispatchImpl.h.
|
inlinevirtual |
Returns true if and only if the dictionary object contains the item with the specified keyword.
key | [in] Keyword as a string value. |
Implements OdRxDictionary.
Definition at line 114 of file RxDispatchImpl.h.
|
inlinevirtual |
Returns true if and only if the dictionary object contains the item with the specified ID.
id | [in] ID as an integer value. |
Implements OdRxDictionary.
Definition at line 115 of file RxDispatchImpl.h.
|
inlinevirtual |
Returns the ID of the item specified by the keyword in the dictionary object.
key | [in] Keyword as a string value. |
Implements OdRxDictionary.
Definition at line 116 of file RxDispatchImpl.h.
|
inlinevirtual |
Returns true if and only if keywords of the dictionary object are case-sensitive, or false if keywords are case-insensitive.
Implements OdRxDictionary.
Definition at line 119 of file RxDispatchImpl.h.
|
inlinevirtual |
Returns the keyword of the item specified by the ID in the dictionary object.
id | [in] Entry ID. |
Implements OdRxDictionary.
Definition at line 117 of file RxDispatchImpl.h.
|
inlinevirtual |
Returns a new interator that can be used to traverse through items of the dictionary object.
iterType | [in] Type of iterator. |
Description OdRx::kDictCollated Traverses the entries in the order they were added to the dictionary. OdRx::kDictSorted Traverses the entries in alphabetical order by key value.
<link dictionary_iterating.html, Iterating through Items of a Dictionary>
<link iterator_concept.html, Concept of Iterators>
Implements OdRxDictionary.
Definition at line 121 of file RxDispatchImpl.h.
|
inlinevirtual |
Returns the number of items in the dictionary object.
Implements OdRxDictionary.
Definition at line 118 of file RxDispatchImpl.h.
|
protectedpure virtual |
|
inlinevirtual |
Puts the instance specified by the smart pointer into the dictionary object and associates it with the specified keyword.
key | [in] Keyword as a string value. |
pObject | [in] Pointer to the instance to be put. |
pRetId | [in] Pointer to an OdUInt32 to receive the Entry ID of the entry. |
Implements OdRxDictionary.
Definition at line 96 of file RxDispatchImpl.h.
|
inlinevirtual |
Puts the instance specified by the smart pointer into the dictionary object and associates it with the specified keyword.
id | [in] ID as an integer value. |
pObject | [in] Pointer to the instance to be put. |
Implements OdRxDictionary.
Definition at line 102 of file RxDispatchImpl.h.
|
inlinevirtual |
Removes the item specified by keyword from the dictionary object.
key | [in] Keyword as a string value. |
Implements OdRxDictionary.
Definition at line 136 of file RxDispatchImpl.h.
|
inlinevirtual |
Removes the item specified by keyword or ID from the dictionary object.
id | [in] ID as an integer value. |
Implements OdRxDictionary.
Definition at line 140 of file RxDispatchImpl.h.
|
inlinevirtual |
Sets the keyword for the item specified by ID for the dictionary object.
id | [in] ID as an integer value. |
newKey | [in] New keyword as a string value. |
Implements OdRxDictionary.
Definition at line 132 of file RxDispatchImpl.h.