CODDWordProperty Class

class CODDWordProperty: public CODProperty

DWORD property class.

Defined in: OdDWordProp.h

Class Members

 CODDWordProperty(int nId = OD_UNDEFINED)

Constructor.

 CODDWordProperty(const CODDWordProperty& propDWord)

Copy constructor.

virtual  ~CODDWordProperty()

Destructor.

DWORD m_dwValue

DWORD value.

int  GetValue() const

Get value of the integer.

virtual void  GetValue(int& nValue) const

Get the value of this property as a signed integer.

virtual void  GetValue(UINT& nValue) const

Get the value of this property as an unsigned integer.

virtual void  GetValue(DWORD& dwValue) const

Get the value of this property as a DWORD.

virtual void  GetValue(CString& strValue) const

Get the value of this property as a string.

virtual void  GetValue(VARIANT& strValue) const

Get the value of this property as a VARIANT.

virtual void  SetValue(const int nValue)

Set the value of this property as a signed integer.

virtual void  SetValue(const UINT nValue)

Set the value of this property as an unsigned integer.

virtual void  SetValue(const DWORD dwValue)

Set the value of this property as a DWORD.

virtual void  SetValue(const LPCTSTR lpszValue)

Set the value of this property as a string.

virtual void  SetValue(const VARIANT& lpszValue)

Set the value of this property as a VARIANT.

CODDWordProperty&  operator=(const CODDWordProperty& propDWord)

Assign one integer property to another.

BOOL  operator==(const CODDWordProperty propDWord) const

Compare two integer properties for equality.

virtual CODProperty*  Dup()

Creates a copy of this integer property.

virtual void  Merge(CODProperty* pProperty, DWORD dwChangeFlags = OD_CHANGE_ALL)

Merges another set of properties with this one.

virtual BOOL  IsEqual(CODProperty* pProp)

Determines if this set of properties is equal to another.

virtual void  Serialize(CArchive& ar)

Serializes the line properties.