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

bool Expander::allBlanks (  )  [private]

True if all the elements in the current node are blanks

Returns:
true if all are blanks

Definition at line 93 of file Expander.C.

References reader.

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

{
  bool flag = true;
  string text = XMLParseUtil::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