28 FilePos(
size_t _line,
size_t _col);
67 bool check(char32_t _val);
73 void set(
size_t _line,
size_t _col);
90 std::ostream& operator <<(std::ostream& _os,
const FilePos& _obj);
FilePos & operator++()
Increment the colomn position.
bool check(char32_t _val)
Check if the value is a new line and update internal property.
size_t getCol() const
Get the colomn position.
exml namespace containing all function for XML interpretor
Definition: Attribute.hpp:11
void newLine()
Find a new line & reset colomn at 0.
FilePos & operator--()
Decrement the colomn position.
FilePos & operator=(const FilePos &_obj)
Asignment operator.
Position in the file of the original data.
Definition: FilePos.hpp:14
void clear()
Reset position at 0,0.
FilePos()
default contructor (set line and col at 0)
size_t getLine() const
Get the line number position.
FilePos & operator+=(const FilePos &_obj)
Addition operator.