libabigail
|
Abstracts the value of a property representing a list of strings. More...
#include <abg-ini.h>
Public Member Functions | |
list_property_value () | |
Default constructor of the list_property_value type. More... | |
list_property_value (const vector< string > &values) | |
Copy constructor of the list_property_value type. More... | |
virtual const string & | as_string () const |
Return a string representation of the @list_property_value. More... | |
const vector< string > & | get_content () const |
Getter of the content of the list_property_value. More... | |
void | set_content (const vector< string > &) |
Setter of the content of the list_property_value. More... | |
Public Member Functions inherited from property_value | |
property_value () | |
Default constructor for the property_value type. More... | |
property_value (value_kind) | |
Constructor for the property_value type. More... | |
virtual | ~property_value () |
Destructor for the proprerty_value type. More... | |
value_kind | get_kind () const |
Getter for the kind of the property_value type. More... | |
operator const string & () const | |
Converts the current property value to a string. More... | |
Additional Inherited Members | |
Public Types inherited from property_value | |
enum | value_kind { ABSTRACT_PROPERTY_VALUE , STRING_PROPERTY_VALUE , LIST_PROPERTY_VALUE , TUPLE_PROPERTY_VALUE } |
Abstracts the value of a property representing a list of strings.
It's the right hand side of the construct which syntax looks like:
name = val1, val2, val3
where val1, val2 and val3 are strings.
So this class abstracts the set [val1, val2, val3].
Default constructor of the list_property_value type.
Definition at line 374 of file abg-ini.cc.
list_property_value | ( | const vector< string > & | values | ) |
Copy constructor of the list_property_value type.
values | the instance of list_property_value to copy from. |
Definition at line 382 of file abg-ini.cc.
|
virtual |
Return a string representation of the @list_property_value.
Implements property_value.
Definition at line 413 of file abg-ini.cc.
const vector< string > & get_content | ( | ) | const |
Getter of the content of the list_property_value.
The content of the list_property_value is a vector of strings.
Definition at line 396 of file abg-ini.cc.
void set_content | ( | const vector< string > & | values | ) |
Setter of the content of the list_property_value.
values | the new content, which is a vector of strings. |
Definition at line 403 of file abg-ini.cc.