|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef TRIGCONFSTORAGE_JSONFILELOADER_H
13 #define TRIGCONFSTORAGE_JSONFILELOADER_H
18 #include "boost/property_tree/ptree.hpp"
51 const std::string & pathToChild =
"")
const;
61 const std::string & pathToChild =
"")
const;
84 std::string &
level )
const;
char data[hepevt_bytes_allocation_ATLAS]
MSGTC::Level outputLevel() const
std::string findFile(const std::string &filename) const
bool loadFile(const std::string &filename, boost::property_tree::ptree &data, const std::string &pathToChild="") const
Load content of json file into a ptree.
JsonFileLoader()
Constructor.
bool checkTriggerLevel(const std::string &filename, std::string &level) const
Checks the trigger level of a given json file.
Forward iterator to traverse the main components of the trigger configuration.
bool saveFile(const std::string &filename, const DataStructure &data) const
Save content of DataStructure (underlying ptree) to a file.
MsgStreamTC & msg() const
The standard message stream.
MSGTC::Level level()
Return message level of stream.
std::string getFileType(const std::string &filename) const
Checks the trigger level of a given json file.
void setLevel(MSGTC::Level lvl)
virtual ~JsonFileLoader() override=default
Destructor.
boost::property_tree::ptree ptree
Base class for Trigger configuration data and wrapper around underlying representation.
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging)
Loader of trigger configurations from Json files.
void setLevel(MSGTC::Level lvl)
Set message level of stream.