ARC SDK
IniConfig.h
1 // -*- indent-tabs-mode: nil -*-
2 
3 #ifndef __ARC_INICONFIG_H__
4 #define __ARC_INICONFIG_H__
5 
6 #include <string>
7 
8 #include <arc/ArcConfig.h>
9 #include <arc/XMLNode.h>
10 
11 namespace Arc {
12 
14 
20  class IniConfig
21  : public XMLNode {
22  public:
24  IniConfig() : XMLNode(NS(), "IniConfig") {}
26  IniConfig(const std::string& filename);
27  ~IniConfig();
29  bool Evaluate(Config &cfg);
30  };
31 
32 } // namespace Arc
33 
34 #endif /* __ARC_INICONFIG_H__ */
Arc namespace contains all core ARC classes.
Definition: ArcConfig.h:11
Wrapper for LibXML library Tree interface.
Definition: XMLNode.h:61
Class to represent an XML namespace.
Definition: XMLNode.h:28
Class representing "ini-style" configuration.
Definition: IniConfig.h:20
bool Evaluate(Config &cfg)
Evaluate configuration against the standard profile.
IniConfig()
Dummy constructor.
Definition: IniConfig.h:24
Configuration element - represents (sub)tree of ARC XML configuration.
Definition: ArcConfig.h:26