Pointwise Plugin SDK
|
Functions | |
PWP_BOOL | PwuGetValue (const char group[], const char name[], PWP_HVALUE value) |
Implementation of the PwpGetValue() API function. More... | |
PWP_BOOL | PwuPublishValueDefinition (const char group[], const char name[], PWP_ENUM_VALTYPE type, const char value[], const char access[], const char desc[], const char range[]) |
Create a value. More... | |
PWP_BOOL | PwuValueSetString (PWP_HVALUE value, const char *val) |
Set the value of a variable handle. More... | |
PWP_BOOL | PwuValueSetInt (PWP_HVALUE value, PWP_INT val) |
Set the value of a variable handle. More... | |
PWP_BOOL | PwuValueSetUInt (PWP_HVALUE value, PWP_UINT val) |
Set the value of a variable handle. More... | |
PWP_BOOL | PwuValueSetReal (PWP_HVALUE value, PWP_REAL val) |
Set the value of a variable handle. More... | |
PWP_BOOL | PwuValueSetEnum (PWP_HVALUE value, const char *val) |
Set the value of a variable handle. More... | |
PWP_BOOL | PwuAssignValue (const char group[], const char name[], const char value[], bool createIfNotExists=false) |
Assign or create a value. More... | |
PWP_BOOL | PwuAssignValueInt (const char group[], const char name[], PWP_INT value, bool createIfNotExists=false) |
Assign or create a value. More... | |
PWP_BOOL | PwuAssignValueUInt (const char group[], const char name[], PWP_UINT value, bool createIfNotExists=false) |
Assign or create a value. More... | |
PWP_BOOL | PwuAssignValueReal (const char group[], const char name[], PWP_REAL value, bool createIfNotExists=false) |
Assign or create a value. More... | |
PWP_BOOL | PwuAssignValueEnum (const char group[], const char name[], const char value[], bool createIfNotExists=false) |
Assign or create a value. More... | |
Implements the variable manager subsystem.
PWP_BOOL PwuAssignValue | ( | const char | group[], |
const char | name[], | ||
const char | value[], | ||
bool | createIfNotExists = false |
||
) |
Assign or create a value.
group | The value's group. |
name | The value's name. |
value | The typed value being assigned. |
createIfNotExists | If true, the name/value pair will be silently created if it does not already exist. |
Definition at line 856 of file apiPWPUtils.cxx.
References NamedStrings::erase(), NamedStrings::exists(), namedStrings, PWP_FALSE, PWP_TRUE, and PwuJoin().
Referenced by grdpAssignInfoValue(), PwuAssignValueEnum(), PwuAssignValueInt(), PwuAssignValueReal(), and PwuAssignValueUInt().
PWP_BOOL PwuAssignValueEnum | ( | const char | group[], |
const char | name[], | ||
const char | value[], | ||
bool | createIfNotExists = false |
||
) |
Assign or create a value.
group | The value's group. |
name | The value's name. |
value | The typed value being assigned. |
createIfNotExists | If true, the name/value pair will be silently created if it does not already exist. |
Definition at line 902 of file apiPWPUtils.cxx.
References PwuAssignValue().
Referenced by caeuAssignInfoValue(), and grdpAssignInfoValueEnum().
PWP_BOOL PwuAssignValueInt | ( | const char | group[], |
const char | name[], | ||
PWP_INT | value, | ||
bool | createIfNotExists = false |
||
) |
Assign or create a value.
group | The value's group. |
name | The value's name. |
value | The typed value being assigned. |
createIfNotExists | If true, the name/value pair will be silently created if it does not already exist. |
Definition at line 875 of file apiPWPUtils.cxx.
References PwuAssignValue().
Referenced by grdpAssignInfoValueInt().
PWP_BOOL PwuAssignValueReal | ( | const char | group[], |
const char | name[], | ||
PWP_REAL | value, | ||
bool | createIfNotExists = false |
||
) |
Assign or create a value.
group | The value's group. |
name | The value's name. |
value | The typed value being assigned. |
createIfNotExists | If true, the name/value pair will be silently created if it does not already exist. |
Definition at line 893 of file apiPWPUtils.cxx.
References PwuAssignValue().
Referenced by grdpAssignInfoValueReal().
PWP_BOOL PwuAssignValueUInt | ( | const char | group[], |
const char | name[], | ||
PWP_UINT | value, | ||
bool | createIfNotExists = false |
||
) |
Assign or create a value.
group | The value's group. |
name | The value's name. |
value | The typed value being assigned. |
createIfNotExists | If true, the name/value pair will be silently created if it does not already exist. |
Definition at line 884 of file apiPWPUtils.cxx.
References PwuAssignValue().
Referenced by grdpAssignInfoValueBool(), and grdpAssignInfoValueUInt().
PWP_BOOL PwuGetValue | ( | const char | group[], |
const char | name[], | ||
PWP_HVALUE | value | ||
) |
Implementation of the PwpGetValue() API function.
group | The target value group. |
name | The target value name. |
value | The value handle pased to GgApiSpecPWP::getValue(). |
Definition at line 953 of file apiPWPUtils.cxx.
References NamedStrings::get(), namedStrings, PWP_CAST_BOOL, PwuJoin(), and PwuValueSetString().
Referenced by PwpGetValue().
PWP_BOOL PwuPublishValueDefinition | ( | const char | group[], |
const char | name[], | ||
PWP_ENUM_VALTYPE | type, | ||
const char | value[], | ||
const char | access[], | ||
const char | desc[], | ||
const char | range[] | ||
) |
Create a value.
group | The value group. |
name | The value name. |
type | The value data type. |
value | The value as a type-appropriate string. |
access | The value access flags. |
desc | The value description. |
range | The value range as a type-appropriate string. |
Definition at line 909 of file apiPWPUtils.cxx.
References NamedStrings::exists(), namedStrings, PWP_FALSE, PWP_TRUE, PwuJoin(), PwuValueDefnAccessKey(), PwuValueDefnDefaultKey(), PwuValueDefnDescKey(), PwuValueDefnNameKey(), PwuValueDefnRangeKey(), PwuValueDefnTypeKey(), PwuValueNamesGroup(), and typeToString().
Referenced by caeuPublishValueDefinition(), and grdpPublishValueDefinition().
PWP_BOOL PwuValueSetEnum | ( | PWP_HVALUE | value, |
const char * | val | ||
) |
Set the value of a variable handle.
value | The value handle pased to GgApiSpecPWP::getValue(). |
val | The typed value to wtite to value. |
Definition at line 1007 of file apiPWPUtils.cxx.
Set the value of a variable handle.
value | The value handle pased to GgApiSpecPWP::getValue(). |
val | The typed value to wtite to value. |
Definition at line 986 of file apiPWPUtils.cxx.
Set the value of a variable handle.
value | The value handle pased to GgApiSpecPWP::getValue(). |
val | The typed value to wtite to value. |
Definition at line 1000 of file apiPWPUtils.cxx.
PWP_BOOL PwuValueSetString | ( | PWP_HVALUE | value, |
const char * | val | ||
) |
Set the value of a variable handle.
value | The value handle pased to GgApiSpecPWP::getValue(). |
val | The typed value to wtite to value. |
Definition at line 979 of file apiPWPUtils.cxx.
Referenced by PwuGetValue().
Set the value of a variable handle.
value | The value handle pased to GgApiSpecPWP::getValue(). |
val | The typed value to wtite to value. |
Definition at line 993 of file apiPWPUtils.cxx.