GEOS
|
#include <xmlWrapper.hpp>
Public Member Functions | |
xmlAttributePos (string const &filePath, size_t line, size_t offsetInLine, size_t offset) | |
Constructor of this struct. More... | |
bool | isFound () const |
string | toString () const |
Public Attributes | |
string | filePath |
Path of the file containing this element. | |
size_t const | line |
size_t const | offsetInLine |
size_t const | offset |
Stores the source file path, and position in the file of a xml attribute.
Definition at line 76 of file xmlWrapper.hpp.
geos::xmlWrapper::xmlAttributePos::xmlAttributePos | ( | string const & | filePath, |
size_t | line, | ||
size_t | offsetInLine, | ||
size_t | offset | ||
) |
Constructor of this struct.
filePath | the path of the original xml file containing this attribute |
line | Line where the element is defined. Start at 1. |
offsetInLine | Character offset of this element in the line that contains it (starting from 1) |
offset | Character offset of this element in the file that contains it (starting from 0) |
bool geos::xmlWrapper::xmlAttributePos::isFound | ( | ) | const |
string geos::xmlWrapper::xmlAttributePos::toString | ( | ) | const |
size_t const geos::xmlWrapper::xmlAttributePos::line |
Line where the element is defined. Start at 1. Default value is xmlDocument::npos
Definition at line 82 of file xmlWrapper.hpp.
size_t const geos::xmlWrapper::xmlAttributePos::offset |
Character offset of this element in the file that contains it (starting from 0) Equals to xmlDocument::npos if it couldn't be determined.
Definition at line 88 of file xmlWrapper.hpp.
size_t const geos::xmlWrapper::xmlAttributePos::offsetInLine |
Character offset of this element in the line that contains it (starting from 1) Equals to xmlDocument::npos if it couldn't be determined.
Definition at line 85 of file xmlWrapper.hpp.