CFx SDK Documentation 2024 SP0
|
#include <AECLineWorkRule.h>
Classes | |
union | ContextUnion |
Public Types | |
enum | Context { eOnDefiningLine = 0 , eHidden = 1 , eWithinAnySubdiv = 2 , eAnyVisible = 3 , eAnyVisibleOrHidden = 4 , eWithinSubdiv1 = 5 , eWithinSubdiv2 = 6 , eWithinSubdiv3 = 7 , eWithinSubdiv4 = 8 , eWithinSubdiv5 = 9 , eWithinSubdiv6 = 10 , eWithinSubdiv7 = 11 , eWithinSubdiv8 = 12 , eWithinSubdiv9 = 13 , eWithinSubdiv10 = 14 } |
Public Member Functions | |
OdUInt16 | GetComponentIndex () const |
void | SetComponentIndex (OdUInt16 iIndex) |
const OdCmColor & | GetColor () const |
void | SetColor (const OdCmColor &cColor) |
const OdString & | GetLwRuleDescription () const |
void | SetLwRuleDescription (const OdString &strDescription) |
Context | GetContext () const |
void | SetContext (Context eContext) |
Public Member Functions inherited from AECImpObj | |
const OdString & | GetDescription () const |
void | SetDescription (const OdString &strDescription) |
virtual void | onObjectLoaded () |
virtual void | SubClose () |
DOM. | |
OdRxObject * | GetOwner () const |
OdRxObject * | GetOwner (OdRxClass *pClass) const |
void | addRefSubPtr () |
void | releaseSubPtr () |
void | assertReadEnabled () const |
void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
bool | isReadEnabled () const |
bool | isWriteEnabled () const |
OdDbDatabase * | database () const |
void | copyFrom (const OdRxObject *pOther) |
virtual OdUInt16 | minSupportedVersion () const |
void | SetOwner (OdDbObject *pOwner) |
DOM. | |
void | SetOwner (AECImpObj *pOwner) |
DOM. | |
class AECSIBase * | GetImpl () const |
DOM. | |
virtual OdResult | dwgInFieldsEx20 (AECDbDwgFiler *pFiler) |
DOM. | |
virtual OdResult | dwgInFieldsEx1 (AECDbDwgFiler *pFiler) |
DOM. | |
Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
OdRxObjectImpl () | |
void | addRef () |
void | release () |
long | numRefs () const |
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 Attributes | |
OdUInt16 | m_iComponentIndex |
OdCmColor | m_cColor |
ContextUnion | m_uContext |
OdString | m_strLwRuleDescription |
Protected Attributes inherited from AECImpObj | |
class AECSIBase * | m_pImp |
DOM. | |
OdUInt16 | m_iMinSupportedVersion |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
static OdSmartPtr< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
ODRX_HEAP_OPERATORS () | |
Rule context.
Definition at line 43 of file AECLineWorkRule.h.
const OdCmColor & AECLineWorkRule::GetColor | ( | ) | const |
Returns rule color.
OdUInt16 AECLineWorkRule::GetComponentIndex | ( | ) | const |
Returns the index of a line work component this design rule is applied to.
Context AECLineWorkRule::GetContext | ( | ) | const |
Returns the context.
const OdString & AECLineWorkRule::GetLwRuleDescription | ( | ) | const |
Returns the description of the rule.
Sets rule color.
Sets the index of the line work component this design rule is applied to.
Sets the description of the rule.
|
protected |
Definition at line 156 of file AECLineWorkRule.h.
|
protected |
Definition at line 153 of file AECLineWorkRule.h.
|
protected |
Definition at line 162 of file AECLineWorkRule.h.
|
protected |
Definition at line 159 of file AECLineWorkRule.h.