AOSharedServiceLibrary
Public Member Functions | List of all members
PropertiesReaderInterface Class Referenceabstract

PropertiesReaderInterface. More...

#include <properties_reader_interface.h>

Public Member Functions

virtual bool opt_exist (std::string key)=0
 Does a key exist?
 
virtual std::string get_opt (std::string key)=0
 Get an option by key.
 
virtual bool list_exist (std::string key)=0
 Does a list exist within the configuration?
 
virtual std::vector< std::string > get_list (std::string key)=0
 Get a list that exists within the configuration.
 

Detailed Description

PropertiesReaderInterface.

Here we create a new interpreter by passing in a single argument, the address of a properties file. This file is opened and read, with properties in the form: property_name=property_value This also accepts lists in the form -list_name-list_value -list_name-list_value2


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