| Public Types | |
| enum | { End = 0xffffffff } | 
| Public Member Functions | |
| DirEntry () | |
| constructor  More... | |
| bool | is_dir () const | 
| returns true for a directory  More... | |
| std::string | name () const | 
| returns the simplified file name  More... | |
| const std::string & | filename () const | 
| returns the string which was store inside the file.  More... | |
| void | setName (std::string const &nm) | 
| sets the file name  More... | |
| void | load (unsigned char *buffer, unsigned len) | 
| reads a entry content in buffer  More... | |
| void | save (unsigned char *buffer) const | 
| saves a entry content in buffer */  More... | |
| Static Public Member Functions | |
| static unsigned | saveSize () | 
| returns space required to save a dir entry  More... | |
| Public Attributes | |
| bool | m_valid | 
| bool | m_macRootEntry | 
| false if invalid (should be skipped)  More... | |
| unsigned | m_type | 
| true if this is a classic mac directory entry  More... | |
| unsigned | m_colour | 
| the type  More... | |
| unsigned long | m_size | 
| the red/black color: 0 means red  More... | |
| unsigned long | m_start | 
| size (not valid if directory)  More... | |
| unsigned | m_right | 
| starting block  More... | |
| unsigned | m_left | 
| previous sibling  More... | |
| unsigned | m_child | 
| next sibling  More... | |
| DirInfo | m_info | 
| first child  More... | |
| Protected Attributes | |
| std::string | m_name | 
| the file information  More... | |
| 
 | inline | 
constructor
| 
 | inline | 
returns the string which was store inside the file.
Referenced by libwps_OLE::DirTree::getSubStreamList().
| 
 | inline | 
returns true for a directory
Referenced by libwps_OLE::IStream::createOleFromDirectory(), libwps_OLE::DirTree::getSubStreamList(), libwps_OLE::IStorage::isSubStream(), and libwps_OLE::IStream::IStream().
| void libwps_OLE::DirEntry::load | ( | unsigned char * | buffer, | 
| unsigned | len | ||
| ) | 
reads a entry content in buffer
Referenced by libwps_OLE::DirTree::load().
| 
 | inline | 
returns the simplified file name
Referenced by libwps_OLE::DirTree::find_child(), and libwps_OLE::DirTree::CompareEntryName::operator()().
| void libwps_OLE::DirEntry::save | ( | unsigned char * | buffer | ) | const | 
saves a entry content in buffer */
Referenced by libwps_OLE::DirTree::save().
| 
 | inlinestatic | 
returns space required to save a dir entry
Referenced by libwps_OLE::DirTree::save(), and libwps_OLE::DirTree::saveSize().
| 
 | inline | 
sets the file name
Referenced by libwps_OLE::DirTree::index().
| unsigned libwps_OLE::DirEntry::m_child | 
| unsigned libwps_OLE::DirEntry::m_colour | 
the type
Referenced by libwps_OLE::DirTree::setInRBTForm(), and libwps_OLE::DirTree::setInRedBlackTreeForm().
| DirInfo libwps_OLE::DirEntry::m_info | 
first child
Referenced by libwps_OLE::IStream::createOleFromDirectory(), and libwps_OLE::OStorage::setInformation().
| unsigned libwps_OLE::DirEntry::m_left | 
previous sibling
Referenced by libwps_OLE::DirTree::get_siblings(), libwps_OLE::DirTree::index(), and libwps_OLE::DirTree::setInRBTForm().
| bool libwps_OLE::DirEntry::m_macRootEntry | 
false if invalid (should be skipped)
| 
 | protected | 
the file information
Referenced by filename(), name(), and setName().
| unsigned libwps_OLE::DirEntry::m_right | 
starting block
Referenced by libwps_OLE::DirTree::get_siblings(), and libwps_OLE::DirTree::setInRBTForm().
| unsigned long libwps_OLE::DirEntry::m_size | 
the red/black color: 0 means red
Referenced by libwps_OLE::OStorage::addStream(), libwps_OLE::IStream::createOleFromDirectory(), libwps_OLE::IStream::IStream(), and libwps_OLE::OStorage::updateToSave().
| unsigned long libwps_OLE::DirEntry::m_start | 
size (not valid if directory)
Referenced by libwps_OLE::OStorage::addStream(), libwps_OLE::IStream::IStream(), and libwps_OLE::OStorage::updateToSave().
| unsigned libwps_OLE::DirEntry::m_type | 
true if this is a classic mac directory entry
Referenced by libwps_OLE::OStorage::addDirectory(), libwps_OLE::DirTree::index(), and is_dir().
| bool libwps_OLE::DirEntry::m_valid |