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

#include <RxAttribute.h>

Inheritance diagram for OdRxUiPlacementAttribute:
OdRxAttribute OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdRxUiPlacementAttribute)
 
 OdRxUiPlacementAttribute (OdRxUiPlacementAttributeImpl *)
 
- Public Member Functions inherited from OdRxAttribute
 ODRX_DECLARE_MEMBERS (OdRxAttribute)
 
virtual ~OdRxAttribute ()
 
- 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 OdRxAttributePtr createObject (const OdString &category, unsigned int weight)
 
static OdString getCategory (const OdRxObject *member)
 
static float getWeight (const OdRxObject *member)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Additional Inherited Members

- Protected Member Functions inherited from OdRxAttribute
 OdRxAttribute (OdRxAttributeImpl *)
 
- Protected Attributes inherited from OdRxAttribute
OdRxAttributeImplm_pImpl
 

Detailed Description

<group OdRx_Classes>

Used by property palettes, to group properties by category and sort by weight.

Definition at line 316 of file RxAttribute.h.

Constructor & Destructor Documentation

◆ OdRxUiPlacementAttribute()

OdRxUiPlacementAttribute::OdRxUiPlacementAttribute ( OdRxUiPlacementAttributeImpl *  )

Member Function Documentation

◆ createObject()

static OdRxAttributePtr OdRxUiPlacementAttribute::createObject ( const OdString category,
unsigned int  weight 
)
static

Constructor. Creates the attribute to store UI category and weight.

Parameters
category[in] Category name.
weight[in] Weight.
Returns
Smart pointer to the created attribute.

◆ getCategory()

static OdString OdRxUiPlacementAttribute::getCategory ( const OdRxObject member)
static

Retrieves the UI category for this member.

Parameters
member[in] Member to get category of.
Returns
Category name.

◆ getWeight()

static float OdRxUiPlacementAttribute::getWeight ( const OdRxObject member)
static

Returns the UI weight for this member.

Parameters
member[in] Member to get weight of.
Returns
Weight as float value.

◆ ODRX_DECLARE_MEMBERS()

OdRxUiPlacementAttribute::ODRX_DECLARE_MEMBERS ( OdRxUiPlacementAttribute  )

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