libabigail
Public Member Functions | List of all members
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. More...
 
 list_property (const string &name, const list_property_value_sptr &value)
 Constructor for list_property. More...
 
virtual ~list_property ()
 Destructor of the list_property type. More...
 
const list_property_value_sptrget_value () const
 Getter for the value of the list_property_value. More...
 
void set_value (const list_property_value_sptr &value)
 Setter for the value of the list_property. More...
 
- Public Member Functions inherited from property
 property ()
 Constructor of property. More...
 
 property (const string &name)
 Constructor of property. More...
 
virtual ~property ()
 Destructor of the property. More...
 
const string & get_name () const
 Getter of the name of the property. More...
 
void set_name (const string &name)
 Setter of the name of the property. More...
 

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: