CODStringProperty Class

class CODStringProperty: public CODProperty

String property class.

Defined in: OdStringProp.h

Class Members

VIEWS_API CODStringProperty(int nId = OD_UNDEFINED)

Constructor.

VIEWS_API CODStringProperty(const CODStringProperty& propString)

Copy constructor.

VIEWS_API virtual ~CODStringProperty()

Destructor.

CString m_strValue

String value.

VIEWS_API CString GetValue() const

Get value of the string.

VIEWS_API virtual void GetValue(CString& strValue) const

Get the value of this property as a string.

VIEWS_API virtual void SetValue(const LPCTSTR lpszValue)

Set the value of this property as a string.

VIEWS_API virtual void SetValue(const VARIANT& vValue)

Set the value of this property as a VARIANT.

VIEWS_API CODStringProperty& operator=(const CODStringProperty& propString)

Assign one string property to another.

BOOL operator==(const CODStringProperty propString) const

Compare two string properties for equality.

VIEWS_API virtual CODProperty* Dup()

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