libwps::DirTree Class Reference

Public Member Functions

 DirTree ()
 
void clear ()
 
unsigned entryCount ()
 
DirEntryentry (unsigned index)
 
DirEntryentry (const std::string &name)
 
unsigned find_child (unsigned index, const std::string &name)
 
void load (unsigned char *buffer, unsigned len)
 
std::vector< std::string > getOLENames ()
 

Static Public Attributes

static const unsigned End = 0xffffffff
 

Private Member Functions

void getOLENames (unsigned index, const std::string &prefix, std::vector< std::string > &res, std::set< unsigned > &seen)
 
 DirTree (const DirTree &)
 
DirTreeoperator= (const DirTree &)
 

Private Attributes

std::vector< DirEntryentries
 

Constructor & Destructor Documentation

◆ DirTree() [1/2]

libwps::DirTree::DirTree ( )

◆ DirTree() [2/2]

libwps::DirTree::DirTree ( const DirTree )
private

Member Function Documentation

◆ clear()

void libwps::DirTree::clear ( )

Referenced by DirTree().

◆ entry() [1/2]

libwps::DirEntry * libwps::DirTree::entry ( unsigned  index)

◆ entry() [2/2]

libwps::DirEntry * libwps::DirTree::entry ( const std::string &  name)

◆ entryCount()

unsigned libwps::DirTree::entryCount ( )

◆ find_child()

unsigned libwps::DirTree::find_child ( unsigned  index,
const std::string &  name 
)

Referenced by entry().

◆ getOLENames() [1/2]

std::vector< std::string > libwps::DirTree::getOLENames ( )

◆ getOLENames() [2/2]

void libwps::DirTree::getOLENames ( unsigned  index,
const std::string &  prefix,
std::vector< std::string > &  res,
std::set< unsigned > &  seen 
)
private

◆ load()

void libwps::DirTree::load ( unsigned char *  buffer,
unsigned  len 
)

Referenced by libwps::StorageIO::load().

◆ operator=()

DirTree& libwps::DirTree::operator= ( const DirTree )
private

Member Data Documentation

◆ End

const unsigned libwps::DirTree::End = 0xffffffff
static

Referenced by clear(), and libwps::AllocTable::load().

◆ entries

std::vector<DirEntry> libwps::DirTree::entries
private

Referenced by clear(), entry(), entryCount(), and load().


The documentation for this class was generated from the following file:

Generated on Sat Oct 20 2018 10:26:42 for libwps by doxygen 1.8.13