Tango Core Classes Reference
9.3.3
|
This class represents a Tango compound attribute property which consists of two values. More...
#include "tango.h"
Public Member Functions | |
Constructors | |
Miscellaneous constructors | |
DoubleAttrProp () | |
Default constructor. | |
DoubleAttrProp (const vector< T > &values) | |
Create a new DoubleAttrProp object. More... | |
DoubleAttrProp (const T &value) | |
Create a new DoubleAttrProp object. More... | |
DoubleAttrProp (const char *value_str) | |
Create a new DoubleAttrProp object. More... | |
DoubleAttrProp (const string &value_str) | |
Create a new DoubleAttrProp object. More... | |
Assignment operators | |
These operators allow to assign the values of the compound attribute property by providing the values or their string representations. | |
DoubleAttrProp & | operator= (const vector< T > &values) |
Assign the values of the compound attribute property. More... | |
DoubleAttrProp & | operator= (const T &value) |
Assign the values of the compound attribute property. More... | |
DoubleAttrProp & | operator= (const char *value_str) |
Assign the values of the compound attribute property. More... | |
DoubleAttrProp & | operator= (const string &value_str) |
Assign the values of the compound attribute property. More... | |
Get/Set object members. | |
These methods allow the external world to get/set DoubleAttrProp instance data members | |
vector< T > | get_val () |
Get the vector containing the compound attribute property values. More... | |
string & | get_str () |
Get string representation of the compound attribute property values. More... | |
void | set_val (const vector< T > &values) |
Set the compound attribute property values. More... | |
void | set_val (const T &value) |
Set the compound attribute property values. More... | |
void | set_str (const char *value_str) |
Set string representation of the compound attribute property values. More... | |
void | set_str (const string &value_str) |
Set string representation of the compound attribute property values. More... | |
Check method | |
A method returning a boolean flag set to true if the compound attribute property values have been assigned. | |
bool | is_val () |
Check if the compound attribute property values have been assigned. More... | |
This class represents a Tango compound attribute property which consists of two values.
|
inline |
Create a new DoubleAttrProp object.
values | A vector containing two values of the compound attribute property. |
|
inline |
Create a new DoubleAttrProp object.
value | The figure assigned to both values of the compound attribute property. |
|
inline |
Create a new DoubleAttrProp object.
value_str | The 'C string' representation of values of the compound attribute property. |
|
inline |
Create a new DoubleAttrProp object.
value_str | The string representation of values of the compound attribute property. |
|
inline |
Get string representation of the compound attribute property values.
|
inline |
Get the vector containing the compound attribute property values.
|
inline |
Check if the compound attribute property values have been assigned.
This method returns a boolean set to true if the compound attribute property values have been assigned.
|
inline |
Assign the values of the compound attribute property.
value_str | A 'C string' representation of values of the compound attribute property. |
|
inline |
Assign the values of the compound attribute property.
value_str | A string representation of values of the compound attribute property. |
|
inline |
Assign the values of the compound attribute property.
value | A figure representing both values of the compound attribute property. |
|
inline |
Assign the values of the compound attribute property.
values | A vector containing compound attribute property values. |
|
inline |
Set string representation of the compound attribute property values.
value_str | The 'C string' representation of the compound attribute property values. |
|
inline |
Set string representation of the compound attribute property values.
value_str | The string representation of the compound attribute property values. |
|
inline |
Set the compound attribute property values.
The figure provided is set for both values of the compound attribute property and is automatically converted to its string representation.
value | The figure representing both values of the compound attribute property. |
|
inline |
Set the compound attribute property values.
The values are automatically converted to their string representation.
values | The vector containing the compound attribute property values. |