libabigail
Public Types | Public Member Functions | List of all members
property_value Class Referenceabstract

Base class of propertie values. More...

#include <abg-ini.h>

Inheritance diagram for property_value:
[legend]

Public Types

enum  value_kind { ABSTRACT_PROPERTY_VALUE , STRING_PROPERTY_VALUE , LIST_PROPERTY_VALUE , TUPLE_PROPERTY_VALUE }
 

Public Member Functions

 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...
 
virtual const string & as_string () const =0
 
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...
 

Detailed Description

Base class of propertie values.

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

Constructor & Destructor Documentation

◆ property_value() [1/2]

Default constructor for the property_value type.

Parameters
kindthe of property_value that is being constructed.

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

◆ property_value() [2/2]

property_value ( value_kind  kind)

Constructor for the property_value type.

Parameters
kindthe of property_value that is being constructed.

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

◆ ~property_value()

~property_value ( )
virtual

Destructor for the proprerty_value type.

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

Member Function Documentation

◆ get_kind()

property_value::value_kind get_kind ( ) const

Getter for the kind of the property_value type.

Returns
the kind of property_value we are looking at.

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

◆ operator const string &()

operator const string & ( ) const

Converts the current property value to a string.

Returns
the string representation of the property value.

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


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