PropertyContext is an abstract superclass that contains methods that get and set properties. These methods are inherited by other classes.
Method | Description |
---|---|
getBooleanProperty | Get the value of the boolean property identified by name. |
getByteProperty | Get the value of the byte property identified by name. |
getBytesProperty | Get the value of the byte array property identified by name. |
getCharProperty | Get the value of the 2-byte character property identified by name. |
getDoubleProperty | Get the value of the double precision floating point property identified by name. |
getFloatProperty | Get the value of the floating point property identified by name. |
getIntProperty | Get the value of the integer property identified by name. |
getLongProperty | Get the value of the long integer property identified by name. |
getObjectProperty | Get the value and data type of the property identified by name. |
getProperty | Get a Property object for the property identified by name. |
getShortProperty | Get the value of the short integer property identified by name. |
getStringProperty | Get the value of the string property identified by name. |
setBooleanProperty | Set the value of the boolean property identified by name. |
setByteProperty | Set the value of the byte property identified by name. |
setBytesProperty | Set the value of the byte array property identified by name. |
setCharProperty | Set the value of the 2-byte character property identified by name. |
setDoubleProperty | Set the value of the double precision floating point property identified by name. |
setFloatProperty | Set the value of the floating point property identified by name. |
setIntProperty | Set the value of the integer property identified by name. |
setLongProperty | Set the value of the long integer property identified by name. |
setObjectProperty | Set the value and data type of a property identified by name. |
setProperty | Set the value of a property using a Property object. |
setShortProperty | Set the value of the short integer property identified by name. |
setStringProperty | Set the value of the string property identified by name. |
xmsBOOL getBooleanProperty(const String & propertyName) const;
Get the value of the boolean property identified by name.
xmsSBYTE getByteProperty(const String & propertyName) const;
Get the value of the byte property identified by name.
xmsINT getBytesProperty(const String & propertyName, xmsSBYTE *propertyValue, const xmsINT length, xmsINT *actualLength) const;
Get the value of the byte array property identified by name.
For more information about how to use this method, see C++ methods that return a byte array.
xmsCHAR16 getCharProperty(const String & propertyName) const;
Get the value of the 2-byte character property identified by name.
xmsDOUBLE getDoubleProperty(const String & propertyName) const;
Get the value of the double precision floating point property identified by name.
xmsFLOAT getFloatProperty(const String & propertyName) const;
Get the value of the floating point property identified by name.
xmsINT getIntProperty(const String & propertyName) const;
Get the value of the integer property identified by name.
xmsLONG getLongProperty(const String & propertyName) const;
Get the value of the long integer property identified by name.
xmsOBJECT_TYPE getObjectProperty(const String & propertyName, xmsSBYTE *propertyValue, const xmsINT length, xmsINT *actualLength);
Get the value and data type of the property identified by name.
For more information about how to use this method, see C++ methods that return a byte array.
virtual Property getProperty(const String & propertyName) const;
Get a Property object for the property identified by name.
xmsSHORT getShortProperty(const String & propertyName) const;
Get the value of the short integer property identified by name.
String getStringProperty(const String & propertyName) const;
Get the value of the string property identified by name.
xmsVOID setBooleanProperty(const String & propertyName, const xmsBOOL propertyValue);
Set the value of the boolean property identified by name.
xmsVOID setByteProperty(const String & propertyName, const xmsSBYTE propertyValue);
Set the value of the byte property identified by name.
xmsVOID setBytesProperty(const String & propertyName, const xmsSBYTE *propertyValue, const xmsINT length);
Set the value of the byte array property identified by name.
xmsVOID setCharProperty(const String & propertyName, const xmsCHAR16 propertyValue);
Set the value of the 2-byte character property identified by name.
xmsVOID setDoubleProperty(const String & propertyName, const xmsDOUBLE propertyValue);
Set the value of the double precision floating point property identified by name.
xmsVOID setFloatProperty(const String & propertyName, const xmsFLOAT propertyValue);
Set the value of the floating point property identified by name.
xmsVOID setIntProperty(const String & propertyName, const xmsINT propertyValue);
Set the value of the integer property identified by name.
xmsVOID setLongProperty(const String & propertyName, const xmsLONG propertyValue);
Set the value of the long integer property identified by name.
xmsVOID setObjectProperty(const String & propertyName, const xmsOBJECT_TYPE objectType, const xmsSBYTE *propertyValue, const xmsINT length);
Set the value and data type of a property identified by name.
xmsVOID setShortProperty(const String & propertyName, const xmsSHORT propertyValue);
Set the value of the short integer property identified by name.
xmsVOID setStringProperty(const String & propertyName, const String & propertyValue);
Set the value of the string property identified by name.