refactor(config): header guard -> pragma once
This commit is contained in:
@@ -18,8 +18,7 @@
|
|||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// *********************************************************************** */
|
// *********************************************************************** */
|
||||||
#ifndef CONFIG_H
|
#pragma once
|
||||||
#define CONFIG_H
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@@ -134,12 +133,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool loadConfig(const std::string& configFilePath);
|
bool loadConfig(const std::string& configFilePath);
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Get the input table from the configuration.
|
|
||||||
* @return Input table as a string.
|
|
||||||
*/
|
|
||||||
std::string getInputTable() const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get a configuration value by key.
|
* @brief Get a configuration value by key.
|
||||||
* @tparam T Type of the value to retrieve.
|
* @tparam T Type of the value to retrieve.
|
||||||
@@ -234,8 +227,6 @@ public:
|
|||||||
|
|
||||||
// Setup gTest class as a friend
|
// Setup gTest class as a friend
|
||||||
friend class configTestPrivateAccessor;
|
friend class configTestPrivateAccessor;
|
||||||
// -- Resource Manager is a friend of config so it can create a seperate instance
|
// --- Resource Manager is a friend of config so it can create a separate instance
|
||||||
friend class ResourceManager;
|
friend class ResourceManager;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user