CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdTfAttribute Class Referenceabstract

#include <TfObject.h>

Inheritance diagram for OdTfAttribute:
OdRxObject

Public Member Functions

virtual OdRxObjectowner () const =0
 
virtual const OdStringname () const =0
 
virtual OdTfVariant value () const =0
 
- 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
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

An abstract interface class that provides functionality for storing attribute data. An attribute is defined with its name and value. Corresponding C++ library: Od_Tf <group OdTf_Classes>

Definition at line 389 of file TfObject.h.

Member Function Documentation

◆ name()

virtual const OdString & OdTfAttribute::name ( ) const
pure virtual

Retrieves the attribute name.

Returns
Returns the attribute name represented as an OdString object.

◆ owner()

virtual OdRxObject * OdTfAttribute::owner ( ) const
pure virtual

Retrieves the owner object for the attribute.

Returns
Returns a pointer to the OdRxObject object that owns the attribute.

◆ value()

virtual OdTfVariant OdTfAttribute::value ( ) const
pure virtual

Retrieves the current value of the attribute.

Returns
Returns the attribute value as an instance of the OdTfVariant class.

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