Logo Search packages:      
Sourcecode: djvulibre version File versions

unsigned int DjVuTXT::get_memory_usage ( void   )  const

Returns the number of bytes needed by this data structure. It's used by caching routines to estimate the size of a {DjVuImage}.

Definition at line 676 of file DjVuText.cpp.

References GBaseString::length(), DjVuTXT::Zone::memuse(), page_zone, and textUTF8.

  return sizeof(*this) + textUTF8.length() + page_zone.memuse() - sizeof(page_zone); 

Generated by  Doxygen 1.6.0   Back to index