libabigail
|
A simple property. That is, one which value is a string_property_value. More...
#include <abg-ini.h>
Public Member Functions | |
simple_property () | |
Default constructor of the simple_property type. | |
simple_property (const string &name) | |
Constructor for the simple_property type. | |
simple_property (const string &name, const string_property_value_sptr &value) | |
Constructor for the simple_property type. | |
virtual | ~simple_property () |
Destructor of the simple_property type. | |
const string_property_value_sptr & | get_value () const |
Getter for the string value of the property. | |
bool | has_empty_value () const |
Test if the property has an empty value. | |
void | set_value (const string_property_value_sptr &value) |
Setter for the string value of the property. | |
Public Member Functions inherited from property | |
property () | |
Constructor of property. | |
property (const string &name) | |
Constructor of property. | |
virtual | ~property () |
Destructor of the property. | |
const string & | get_name () const |
Getter of the name of the property. | |
void | set_name (const string &name) |
Setter of the name of the property. | |
A simple property. That is, one which value is a string_property_value.
simple_property | ( | ) |
Default constructor of the simple_property type.
Definition at line 556 of file abg-ini.cc.
simple_property | ( | const string & | name, |
const string_property_value_sptr & | value ) |
Constructor for the simple_property type.
name | the name of the property. |
value | the value of the property. |
Definition at line 566 of file abg-ini.cc.
simple_property | ( | const string & | name | ) |
Constructor for the simple_property type.
This one constructs a property with an empty value.
name | the name of the property. |
Definition at line 577 of file abg-ini.cc.
|
virtual |
Destructor of the simple_property type.
Definition at line 610 of file abg-ini.cc.
const string_property_value_sptr & get_value | ( | ) | const |
Getter for the string value of the property.
Definition at line 586 of file abg-ini.cc.
bool has_empty_value | ( | ) | const |
Test if the property has an empty value.
An empty value is either no value at all or an empty string value.
Definition at line 602 of file abg-ini.cc.
void set_value | ( | const string_property_value_sptr & | value | ) |
Setter for the string value of the property.
value | the new string value of the property. |
Definition at line 593 of file abg-ini.cc.