Logo Search packages:      
Sourcecode: lttoolbox version File versions

bool Compiler::allBlanks (  )  [private]

True if all the elements in the current node are blanks

true if all are blanks

Definition at line 234 of file Compiler.C.

References latin1(), and reader.

Referenced by procEntry(), skip(), and skipBlanks().

  bool flag = true;
  string text = latin1(xmlTextReaderConstValue(reader));
  for(unsigned int i = 0, limit = text.size(); i < limit; i++)
    flag = flag && isspace(text[i]);
  return flag;

Generated by  Doxygen 1.6.0   Back to index