MCPcopy Create free account
hub / github.com/PDAL/PDAL / checkInvariant

Method checkInvariant

plugins/e57/libE57Format/src/StringNode.cpp:42–57  ·  view source on GitHub ↗

Put this function first so we can reference the code in doxygen using @skip ! @brief Check whether StringNode class invariant is true @copydetails IntegerNode::checkInvariant() */

Source from the content-addressed store, hash-verified

40@copydetails IntegerNode::checkInvariant()
41*/
42void StringNode::checkInvariant( bool /*doRecurse*/, bool doUpcast ) const
43{
44 // If destImageFile not open, can't test invariant (almost every call would
45 // throw)
46 if ( !destImageFile().isOpen() )
47 {
48 return;
49 }
50
51 // If requested, call Node::checkInvariant
52 if ( doUpcast )
53 {
54 static_cast<Node>( *this ).checkInvariant( false, false );
55 }
56 // ? check legal UTF-8
57}
58
59/*!
60@class e57::StringNode

Callers

nothing calls this directly

Calls 1

isOpenMethod · 0.45

Tested by

no test coverage detected