Skip to content

Commit

Permalink
Configure.h get ptree (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-c authored and Barthelemy committed Aug 19, 2019
1 parent a64b44e commit 6fd47a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/Common/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ class ConfigFile
/// Print configuration tree
void print();

/// Get configuration tree
boost::property_tree::ptree& get()
{
return dPtr->pt;
}

private:
ConfigFilePrivate *dPtr;

Expand Down

0 comments on commit 6fd47a6

Please sign in to comment.