libabigail
|
This file contains the definitions for the ini file reader used in the libabigail library. More...
#include <cassert>
#include <cstdlib>
#include <utility>
#include <memory>
#include <fstream>
#include <sstream>
#include "abg-fwd.h"
#include "abg-internal.h"
#include "abg-ini.h"
Go to the source code of this file.
Namespaces | |
namespace | abigail |
Toplevel namespace for libabigail. | |
namespace | abigail::ini |
Namespace for handling ini-style files. | |
Functions | |
list_property * | is_list_property (const property *p) |
Test if an instance of a property is actually an instance of list_property. More... | |
list_property_sptr | is_list_property (const property_sptr p) |
Test if an instance of a property is actually an instance of list_property. More... | |
list_property_value * | is_list_property_value (const property_value *v) |
Test if an instance of @property_value is a list_property_value. More... | |
list_property_value_sptr | is_list_property_value (const property_value_sptr &v) |
Test if an instance of @property_value is a list_property_value. More... | |
simple_property * | is_simple_property (const property *p) |
Tests if a property is a simple property. More... | |
simple_property_sptr | is_simple_property (const property_sptr p) |
Tests if a property is a simple property. More... | |
string_property_value * | is_string_property_value (const property_value *v) |
Test if a given property value is a string property value. More... | |
string_property_value_sptr | is_string_property_value (const property_value_sptr v) |
Test if a given property value is a string property value. More... | |
tuple_property * | is_tuple_property (const property *p) |
Test if an instance of property is an instance of tuple_property. More... | |
tuple_property_sptr | is_tuple_property (const property_sptr p) |
Test if an instance of property is an instance of tuple_property. More... | |
tuple_property_value * | is_tuple_property_value (const property_value *v) |
Test if a given instance of property_value is an instance of tuple_property_value too. More... | |
tuple_property_value_sptr | is_tuple_property_value (const property_value_sptr v) |
Test if a given instance of property_value is an instance of tuple_property_value too. More... | |
config_sptr | read_config (const string &path) |
Parse an ini config file from an on-disk file. More... | |
bool | read_config (const string &path, config &conf) |
Parse an ini config file from a file on disk. More... | |
bool | read_config (istream &input, config &conf) |
Parse an ini config file from an input stream. More... | |
config_sptr | read_config (std::istream &input) |
Parse an ini config file from an input stream. More... | |
function_call_expr_sptr | read_function_call_expr (const string &input) |
Read a function call expression and build its representation. More... | |
bool | read_function_call_expr (const string &input, function_call_expr_sptr &expr) |
Read a function call expression and build its representation. More... | |
bool | read_function_call_expr (std::istream &input, function_call_expr_sptr &expr) |
Read a function call expression and build its representation. More... | |
bool | read_sections (const string &path, config::sections_type §ions) |
Parse the sections of an *.ini file. More... | |
bool | read_sections (std::istream &input, config::sections_type §ions) |
Parse the sections of an *.ini file. More... | |
bool | write_config (const config &conf, const string &path) |
Serialize an instance of conf to an on-disk file. More... | |
bool | write_config (const config &conf, std::ostream &output) |
Serialize an instance of config to an output stream. More... | |
bool | write_sections (const config::sections_type §ions, const string &path) |
Serialize a vector of sections that make up an ini config to a file. More... | |
bool | write_sections (const config::sections_type §ions, std::ostream &out) |
Serialize a vector of sections that make up an ini config file to an output stream. More... | |
This file contains the definitions for the ini file reader used in the libabigail library.
Definition in file abg-ini.cc.