![]() |
PIP 5.6.1
Platform-Independent Primitives
|
PIPropertyStorage element. More...
#include <pipropertystorage.h>
Public Member Functions | |
| Property (const PIString &n=PIString(), const PIString &c=PIString(), const PIVariant &v=PIVariant(), int f=0) | |
| Contructs PIPropertyStorage::Property with name "n", comment "c", value "v" and flags "f". | |
| Property (const Property &o) | |
| Contructs copy of another PIPropertyStorage::Property "o". | |
| Property & | operator= (const Property &v) |
| Assign operator. | |
| bool | toBool () const |
| Returns value as boolean. | |
| int | toInt () const |
| Returns value as integer. | |
| float | toFloat () const |
| Returns value as float. | |
| double | toDouble () const |
| Returns value as double. | |
| PIString | toString () const |
| Returns value as string. | |
Public Attributes | |
| PIString | name |
| Property name (uniqueue for PIPropertyStorage) More... | |
| PIString | comment |
| Optional description of property. More... | |
| PIVariant | value |
| Property value. More... | |
| int | flags |
| Abstract flags which may be used for user needs. More... | |
PIPropertyStorage element.
| PIString PIPropertyStorage::Property::name |
Property name (uniqueue for PIPropertyStorage)
Unique identifier for the property within a PIPropertyStorage instance.
| PIString PIPropertyStorage::Property::comment |
Optional description of property.
Additional descriptive text providing information about the property's purpose or usage.
| PIVariant PIPropertyStorage::Property::value |
Property value.
The value stored in the property, which can be of any type supported by PIVariant.
| int PIPropertyStorage::Property::flags |
Abstract flags which may be used for user needs.
User-defined flags for application-specific property management.