Logo Search packages:      
Sourcecode: lttoolbox version File versions  Download package

void Expander::requireEmptyError ( string const &  name  )  [private]

Force an element to be empty, and check for it

Parameters:
name the element

Definition at line 82 of file Expander.C.

References reader.

{
  if(!xmlTextReaderIsEmptyElement(reader))
  {
    cerr << "Error (" << xmlTextReaderGetParserLineNumber(reader);
    cerr << "): Non-empty element '<" << name << ">' should be empty." << endl;
    exit(EXIT_FAILURE);
  }
}


Generated by  Doxygen 1.6.0   Back to index