Skip to content
Snippets Groups Projects
Commit 53bac67b authored by Jose Luis Vazquez-Garcia's avatar Jose Luis Vazquez-Garcia
Browse files

Update loading_file.rst

parent 25073761
Branches feat/dynamic-manager
No related tags found
1 merge request!8How to load an XML file into a Hash
Pipeline #164445 passed
......@@ -12,7 +12,7 @@ Hash:
try {
// We assume the file is inside the Karabo installation
std::string file_path(karabo::util::Version::getPathToKaraboInstallation() + "/var/data/my_file.xml");
std::string file_name_path(karabo::util::Version::getPathToKaraboInstallation() + "/var/data/my_file.xml");
// Load the content of the file into 'config'.
// This is protected in a try-catch block, in case something is wrong (the file format can be
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment