mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
22 lines
416 B
C++
22 lines
416 B
C++
#include "IParserLineStream.h"
|
|
|
|
const std::string ParserLine::EMPTY_STRING;
|
|
|
|
ParserLine::ParserLine()
|
|
: m_filename(EMPTY_STRING),
|
|
m_line_number(0)
|
|
{
|
|
}
|
|
|
|
ParserLine::ParserLine(const std::string& filename, const int lineNumber, std::string line)
|
|
: m_filename(filename),
|
|
m_line_number(lineNumber),
|
|
m_line(std::move(line))
|
|
{
|
|
}
|
|
|
|
bool ParserLine::IsEof() const
|
|
{
|
|
return m_line_number <= 0;
|
|
}
|