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

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 673 of file DjVuText.cpp.

References GBaseString::length(), page_zone, and textUTF8.

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

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index