Simple name/value string pair class.
More...
Simple name/value string pair class.
Used for persistence with PvPropertyList.
Constructor that can set name, value.
- Parameters
-
[in] | aName | Property name. |
[in] | aValue | Property value. |
PvProperty::PvProperty |
( |
const PvProperty & |
aProperty | ) |
|
Copy constructor.
- Parameters
-
[in] | aProperty | The property to use to initialize the new object. |
Returns the property name.
- Returns
- The property name.
Gets the property value as a string.
- Returns
- The string value.
PvResult PvProperty::GetValue |
( |
int64_t & |
aValue | ) |
const |
Gets the property value as an integer.
- Parameters
-
[out] | aValue | The property value converted to an integer. |
- Returns
- Includes:
PvResult PvProperty::GetValue |
( |
double & |
aValue | ) |
const |
Gets the property value as a float.
- Parameters
-
[out] | aValue | The property value converted to a float. |
- Returns
- Includes:
Copy operator.
- Parameters
-
[in] | aProperty | The property to copy. |
- Returns
- A reference to the copy destination.
void PvProperty::SetName |
( |
const PvString & |
aName | ) |
|
Sets the property name.
- Parameters
-
[in] | aName | The new property name. |
void PvProperty::SetValue |
( |
const PvString & |
aValue | ) |
|
Sets the property value from a string.
- Parameters
-
[in] | aValue | The new property value. |
void PvProperty::SetValue |
( |
int64_t |
aValue | ) |
|
Sets the property values from an integer.
- Parameters
-
[in] | aValue | The new property value. |
void PvProperty::SetValue |
( |
double |
aValue | ) |
|
Sets the property values from a double.
- Parameters
-
[in] | aValue | The new property value. |
The documentation for this class was generated from the following files: