mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
enable object array parsing in JSON parser for devices, channels, and sockets.
device, channel, and socket are parsed as before
This commit is contained in:
@@ -39,6 +39,17 @@ struct XML
|
||||
FairMQMap UserParser(std::stringstream& input, const std::string& deviceId, const std::string& rootNode = "fairMQOptions");
|
||||
};
|
||||
|
||||
|
||||
namespace helper
|
||||
{
|
||||
void PrintDeviceList(const boost::property_tree::ptree& tree, const std::string& formatFlag = "json");
|
||||
void DeviceParser(const boost::property_tree::ptree& tree, FairMQMap& channelMap, const std::string& deviceId, const std::string& formatFlag);
|
||||
void ChannelParser(const boost::property_tree::ptree& tree, FairMQMap& channelMap, const std::string& formatFlag);
|
||||
void SocketParser(const boost::property_tree::ptree& tree, std::vector<FairMQChannel>& channelList);
|
||||
}
|
||||
|
||||
|
||||
|
||||
} // FairMQParser namespace
|
||||
#endif /* FAIRMQPARSER_H */
|
||||
|
||||
|
Reference in New Issue
Block a user