CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OdRxEnumTag Class Reference

#include <RxMember.h>

Inheritance diagram for OdRxEnumTag:
OdRxMember OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdRxEnumTag)
 
const OdRxValuevalue () const
 
OdString alternateLocalName () const
 
- Public Member Functions inherited from OdRxMember
 ODRX_DECLARE_MEMBERS (OdRxMember)
 
const OdStringname () const throw ()
 
OdString localName () const throw ()
 
const OdRxValueTypetype () const throw ()
 
const OdRxAttributeCollectionattributes () const throw ()
 
OdRxAttributeCollectionattributes () throw ()
 
const OdRxObjectowner () const throw ()
 
const OdArray< OdRxMemberPtr > * children () const throw ()
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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
 

Static Public Member Functions

static OdRxEnumTagPtr createObject (const OdChar *name, const OdRxValue &value, const OdRxObject *owner)
 
- Static Public Member Functions inherited from OdRxMember
static void deleteMember (const OdRxMember *pMember) throw ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Protected Member Functions

 OdRxEnumTag (OdRxMemberImpl *)
 
virtual OdString subAlternateLocalName () const
 
- Protected Member Functions inherited from OdRxMember
virtual ~OdRxMember ()
 
 OdRxMember (OdRxMemberImpl *)
 
virtual OdString subLocalName () const
 
virtual OdResult subChildren (OdArray< OdRxMemberPtr > &children) const
 
virtual OdResult subChildrenEx (OdArray< OdRxMemberPtr > *&pChildren) const
 
void init (const OdString &name, const OdRxValueType *type, const OdRxObject *owner=0)
 

Additional Inherited Members

- Protected Attributes inherited from OdRxMember
OdRxMemberImplm_pImpl
 

Detailed Description

<group OdRx_Classes>

This class describes a single item of an enumeration in OdRxEnumType.

Definition at line 196 of file RxMember.h.

Constructor & Destructor Documentation

◆ OdRxEnumTag()

OdRxEnumTag::OdRxEnumTag ( OdRxMemberImpl )
protected

Member Function Documentation

◆ alternateLocalName()

OdString OdRxEnumTag::alternateLocalName ( ) const

Queries OdRxAlternateLocalizedNameAttribute to retrieve the alternative local name.

Returns
Alternate local name.

◆ createObject()

static OdRxEnumTagPtr OdRxEnumTag::createObject ( const OdChar name,
const OdRxValue value,
const OdRxObject owner 
)
static

Creates a new enumeration member descriptor.

Parameters
name[in] Name of the enumeration item.
value[in] Value, containing the underlying enumeration item.
owner[in] Owner of the enumeration item (OdRxEnumType).
Returns
Pointer to the created enumeration member descriptor.

◆ ODRX_DECLARE_MEMBERS()

OdRxEnumTag::ODRX_DECLARE_MEMBERS ( OdRxEnumTag  )

◆ subAlternateLocalName()

virtual OdString OdRxEnumTag::subAlternateLocalName ( ) const
protectedvirtual

Overloaded implementation of the alternateLocalName() function. Should use OdRxAlternateLocalizedNameAttribute by default.

◆ value()

const OdRxValue & OdRxEnumTag::value ( ) const

Value with the element of the enumeration, described by this tag.

Returns
Value, described by this tag.

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