Add getPath and getFileList.
This commit is contained in:
@@ -109,3 +109,13 @@ bool Parser::verifyHashValue()
|
|||||||
{
|
{
|
||||||
return mPrivate->verifyHashValue();
|
return mPrivate->verifyHashValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string Parser::getPath()
|
||||||
|
{
|
||||||
|
return mPrivate->getPath();
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> Parser::getFileList()
|
||||||
|
{
|
||||||
|
return mPrivate->getFileList();
|
||||||
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class ParserPrivate;
|
class ParserPrivate;
|
||||||
class AScanData;
|
class AScanData;
|
||||||
@@ -27,6 +28,8 @@ public:
|
|||||||
Parser(const std::string& aPath);
|
Parser(const std::string& aPath);
|
||||||
~Parser();
|
~Parser();
|
||||||
void setPath(const std::string& aPath);
|
void setPath(const std::string& aPath);
|
||||||
|
std::string getPath();
|
||||||
|
std::vector<std::string> getFileList();
|
||||||
void setDataLength(unsigned long long aLength);
|
void setDataLength(unsigned long long aLength);
|
||||||
unsigned long long getDataLength();
|
unsigned long long getDataLength();
|
||||||
AScanData getAscanDataOfMotorPosition(const TasElementIndex& aSenderIndex,const TasElementIndex& aReceiverIndex, MotorPosition aMotorPosition, ShotList* aShotList = nullptr);
|
AScanData getAscanDataOfMotorPosition(const TasElementIndex& aSenderIndex,const TasElementIndex& aReceiverIndex, MotorPosition aMotorPosition, ShotList* aShotList = nullptr);
|
||||||
|
|||||||
@@ -881,6 +881,16 @@ TemperatureData ParserPrivate::getTemperatureData()
|
|||||||
return mTemperatureData;
|
return mTemperatureData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ParserPrivate::getPath()
|
||||||
|
{
|
||||||
|
return mPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<std::string> ParserPrivate::getFileList()
|
||||||
|
{
|
||||||
|
return mFileList;
|
||||||
|
}
|
||||||
|
|
||||||
bool ParserPrivate::hasCEMeasured()
|
bool ParserPrivate::hasCEMeasured()
|
||||||
{
|
{
|
||||||
switch (mMode)
|
switch (mMode)
|
||||||
@@ -937,4 +947,3 @@ std::string ParserPrivate::getHashValue()
|
|||||||
delete[] hashValue;
|
delete[] hashValue;
|
||||||
return md5Hex;
|
return md5Hex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,8 @@ public:
|
|||||||
ParserPrivate(const ParserPrivate& aParserPrivate);
|
ParserPrivate(const ParserPrivate& aParserPrivate);
|
||||||
|
|
||||||
void setPath(const std::string& aPath);
|
void setPath(const std::string& aPath);
|
||||||
|
std::string getPath();
|
||||||
|
std::vector<std::string> getFileList();
|
||||||
void setDataLength(unsigned long long aLength);
|
void setDataLength(unsigned long long aLength);
|
||||||
unsigned long long getDataLength();
|
unsigned long long getDataLength();
|
||||||
AScanData getAscanDataOfMotorPosition(const TasElementIndex& aSenderIndex,const TasElementIndex& aReceiverIndex, MotorPosition aMotorPosition, ShotList* aShotList);
|
AScanData getAscanDataOfMotorPosition(const TasElementIndex& aSenderIndex,const TasElementIndex& aReceiverIndex, MotorPosition aMotorPosition, ShotList* aShotList);
|
||||||
|
|||||||
Reference in New Issue
Block a user