class CODBoolProperty: public CODProperty
Boolean property class.
Defined in: OdBoolProp.h
VIEWS_API CODBoolProperty(int nId = OD_UNDEFINED)
Constructor.
VIEWS_API CODBoolProperty(const CODBoolProperty& propBool)
Copy constructor.
VIEWS_API virtual ~CODBoolProperty()
Destructor.
BOOL m_bValue
Boolean value.
VIEWS_API BOOL GetValue() const
Get value of the boolean.
VIEWS_API virtual void GetValue(int& nValue) const
Get the value of this property as a signed integer.
VIEWS_API virtual void GetValue(UINT& nValue) const
Get the value of this property as an unsigned integer.
VIEWS_API virtual void GetValue(CString& strValue) const
Get the value of this property as a string.
VIEWS_API virtual void GetValue(VARIANT& value) const
Get the value of this property as a VARIANT.
VIEWS_API virtual void SetValue(const int nValue)
Set the value of this property as a signed integer.
VIEWS_API virtual void SetValue(const UINT nValue)
Set the value of this property as an unsigned integer.
VIEWS_API virtual void SetValue(const LPCTSTR lpszValue)
Set the value of this property as a string.
VIEWS_API virtual void SetValue(const VARIANT& value)
Set the value of this property as a VARIANT.
VIEWS_API CODBoolProperty& operator=(const CODBoolProperty& propBool)
Assign one boolean property to another.
VIEWS_API BOOL operator==(const CODBoolProperty propBool) const
Compare two boolean properties for equality.
VIEWS_API virtual CODProperty* Dup()
Creates a copy of this boolean property.
VIEWS_API virtual void Merge(CODProperty* pProperty, DWORD dwChangeFlags = OD_CHANGE_ALL)
Merges another set of properties with this one.
VIEWS_API virtual BOOL IsEqual(CODProperty* pProp)
Determines if this set of properties is equal to another.
VIEWS_API virtual void Serialize(CArchive& ar)
Serializes the line properties.