CFx SDK Documentation  2023 SP0
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
AECLineWorkRule Class Reference

#include <AECLineWorkRule.h>

Inheritance diagram for AECLineWorkRule:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

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 OdCmColorGetColor () const
 
void SetColor (const OdCmColor &cColor)
 
const OdStringGetLwRuleDescription () const
 
void SetLwRuleDescription (const OdString &strDescription)
 
Context GetContext () const
 
void SetContext (Context eContext)
 
- Public Member Functions inherited from AECImpObj
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM. More...
 
OdRxObjectGetOwner () const
 
OdRxObjectGetOwner (OdRxClass *pClass) const
 
void addRefSubPtr ()
 
void releaseSubPtr ()
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
OdDbDatabasedatabase () const
 
void copyFrom (const OdRxObject *pOther)
 
virtual OdUInt16 minSupportedVersion () const
 
void SetOwner (OdDbObject *pOwner)
 DOM. More...
 
void SetOwner (AECImpObj *pOwner)
 DOM. More...
 
class AECSIBase * GetImpl () const
 DOM. More...
 
virtual OdResult dwgInFieldsEx20 (AECDbDwgFiler *pFiler)
 DOM. More...
 
virtual OdResult dwgInFieldsEx1 (AECDbDwgFiler *pFiler)
 DOM. More...
 
- 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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
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. More...
 
OdUInt16 m_iMinSupportedVersion
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
static OdSmartPtr< AECImpObjcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

Line Work rule.

<group TA_API_Subobjects_Section>

Definition at line 35 of file AECLineWorkRule.h.

Member Enumeration Documentation

◆ Context

Rule context.

Enumerator
eOnDefiningLine 
eHidden 
eWithinAnySubdiv 
eAnyVisible 
eAnyVisibleOrHidden 
eWithinSubdiv1 
eWithinSubdiv2 
eWithinSubdiv3 
eWithinSubdiv4 
eWithinSubdiv5 
eWithinSubdiv6 
eWithinSubdiv7 
eWithinSubdiv8 
eWithinSubdiv9 
eWithinSubdiv10 

Definition at line 43 of file AECLineWorkRule.h.

Member Function Documentation

◆ GetColor()

const OdCmColor& AECLineWorkRule::GetColor ( ) const

Returns rule color.

◆ GetComponentIndex()

OdUInt16 AECLineWorkRule::GetComponentIndex ( ) const

Returns the index of a line work component this design rule is applied to.

◆ GetContext()

Context AECLineWorkRule::GetContext ( ) const

Returns the context.

◆ GetLwRuleDescription()

const OdString& AECLineWorkRule::GetLwRuleDescription ( ) const

Returns the description of the rule.

◆ SetColor()

void AECLineWorkRule::SetColor ( const OdCmColor cColor)

Sets rule color.

Remarks
Cannot be ByBlock or ByLayer.

◆ SetComponentIndex()

void AECLineWorkRule::SetComponentIndex ( OdUInt16  iIndex)

Sets the index of the line work component this design rule is applied to.

◆ SetContext()

void AECLineWorkRule::SetContext ( Context  eContext)

Sets the context.

◆ SetLwRuleDescription()

void AECLineWorkRule::SetLwRuleDescription ( const OdString strDescription)

Sets the description of the rule.

Member Data Documentation

◆ m_cColor

OdCmColor AECLineWorkRule::m_cColor
protected

Definition at line 156 of file AECLineWorkRule.h.

◆ m_iComponentIndex

OdUInt16 AECLineWorkRule::m_iComponentIndex
protected

Definition at line 153 of file AECLineWorkRule.h.

◆ m_strLwRuleDescription

OdString AECLineWorkRule::m_strLwRuleDescription
protected

Definition at line 162 of file AECLineWorkRule.h.

◆ m_uContext

ContextUnion AECLineWorkRule::m_uContext
protected

Definition at line 159 of file AECLineWorkRule.h.


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