Public Member Functions | |
DirTree () | |
void | clear () |
unsigned | entryCount () |
DirEntry * | entry (unsigned index) |
DirEntry * | entry (const std::string &name) |
int | parent (unsigned index) |
std::string | fullName (unsigned index) |
std::vector< unsigned > | children (unsigned index) |
void | load (unsigned char *buffer, unsigned len) |
void | save (unsigned char *buffer) |
Static Public Attributes | |
static const unsigned | End = 0xffffffff |
Private Member Functions | |
DirTree (const DirTree &) | |
DirTree & | operator= (const DirTree &) |
Private Attributes | |
std::vector< DirEntry > | entries |
libwps::DirTree::DirTree | ( | ) |
libwps::DirTree::DirTree | ( | const DirTree & | ) | [private] |
std::vector< unsigned > libwps::DirTree::children | ( | unsigned | index | ) |
void libwps::DirTree::clear | ( | ) |
Referenced by DirTree().
libwps::DirEntry * libwps::DirTree::entry | ( | const std::string & | name | ) |
libwps::DirEntry * libwps::DirTree::entry | ( | unsigned | index | ) |
Referenced by children(), dirtree_find_siblings(), entry(), fullName(), and libwps::StorageIO::streamIO().
unsigned libwps::DirTree::entryCount | ( | ) |
Referenced by children(), entry(), and parent().
std::string libwps::DirTree::fullName | ( | unsigned | index | ) |
void libwps::DirTree::load | ( | unsigned char * | buffer, | |
unsigned | len | |||
) |
Referenced by libwps::StorageIO::load().
int libwps::DirTree::parent | ( | unsigned | index | ) |
Referenced by fullName().
void libwps::DirTree::save | ( | unsigned char * | buffer | ) |
const unsigned libwps::DirTree::End = 0xffffffff [static] |
Referenced by clear().
std::vector<DirEntry> libwps::DirTree::entries [private] |
Referenced by clear(), entry(), entryCount(), and load().