ARC SDK
Profile.h
1 // -*- indent-tabs-mode: nil -*-
2 
3 #ifndef __ARC_PROFILE_H__
4 #define __ARC_PROFILE_H__
5 
6 #include <string>
7 
8 #include <arc/ArcConfig.h>
9 #include <arc/IniConfig.h>
10 #include <arc/Logger.h>
11 #include <arc/XMLNode.h>
12 
13 namespace Arc {
14 
16 
18  class Profile
19  : public XMLNode {
20  public:
22  Profile(const std::string& filename);
23  ~Profile();
25  void Evaluate(Config &cfg, IniConfig ini);
26  };
27 
28 } // namespace Arc
29 
30 #endif /* __ARC_PROFILE_H__ */
Arc namespace contains all core ARC classes.
Definition: ArcConfig.h:11
Wrapper for LibXML library Tree interface.
Definition: XMLNode.h:61
void Evaluate(Config &cfg, IniConfig ini)
Evaluate the given ini-style configuration against the current profile.
Class representing "ini-style" configuration.
Definition: IniConfig.h:20
Profile(const std::string &filename)
Create a new profile with the given profile file.
Configuration element - represents (sub)tree of ARC XML configuration.
Definition: ArcConfig.h:26
Class used to convert human-friendly ini-style configuration to XML.
Definition: Profile.h:18