CODStringProperty Class

class CODStringProperty: public CODProperty

String property class.

Defined in: OdStringProp.h

Class Members

 CODStringProperty(int nId = OD_UNDEFINED)

Constructor.

 CODStringProperty(const CODStringProperty& propString)

Copy constructor.

virtual  ~CODStringProperty()

Destructor.

CString m_strValue

String value.

CString  GetValue() const

Get value of the string.

virtual void  GetValue(CString& strValue) const

Get the value of this property as a string.

virtual void  SetValue(const LPCTSTR lpszValue)

Set the value of this property as a string.

virtual void  SetValue(const VARIANT& vValue)

Set the value of this property as a VARIANT.

CODStringProperty&  operator=(const CODStringProperty& propString)

Assign one string property to another.

BOOL  operator==(const CODStringProperty propString) const

Compare two string properties for equality.

virtual CODProperty*  Dup()

Creates a copy of this string 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.