/usr/include/arc/IniConfig.h is in nordugrid-arc-dev 4.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | // -*- indent-tabs-mode: nil -*-
#ifndef __ARC_INICONFIG_H__
#define __ARC_INICONFIG_H__
#include <string>
#include <arc/ArcConfig.h>
#include <arc/XMLNode.h>
namespace Arc {
/// Class representing "ini-style" configuration.
/** It provides a way to convert configuration to XML for use with HED
* internally.
* \see Profile
* \ingroup common
* \headerfile IniConfig.h arc/IniConfig.h
*/
class IniConfig
: public XMLNode {
public:
/// Dummy constructor.
IniConfig() : XMLNode(NS(), "IniConfig") {}
/// Read configuration from specified filename.
IniConfig(const std::string& filename);
~IniConfig();
/// Evaluate configuration against the standard profile.
bool Evaluate(Config &cfg);
};
} // namespace Arc
#endif /* __ARC_INICONFIG_H__ */
|