CODBoolProperty Class
class CODBoolProperty: public CODProperty
Boolean property class.Defined in: OdBoolProp.h
Class Members
CODBoolProperty(int nId = OD_UNDEFINED)
Constructor.
CODBoolProperty(const CODBoolProperty& propBool)
Copy constructor.
virtual ~CODBoolProperty()
Destructor.
BOOL m_bValue
Boolean value.
BOOL GetValue() const
Get value of the boolean.
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(CString& strValue) const
Get the value of this property as a string.
virtual void GetValue(VARIANT& value) 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 LPCTSTR lpszValue)
Set the value of this property as a string.
virtual void SetValue(const VARIANT& value)
Set the value of this property as a VARIANT.
CODBoolProperty& operator=(const CODBoolProperty& propBool)
Assign one boolean property to another.
BOOL operator==(const CODBoolProperty propBool) const
Compare two boolean properties for equality.
virtual CODProperty* Dup()
Creates a copy of this boolean 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.