IODPropertyContainer Class

class IODPropertyContainer: public IODObject

The property container interface provides methods for getting and settings the value of properties. All properties are identified by an integer value that is unique within the container.

Defined in: OdProperty.h

Class Members

virtual BOOL GetValue(const int nPropId, CString& strValue) const

Gets the value of the given string property.

virtual BOOL GetValue(const int nPropId, int& nValue) const

Gets the value of the given integer property.

virtual BOOL GetValue(const int nPropId, UINT& nValue) const

Gets the value of the given unsigned integer property.

virtual BOOL GetValue(const int nPropId, DWORD& dwValue) const

Gets the value of the given DWORD property.

virtual BOOL GetValue(const int nPropId, float& fValue) const

Gets the value of the given float property.

virtual BOOL SetValue(const int nPropId, LPCTSTR lpszValue)

Sets the value of the given string property.

virtual BOOL SetValue(const int nPropId, const int nValue)

Sets the value of the given integer property.

virtual BOOL SetValue(const int nPropId, const UINT nValue)

Sets the value of the given unsigned integer property.

virtual BOOL SetValue(const int nPropId, const DWORD dwValue)

Sets the value of the given unsigned DWORD property.

virtual BOOL SetValue(const int nPropId, const float fValue)

Sets the value of the given float property.