SPPropertyMap.h File Reference
Detailed Description
SignWare Dynamic Development toolkit, Property Map.
- Author:
- uko
Functions | |
SPINT32 __cdecl | SPPropertyMapClone (pSPPROPERTYMAP_T pPropertyMap, pSPPROPERTYMAP_T *ppClone) |
Create a copy of a Property map object. | |
SPINT32 __cdecl | SPPropertyMapCreate (pSPPROPERTYMAP_T *ppProperty) |
Create a Property map object. | |
SPINT32 __cdecl | SPPropertyMapCreateFromFlatFile (pSPPROPERTYMAP_T *ppPropertyMap, const SPUCHAR *pbFlatFile, SPINT32 iFlatFileLen) |
Create an SPPropertyMap object from serialized data. | |
SPINT32 __cdecl | SPPropertyMapEnumBool (pSPPROPERTYMAP_T pProperty, int iIndex, SPCHAR **ppszName, SPINT32 *paValue) |
Query the content of the nth bool property. | |
SPINT32 __cdecl | SPPropertyMapEnumData (pSPPROPERTYMAP_T pProperty, int iIndex, SPCHAR **ppszName, SPUCHAR **ppucValue, SPINT32 *piValueLen) |
Query the content of the nth data property. | |
SPINT32 __cdecl | SPPropertyMapEnumDouble (pSPPROPERTYMAP_T pProperty, int iIndex, SPCHAR **ppszName, SPDOUBLE *paValue) |
Query the content of the nth double property. | |
SPINT32 __cdecl | SPPropertyMapEnumFloat (pSPPROPERTYMAP_T pProperty, int iIndex, SPCHAR **ppszName, SPFLOAT *paValue) |
Query the content of the nth float property. | |
SPINT32 __cdecl | SPPropertyMapEnumInt (pSPPROPERTYMAP_T pProperty, int iIndex, SPCHAR **ppszName, SPINT32 *paValue) |
Query the content of the nth int property. | |
SPINT32 __cdecl | SPPropertyMapEnumString (pSPPROPERTYMAP_T pProperty, int iIndex, SPCHAR **ppszName, SPCHAR **ppszValue) |
Query the content of the nth string property. | |
SPINT32 __cdecl | SPPropertyMapEquals (pSPPROPERTYMAP_T pPropertyMap, SPVPTR pObject, SPBOOL *bEqual) |
Compare two PropertyMap objects. | |
SPINT32 __cdecl | SPPropertyMapFree (pSPPROPERTYMAP_T *ppProperty) |
Free a PropertyMap object. | |
SPINT32 __cdecl | SPPropertyMapGetBool (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPINT32 *paValue) |
Query the content of a property. | |
SPINT32 __cdecl | SPPropertyMapGetData (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPUCHAR **ppucValue, SPINT32 *piValueLen) |
Query the string content of a property. | |
SPINT32 __cdecl | SPPropertyMapGetDouble (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPDOUBLE *paValue) |
Query the content of a property. | |
SPINT32 __cdecl | SPPropertyMapGetFloat (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPFLOAT *paValue) |
Query the content of a property. | |
SPINT32 __cdecl | SPPropertyMapGetInt (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPINT32 *paValue) |
Query the content of a property. | |
SPINT32 __cdecl | SPPropertyMapGetNumberBool (pSPPROPERTYMAP_T pProperty, SPINT32 *paValue) |
query the number of bool properties in the SPPROPERTYMAP_T container | |
SPINT32 __cdecl | SPPropertyMapGetNumberData (pSPPROPERTYMAP_T pProperty, SPINT32 *paValue) |
query the number of data properties in the SPPROPERTYMAP_T container | |
SPINT32 __cdecl | SPPropertyMapGetNumberDouble (pSPPROPERTYMAP_T pProperty, SPINT32 *paValue) |
query the number of double properties in the SPPROPERTYMAP_T container | |
SPINT32 __cdecl | SPPropertyMapGetNumberFloat (pSPPROPERTYMAP_T pProperty, SPINT32 *paValue) |
query the number of float properties in the SPPROPERTYMAP_T container | |
SPINT32 __cdecl | SPPropertyMapGetNumberInt (pSPPROPERTYMAP_T pProperty, SPINT32 *paValue) |
query the number of int properties in the SPPROPERTYMAP_T container | |
SPINT32 __cdecl | SPPropertyMapGetNumberString (pSPPROPERTYMAP_T pProperty, SPINT32 *paValue) |
query the number of string properties in the SPPROPERTYMAP_T container | |
SPINT32 __cdecl | SPPropertyMapGetString (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPCHAR **ppszValue) |
Query the string content of a property. | |
SPINT32 __cdecl | SPPropertyMapRead (pSPPROPERTYMAP_T pProperty, const SPUCHAR *pData, SPINT32 *piDataLen) |
Deserialize an SPPropertyMap object from a buffer. | |
SPINT32 __cdecl | SPPropertyMapSetBool (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPINT32 aValue) |
Set the value of a property. | |
SPINT32 __cdecl | SPPropertyMapSetData (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, const SPUCHAR *pucValue, SPINT32 iValueLen) |
Set the string content of a property. | |
SPINT32 __cdecl | SPPropertyMapSetDouble (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPDOUBLE aValue) |
Set the value of a property. | |
SPINT32 __cdecl | SPPropertyMapSetFloat (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPFLOAT aValue) |
Set the value of a property. | |
SPINT32 __cdecl | SPPropertyMapSetInt (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, SPINT32 aValue) |
Set the value of a property. | |
SPINT32 __cdecl | SPPropertyMapSetString (pSPPROPERTYMAP_T pProperty, const SPCHAR *pszName, const SPCHAR *pszValue) |
Set the string content of a property. | |
SPINT32 __cdecl | SPPropertyMapString (pSPPROPERTYMAP_T pProperty, SPCHAR **ppResult) |
Query the string representation of this object. | |
SPINT32 __cdecl | SPPropertyMapWrite (pSPPROPERTYMAP_T pProperty, SPUCHAR **ppData, SPINT32 *piDataLen) |
Serialize an SPPropertyMap object into a buffer. |
Function Documentation
|
Create a copy of a Property map object.
|
|
Create a Property map object.
|
|
Create an SPPropertyMap object from serialized data. This function deserializes an SPPropertyMap object serialized by SPFlatFileCreateFromPropertyMap. In contrast to SPPropertyMapRead, this function creates a new SPPropertyMap object.
|
|
Query the content of the nth bool property.
|
|
Query the content of the nth data property.
|
|
Query the content of the nth double property.
|
|
Query the content of the nth float property.
|
|
Query the content of the nth int property.
|
|
Query the content of the nth string property.
|
|
Compare two PropertyMap objects.
|
|
Free a PropertyMap object.
|
|
Query the content of a property.
|
|
Query the string content of a property. Use SPFreeMemory to free the returned data.
|
|
Query the content of a property.
|
|
Query the content of a property.
|
|
Query the content of a property.
|
|
query the number of bool properties in the SPPROPERTYMAP_T container
|
|
query the number of data properties in the SPPROPERTYMAP_T container
|
|
query the number of double properties in the SPPROPERTYMAP_T container
|
|
query the number of float properties in the SPPROPERTYMAP_T container
|
|
query the number of int properties in the SPPROPERTYMAP_T container
|
|
query the number of string properties in the SPPROPERTYMAP_T container
|
|
Query the string content of a property. Use SPFreeString to free the returned string.
|
|
Deserialize an SPPropertyMap object from a buffer.
|
|
Set the value of a property.
|
|
Set the string content of a property. Use SPFreeString to free the returned string.
|
|
Set the value of a property.
|
|
Set the value of a property.
|
|
Set the value of a property.
|
|
Set the string content of a property. Use SPFreeString to free the returned string.
|
|
Query the string representation of this object. Use SPFreeString to free the resulting string.
|
|
Serialize an SPPropertyMap object into a buffer. Use SPFreeString to free the resulting data block if no longer needed.
|