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

bool DjVuANT::is_empty ( void   ) const

Returns TRUE if no features are specified or specified features are not different from default ones

Definition at line 1400 of file DjVuAnno.cpp.

References encode_raw(), GBaseString::length(), and GUTF8String::setat().

   GUTF8String raw=encode_raw();
   for(int i=raw.length()-1;i>=0;i--)
      if (isspace(raw[i])) raw.setat(i, 0);
      else break;
   return raw.length()==0;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index