MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / SetTabSize

Method SetTabSize

lesson7-Detection/src/utils/tinyxml.h:1504–1504  ·  view source on GitHub ↗

SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct values for row and column. It does not change the output or input in any way. By calling this method, with a tab size greater than 0, the row and column of each node and attribute is stored when the file is loaded. Very useful for tracking the DOM back in to the source file. The ta

Source from the content-addressed store, hash-verified

1502 @sa Row, Column
1503 */
1504 void SetTabSize( int _tabsize ) { tabsize = _tabsize; }
1505
1506 int TabSize() const { return tabsize; }
1507

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected