MCPcopy Create free account
hub / github.com/DFHack/dfhack / ErrorRow

Method ErrorRow

depends/tinyxml/tinyxml.h:1477–1477  ·  view source on GitHub ↗

Returns the location (if known) of the error. The first column is column 1, and the first row is row 1. A value of 0 means the row and column wasn't applicable (memory errors, for example, have no row/column) or the parser lost the error. (An error in the error reporting, in that case.) @sa SetTabSize, Row, Column */

Source from the content-addressed store, hash-verified

1475 @sa SetTabSize, Row, Column
1476 */
1477 int ErrorRow() const { return errorLocation.row+1; }
1478 int ErrorCol() const { return errorLocation.col+1; } ///< The column where the error occured. See ErrorRow()
1479
1480 /** SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol())

Callers 1

loadFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected