#include <ConfigFileSystem.hpp>
Public Member Functions | |
| ConfigFileSystem (SystemContainer *sc, std::string const &base_dir) | |
| virtual std::string | debug_name () const override |
| virtual bool | flushSystem () override |
| virtual void | status (TextDebugView *view) override |
| void | stream_add_listener (ConfigStream *listener, std::string const &name) |
| void | stream_remove_listener (ConfigStream *listener) |
| bool | stream_exists (std::string const &name) |
| void | stream_read (std::string const &name, std::function< void(std::istream &) > const &) |
| void | stream_write (std::string const &name, std::function< void(std::ostream &) > const &) |
| std::string | get_filepath (std::string const &name) |
Public Member Functions inherited from iv::System | |
| System (SystemContainer *sc) | |
| virtual | ~System () |
| SystemContainer * | system_container () const |
| void | retain () |
| void | release () |
Public Member Functions inherited from iv::Context | |
| Context () | |
| virtual | ~Context () |
| template<class ... Items> | |
| void | log (SrcInfo const &info, LogId id, Items const &... items) const |
| bool | log_enabled (LogId id) const |
| template<class ... Items> | |
| void | warning (SrcInfo const &info, Items const &... items) const |
Additional Inherited Members | |
Protected Member Functions inherited from iv::System | |
| virtual bool | log_process_enabled (LogId id) const override final |
| virtual void | log_process (SrcInfo const &info, LogId id, std::string const &message) const override final |
Detailed Description
Constructor uses parameter application_name, this may be used as directory name for configuration files in system configuration home.
Definition at line 43 of file ConfigFileSystem.hpp.
Constructor & Destructor Documentation
◆ ConfigFileSystem()
| iv::ConfigFileSystem::ConfigFileSystem | ( | SystemContainer * | sc, |
| std::string const & | base_dir | ||
| ) |
Definition at line 74 of file ConfigFileSystem.cpp.
Member Function Documentation
◆ debug_name()
|
inlineoverridevirtual |
Reimplemented from iv::System.
Definition at line 48 of file ConfigFileSystem.hpp.
◆ flushSystem()
|
overridevirtual |
Reimplemented from iv::System.
Definition at line 81 of file ConfigFileSystem.cpp.
◆ status()
|
overridevirtual |
Reimplemented from iv::System.
Definition at line 107 of file ConfigFileSystem.cpp.
◆ stream_add_listener()
| void iv::ConfigFileSystem::stream_add_listener | ( | ConfigStream * | listener, |
| std::string const & | name | ||
| ) |
Definition at line 153 of file ConfigFileSystem.cpp.
◆ stream_remove_listener()
| void iv::ConfigFileSystem::stream_remove_listener | ( | ConfigStream * | listener | ) |
Definition at line 158 of file ConfigFileSystem.cpp.
◆ stream_exists()
| bool iv::ConfigFileSystem::stream_exists | ( | std::string const & | name | ) |
Definition at line 184 of file ConfigFileSystem.cpp.
◆ stream_read()
| void iv::ConfigFileSystem::stream_read | ( | std::string const & | name, |
| std::function< void(std::istream &) > const & | f | ||
| ) |
Definition at line 168 of file ConfigFileSystem.cpp.
◆ stream_write()
| void iv::ConfigFileSystem::stream_write | ( | std::string const & | name, |
| std::function< void(std::ostream &) > const & | f | ||
| ) |
Definition at line 191 of file ConfigFileSystem.cpp.
◆ get_filepath()
| std::string iv::ConfigFileSystem::get_filepath | ( | std::string const & | name | ) |
Definition at line 220 of file ConfigFileSystem.cpp.
The documentation for this class was generated from the following files:
- ivorium_systems/ConfigFileSystem/ConfigFileSystem.hpp
- ivorium_systems/ConfigFileSystem/ConfigFileSystem.cpp

Public Member Functions inherited from 