69 virtual bool Open (
const std::string & inMCSFilePath);
74 virtual void Close (
void);
75 virtual bool InsertBitFile (
const std::string & inBitFileName,
const std::string & inMCSFileName,
const std::string & inUserMessage);
76 virtual void IRecordOutput (
const char *pIRecord);
78 virtual uint32_t GetFileByteStream (uint32_t numberOfLines = 0);
79 virtual bool isReady (
void)
const;
80 virtual bool FindExtendedLinearAddressRecord (uint16_t address = 0x0000);
82 virtual uint32_t GetPartition (
UByteSequence & patitionBuffer, uint16_t baseELARaddress, uint16_t & partitionOffset,
bool nextPartition =
false);
87 virtual std::string GetMCSPackageVersionString (
void)
const;
88 virtual std::string GetMCSPackageDateString (
void)
const;
89 virtual bool GetMCSHeaderInfo (
const std::string & inMCSFileName);
90 virtual inline const std::string & GetLastError (
void)
const {
return mLastError;}
93 virtual void SetLastError (
const std::string & inStr,
const bool inAppend =
false);
97 virtual void GetMCSInfo ();
99 std::ifstream mMCSFileStream;
100 std::string mCurrentRecord;
105 std::string mCommentString;
106 std::string mMCSInfoString;
109 std::string mBitfileDate;
110 std::string mBitfileTime;
111 std::string mBitfileDesignName;
112 std::string mBitfilePartName;
113 std::string mLastError;
117 #endif // NTV2MCSFILE_H