Rename readDeviceFile=>readDeviceSpecFile
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
namespace smo {
|
namespace smo {
|
||||||
namespace device {
|
namespace device {
|
||||||
|
|
||||||
std::string DeviceManager::readDeviceFile(const std::string& filename)
|
std::string DeviceManager::readDeviceSpecFile(const std::string& filename)
|
||||||
{
|
{
|
||||||
std::ifstream file(filename);
|
std::ifstream file(filename);
|
||||||
if (!file.is_open())
|
if (!file.is_open())
|
||||||
@@ -37,7 +37,7 @@ void DeviceManager::collateAllDeviceSpecs(void)
|
|||||||
|
|
||||||
for (const auto& file : options.deviceSpecFiles)
|
for (const auto& file : options.deviceSpecFiles)
|
||||||
{
|
{
|
||||||
std::string fileContent = readDeviceFile(file);
|
std::string fileContent = readDeviceSpecFile(file);
|
||||||
if (!allDeviceSpecs.empty()) {
|
if (!allDeviceSpecs.empty()) {
|
||||||
allDeviceSpecs += "||";
|
allDeviceSpecs += "||";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public:
|
|||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string readDeviceFile(const std::string& filename);
|
std::string readDeviceSpecFile(const std::string& filename);
|
||||||
void collateAllDeviceSpecs(void);
|
void collateAllDeviceSpecs(void);
|
||||||
void parseAllDeviceSpecs(void);
|
void parseAllDeviceSpecs(void);
|
||||||
static const std::string stringifyDeviceSpecs(void);
|
static const std::string stringifyDeviceSpecs(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user