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