eRPC Generator (erpcgen)
Rev. 1.12.0
NXP Semiconductors
|
This class contains necessary information about analyzed file. More...
#include <ErpcLexer.hpp>
Public Member Functions | |
CurrentFileInfo (std::ifstream *savedFile, const std::string &fileName, const std::string ¤tFolderPath) | |
Constructor. More... | |
~CurrentFileInfo () | |
Destructor. More... | |
Public Attributes | |
smart_ptr< std::ifstream > | m_savedFile |
CurrentFileInfo * | m_previous |
int | m_line |
int | m_column |
std::string | m_fileName |
std::string | m_currentFolderPath |
This class contains necessary information about analyzed file.
|
inline |
Constructor.
This function set default values to object variables. Pointer to file ifstream, file name and current folder path are given as function parameters.
[in] | savedFile | Pointer to analyzed file. |
[in] | fileName | Name of analyzed file. |
[in] | currentFolderPath | Path to folder of current file. |
|
inline |
Destructor.
This function will close used file, when destructor is called.
int erpcgen::CurrentFileInfo::m_column |
Column number on the line in current file.
std::string erpcgen::CurrentFileInfo::m_currentFolderPath |
Path to folder of current file.
std::string erpcgen::CurrentFileInfo::m_fileName |
File name for current file.
int erpcgen::CurrentFileInfo::m_line |
Line number in current file.
CurrentFileInfo* erpcgen::CurrentFileInfo::m_previous |
Pointer to previous saved file info.
smart_ptr<std::ifstream> erpcgen::CurrentFileInfo::m_savedFile |
Pointer to current file