libabigail
Loading...
Searching...
No Matches
list_property Class Reference

A class representing a list property. More...

#include <abg-ini.h>

Inheritance diagram for list_property:
[legend]

Public Member Functions

 list_property ()
 Default constructor for list_property.
 
 list_property (const string &name, const list_property_value_sptr &value)
 Constructor for list_property.
 
virtual ~list_property ()
 Destructor of the list_property type.
 
const list_property_value_sptrget_value () const
 Getter for the value of the list_property_value.
 
void set_value (const list_property_value_sptr &value)
 Setter for the value of the list_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.
 

Detailed Description

A class representing a list property.

It abstracts a construct which syntax looks like:

name = val1, val2, val3

The value of a list property is a list_property_value, i.e, a list of strings.

Definition at line 254 of file abg-ini.h.

Constructor & Destructor Documentation

◆ list_property() [1/2]

Default constructor for list_property.

Definition at line 647 of file abg-ini.cc.

◆ list_property() [2/2]

list_property ( const string & name,
const list_property_value_sptr & value )

Constructor for list_property.

Parameters
namethe name of the property.
valuethe value of the property.

Definition at line 656 of file abg-ini.cc.

◆ ~list_property()

~list_property ( )
virtual

Destructor of the list_property type.

Definition at line 675 of file abg-ini.cc.

Member Function Documentation

◆ get_value()

const list_property_value_sptr & get_value ( ) const

Getter for the value of the list_property_value.

Definition at line 664 of file abg-ini.cc.

◆ set_value()

void set_value ( const list_property_value_sptr & value)

Setter for the value of the list_property.

Parameters
valuethe new value.

Definition at line 671 of file abg-ini.cc.


The documentation for this class was generated from the following files: