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() */
| 40 | @copydetails IntegerNode::checkInvariant() |
| 41 | */ |
| 42 | void 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 |