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

#include <BcfComponentSelection.h>

Inheritance diagram for OdBcf::OdBcfComponentSelection:
OdBcf::OdBcfElement OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdBcfComponentSelection)
 
virtual OdResult inFields (TiXmlElement *pParent) ODRX_OVERRIDE
 
virtual OdResult outFields (TiXmlElement *pParent) const ODRX_OVERRIDE
 
virtual bool validate () const ODRX_OVERRIDE
 
const OdBcfComponentArraygetComponent () const
 
bool isComponentUnset () const
 
- Public Member Functions inherited from OdBcf::OdBcfElement
 ODRX_DECLARE_MEMBERS (OdBcfElement)
 
virtual OdResult inFields (TiXmlElement *pParent)=0
 
virtual OdResult outFields (TiXmlElement *pParent) const =0
 
virtual bool validate () 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
 

Static Protected Member Functions

static OdSmartPtr< OdBcfComponentSelectioncreateObject (const OdBcfComponentArray &component)
 

Protected Attributes

OdBcfComponentArray m_component
 
friend OdBcfSession
 

Additional Inherited Members

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

Detailed Description

A class that stores and operates component selection data type.

Definition at line 46 of file BcfComponentSelection.h.

Member Function Documentation

◆ createObject()

static OdSmartPtr< OdBcfComponentSelection > OdBcf::OdBcfComponentSelection::createObject ( const OdBcfComponentArray component)
staticprotected

◆ getComponent()

const OdBcfComponentArray & OdBcf::OdBcfComponentSelection::getComponent ( ) const

Retrieves the components from the selection.

Returns
A array of smart pointers to the <link OdBcf::OdBcfComponent, OdBcfComponent> objects.
Remarks
The components array returned by the method can't be modified in the calling subroutine.

◆ inFields()

virtual OdResult OdBcf::OdBcfComponentSelection::inFields ( TiXmlElement *  pParent)
virtual

Reads XML data into ODA data structures.

Parameters
pParent[in] A pointer to the parent element of the data structure.
Returns
eOk if data was successfully read; otherwise, the method returns an appropriate error code.

Implements OdBcf::OdBcfElement.

◆ isComponentUnset()

bool OdBcf::OdBcfComponentSelection::isComponentUnset ( ) const

Defines whether the components array of the selection is not initialized.

Returns
true if the components array is not initialized; otherwise, the method returns false.

◆ ODRX_DECLARE_MEMBERS()

OdBcf::OdBcfComponentSelection::ODRX_DECLARE_MEMBERS ( OdBcfComponentSelection  )

◆ outFields()

virtual OdResult OdBcf::OdBcfComponentSelection::outFields ( TiXmlElement *  pParent) const
virtual

Writes data into XML structures.

Parameters
pParent[in] A pointer to the parent element of the data structure.
Returns
eOk if data was successfully written; otherwise, the method returns an appropriate error code.

Implements OdBcf::OdBcfElement.

◆ validate()

virtual bool OdBcf::OdBcfComponentSelection::validate ( ) const
virtual

Checks whether the component selection instance has all required fields initialized.

Returns
true if all required fields are initialized; otherwise the method returns false.

Implements OdBcf::OdBcfElement.

Member Data Documentation

◆ m_component

OdBcfComponentArray OdBcf::OdBcfComponentSelection::m_component
protected

Definition at line 91 of file BcfComponentSelection.h.

◆ OdBcfSession

friend OdBcf::OdBcfComponentSelection::OdBcfSession
protected

Definition at line 95 of file BcfComponentSelection.h.


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