NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <BasicExcel.hpp>
Classes | |
class | Header |
class | Property |
class | PropertyTree |
Public Types | |
enum | { DUPLICATE_PROPERTY =-6 , NAME_TOO_LONG =-5 , FILE_NOT_FOUND =-4 , DIRECTORY_NOT_EMPTY =-3 , DIRECTORY_NOT_FOUND =-2 , INVALID_PATH =-1 , SUCCESS =1 } |
Public Member Functions | |
CompoundFile () | |
~CompoundFile () | |
bool | Create (const wchar_t *filename) |
bool | Open (const wchar_t *filename, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out) |
bool | Close () |
bool | IsOpen () |
int | ChangeDirectory (const wchar_t *path) |
int | MakeDirectory (const wchar_t *path) |
int | PresentWorkingDirectory (wchar_t *path) |
int | PresentWorkingDirectory (std::vector< wchar_t > &path) |
int | RemoveDirectory (const wchar_t *path) |
int | DelTree (const wchar_t *path) |
int | DirectoryList (std::vector< std::vector< wchar_t > > &list, const wchar_t *path=0) |
int | MakeFile (const wchar_t *path) |
int | RemoveFile (const wchar_t *path) |
int | FileSize (const wchar_t *path, size_t &size) |
int | ReadFile (const wchar_t *path, char *data) |
int | ReadFile (const wchar_t *path, std::vector< char > &data) |
int | WriteFile (const wchar_t *path, const char *data, size_t size) |
int | WriteFile (const wchar_t *path, const std::vector< char > &data, size_t size) |
bool | Create (const char *filename) |
bool | Open (const char *filename, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out) |
int | ChangeDirectory (const char *path) |
int | MakeDirectory (const char *path) |
int | PresentWorkingDirectory (char *path) |
int | PresentWorkingDirectory (std::vector< char > &path) |
int | RemoveDirectory (const char *path) |
int | DelTree (const char *path) |
int | MakeFile (const char *path) |
int | RemoveFile (const char *path) |
int | FileSize (const char *path, size_t &size) |
int | ReadFile (const char *path, char *data) |
int | ReadFile (const char *path, std::vector< char > &data) |
int | WriteFile (const char *path, char *data, size_t size) |
int | WriteFile (const char *path, std::vector< char > &data, size_t size) |
Protected Member Functions | |
void | IncreaseLocationReferences (std::vector< size_t > indices) |
void | DecreaseLocationReferences (std::vector< size_t > indices) |
void | SplitPath (const wchar_t *path, wchar_t *&parentpath, wchar_t *&propertyname) |
bool | LoadHeader () |
void | SaveHeader () |
void | LoadBAT () |
void | SaveBAT () |
size_t | DataSize (size_t startIndex, bool isBig) |
size_t | ReadData (size_t startIndex, char *data, bool isBig) |
size_t | WriteData (const char *data, size_t size, int startIndex, bool isBig) |
void | GetBlockIndices (size_t startIndex, std::vector< size_t > &indices, bool isBig) |
size_t | GetFreeBlockIndex (bool isBig) |
void | ExpandBATArray (bool isBig) |
void | LinkBlocks (size_t from, size_t to, bool isBig) |
void | FreeBlocks (std::vector< size_t > &indices, bool isBig) |
void | LoadProperties () |
void | SaveProperties () |
int | MakeProperty (const wchar_t *path, Property *property) |
PropertyTree * | FindProperty (size_t index) |
PropertyTree * | FindProperty (const wchar_t *path) |
PropertyTree * | FindProperty (PropertyTree *parentTree, wchar_t *name) |
void | InsertPropertyTree (PropertyTree *parentTree, Property *property, size_t index) |
void | DeletePropertyTree (PropertyTree *tree) |
void | UpdateChildrenIndices (PropertyTree *parentTree) |
void | IncreasePropertyReferences (PropertyTree *parentTree, size_t index) |
void | DecreasePropertyReferences (PropertyTree *parentTree, size_t index) |
Protected Attributes | |
std::vector< char > | block_ |
Block | file_ |
Header | header_ |
std::vector< int > | blocksIndices_ |
std::vector< int > | sblocksIndices_ |
PropertyTree * | propertyTrees_ |
PropertyTree * | currentDirectory_ |
std::vector< Property * > | properties_ |
std::vector< PropertyTree * > | previousDirectories_ |
Definition at line 239 of file BasicExcel.hpp.
anonymous enum |
Enumerator | |
---|---|
DUPLICATE_PROPERTY | |
NAME_TOO_LONG | |
FILE_NOT_FOUND | |
DIRECTORY_NOT_EMPTY | |
DIRECTORY_NOT_FOUND | |
INVALID_PATH | |
SUCCESS |
Definition at line 242 of file BasicExcel.hpp.
YCompoundFiles::CompoundFile::CompoundFile | ( | ) |
Definition at line 424 of file BasicExcel.cpp.
YCompoundFiles::CompoundFile::~CompoundFile | ( | ) |
Definition at line 428 of file BasicExcel.cpp.
References Close().
int YCompoundFiles::CompoundFile::ChangeDirectory | ( | const char * | path | ) |
Definition at line 910 of file BasicExcel.cpp.
References ChangeDirectory().
int YCompoundFiles::CompoundFile::ChangeDirectory | ( | const wchar_t * | path | ) |
Definition at line 523 of file BasicExcel.cpp.
References currentDirectory_, DIRECTORY_NOT_FOUND, FindProperty(), YCompoundFiles::CompoundFile::PropertyTree::parent_, previousDirectories_, propertyTrees_, and SUCCESS.
Referenced by ChangeDirectory(), DirectoryList(), FindProperty(), and MakeProperty().
bool YCompoundFiles::CompoundFile::Close | ( | ) |
Definition at line 488 of file BasicExcel.cpp.
References blocksIndices_, YCompoundFiles::Block::Close(), currentDirectory_, file_, previousDirectories_, properties_, propertyTrees_, and sblocksIndices_.
Referenced by Create(), and ~CompoundFile().
bool YCompoundFiles::CompoundFile::Create | ( | const char * | filename | ) |
Definition at line 888 of file BasicExcel.cpp.
References Create().
bool YCompoundFiles::CompoundFile::Create | ( | const wchar_t * | filename | ) |
Definition at line 431 of file BasicExcel.cpp.
References blocksIndices_, Close(), YCompoundFiles::Block::Create(), currentDirectory_, file_, header_, YCompoundFiles::CompoundFile::PropertyTree::index_, YCompoundFiles::CompoundFile::Property::name_, YCompoundFiles::CompoundFile::PropertyTree::parent_, properties_, propertyTrees_, YCompoundFiles::CompoundFile::Property::propertyType_, SaveBAT(), SaveHeader(), SaveProperties(), and YCompoundFiles::CompoundFile::PropertyTree::self_.
Referenced by Create().
|
protected |
Definition at line 1408 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::bigBlockSize_, GetBlockIndices(), header_, and YCompoundFiles::CompoundFile::Header::smallBlockSize_.
Referenced by LoadProperties(), ReadData(), and ReadFile().
|
protected |
Definition at line 1153 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::BATArray_, blocksIndices_, header_, properties_, YCompoundFiles::CompoundFile::Header::propertiesStart_, YCompoundFiles::CompoundFile::Header::SBATCount_, YCompoundFiles::CompoundFile::Header::SBATStart_, YCompoundFiles::CompoundFile::Header::XBATCount_, and YCompoundFiles::CompoundFile::Header::XBATStart_.
Referenced by FreeBlocks().
|
protected |
Definition at line 2285 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Property::childProp_, YCompoundFiles::CompoundFile::PropertyTree::children_, DecreasePropertyReferences(), YCompoundFiles::CompoundFile::PropertyTree::index_, YCompoundFiles::CompoundFile::Property::nextProp_, YCompoundFiles::CompoundFile::Property::previousProp_, and YCompoundFiles::CompoundFile::PropertyTree::self_.
Referenced by DecreasePropertyReferences(), and DeletePropertyTree().
|
protected |
Definition at line 2176 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::PropertyTree::children_, DecreasePropertyReferences(), YCompoundFiles::CompoundFile::PropertyTree::index_, YCompoundFiles::CompoundFile::PropertyTree::parent_, properties_, propertyTrees_, and UpdateChildrenIndices().
Referenced by RemoveDirectory(), and RemoveFile().
int YCompoundFiles::CompoundFile::DelTree | ( | const char * | path | ) |
Definition at line 972 of file BasicExcel.cpp.
References DelTree().
int YCompoundFiles::CompoundFile::DelTree | ( | const wchar_t * | path | ) |
Definition at line 671 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Property::childProp_, YCompoundFiles::CompoundFile::PropertyTree::children_, currentDirectory_, DelTree(), DIRECTORY_NOT_FOUND, FindProperty(), PresentWorkingDirectory(), previousDirectories_, YCompoundFiles::CompoundFile::Property::propertyType_, RemoveDirectory(), RemoveFile(), YCompoundFiles::CompoundFile::PropertyTree::self_, and SUCCESS.
Referenced by DelTree().
int YCompoundFiles::CompoundFile::DirectoryList | ( | std::vector< std::vector< wchar_t > > & | list, |
const wchar_t * | path = 0 |
||
) |
Definition at line 717 of file BasicExcel.cpp.
References ChangeDirectory(), YCompoundFiles::CompoundFile::PropertyTree::children_, currentDirectory_, name, previousDirectories_, and SUCCESS.
|
protected |
Definition at line 1711 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::BATArray_, YCompoundFiles::CompoundFile::Header::BATCount_, block_, blocksIndices_, file_, GetFreeBlockIndex(), header_, IncreaseLocationReferences(), YCompoundFiles::Block::Insert(), YCompoundFiles::CompoundFile::Header::SBATCount_, YCompoundFiles::CompoundFile::Header::SBATStart_, sblocksIndices_, YCompoundFiles::CompoundFile::Header::XBATCount_, and YCompoundFiles::CompoundFile::Header::XBATStart_.
Referenced by GetFreeBlockIndex().
int YCompoundFiles::CompoundFile::FileSize | ( | const char * | path, |
size_t & | size | ||
) |
Definition at line 1005 of file BasicExcel.cpp.
References FileSize().
int YCompoundFiles::CompoundFile::FileSize | ( | const wchar_t * | path, |
size_t & | size | ||
) |
Definition at line 772 of file BasicExcel.cpp.
References FILE_NOT_FOUND, FindProperty(), propertyTrees_, YCompoundFiles::CompoundFile::PropertyTree::self_, YCompoundFiles::CompoundFile::Property::size_, and SUCCESS.
Referenced by FileSize(), and ReadFile().
|
protected |
Definition at line 2056 of file BasicExcel.cpp.
References ChangeDirectory(), currentDirectory_, FindProperty(), previousDirectories_, propertyTrees_, SplitPath(), and SUCCESS.
|
protected |
Definition at line 2101 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Property::childProp_, YCompoundFiles::CompoundFile::PropertyTree::children_, name, and YCompoundFiles::CompoundFile::PropertyTree::self_.
|
protected |
Definition at line 2026 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::PropertyTree::children_, FindProperty(), YCompoundFiles::CompoundFile::PropertyTree::index_, previousDirectories_, and propertyTrees_.
Referenced by ChangeDirectory(), DelTree(), FileSize(), FindProperty(), MakeProperty(), ReadFile(), RemoveDirectory(), RemoveFile(), and WriteFile().
|
protected |
Definition at line 1785 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::BATArray_, YCompoundFiles::CompoundFile::Header::BATCount_, YCompoundFiles::CompoundFile::Header::bigBlockSize_, blocksIndices_, DecreaseLocationReferences(), YCompoundFiles::Block::Erase(), file_, FreeBlocks(), header_, properties_, ReadData(), YCompoundFiles::CompoundFile::Header::SBATCount_, YCompoundFiles::CompoundFile::Header::SBATStart_, sblocksIndices_, YCompoundFiles::CompoundFile::Header::smallBlockSize_, WriteData(), YCompoundFiles::CompoundFile::Header::XBATCount_, and YCompoundFiles::CompoundFile::Header::XBATStart_.
Referenced by FreeBlocks(), and WriteData().
|
protected |
Definition at line 1653 of file BasicExcel.cpp.
References blocksIndices_, and sblocksIndices_.
Referenced by DataSize(), ReadData(), and WriteData().
|
protected |
Definition at line 1670 of file BasicExcel.cpp.
References blocksIndices_, ExpandBATArray(), and sblocksIndices_.
Referenced by ExpandBATArray(), and WriteData().
|
protected |
Definition at line 1057 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::BATArray_, blocksIndices_, header_, properties_, YCompoundFiles::CompoundFile::Header::propertiesStart_, YCompoundFiles::CompoundFile::Header::SBATCount_, YCompoundFiles::CompoundFile::Header::SBATStart_, YCompoundFiles::CompoundFile::Header::XBATCount_, and YCompoundFiles::CompoundFile::Header::XBATStart_.
Referenced by ExpandBATArray(), and WriteData().
|
protected |
Definition at line 2247 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Property::childProp_, YCompoundFiles::CompoundFile::PropertyTree::children_, IncreasePropertyReferences(), YCompoundFiles::CompoundFile::PropertyTree::index_, YCompoundFiles::CompoundFile::Property::nextProp_, YCompoundFiles::CompoundFile::Property::previousProp_, and YCompoundFiles::CompoundFile::PropertyTree::self_.
Referenced by IncreasePropertyReferences(), and MakeProperty().
|
protected |
Definition at line 2121 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Property::childProp_, YCompoundFiles::CompoundFile::PropertyTree::children_, YCompoundFiles::CompoundFile::PropertyTree::index_, InsertPropertyTree(), YCompoundFiles::CompoundFile::Property::nextProp_, YCompoundFiles::CompoundFile::PropertyTree::parent_, YCompoundFiles::CompoundFile::Property::previousProp_, properties_, YCompoundFiles::CompoundFile::PropertyTree::self_, and UpdateChildrenIndices().
Referenced by InsertPropertyTree(), LoadProperties(), and MakeProperty().
bool YCompoundFiles::CompoundFile::IsOpen | ( | ) |
Definition at line 515 of file BasicExcel.cpp.
References file_, and YCompoundFiles::Block::IsOpen().
|
protected |
Definition at line 1777 of file BasicExcel.cpp.
References blocksIndices_, and sblocksIndices_.
Referenced by WriteData().
|
protected |
Definition at line 1336 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::BATArray_, YCompoundFiles::CompoundFile::Header::BATCount_, block_, blocksIndices_, file_, header_, YCompoundFiles::LittleEndian::Read(), YCompoundFiles::Block::Read(), YCompoundFiles::CompoundFile::Header::SBATCount_, YCompoundFiles::CompoundFile::Header::SBATStart_, sblocksIndices_, YCompoundFiles::CompoundFile::Header::XBATCount_, and YCompoundFiles::CompoundFile::Header::XBATStart_.
|
protected |
Definition at line 1313 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::bigBlockSize_, block_, file_, YCompoundFiles::CompoundFile::Header::fileType_, header_, YCompoundFiles::CompoundFile::Header::Read(), YCompoundFiles::Block::Read(), and YCompoundFiles::Block::SetBlockSize().
|
protected |
Definition at line 1891 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::bigBlockSize_, DataSize(), header_, YCompoundFiles::CompoundFile::PropertyTree::index_, InsertPropertyTree(), YCompoundFiles::CompoundFile::PropertyTree::parent_, properties_, YCompoundFiles::CompoundFile::Header::propertiesStart_, propertyTrees_, YCompoundFiles::CompoundFile::Property::Read(), ReadData(), and YCompoundFiles::CompoundFile::PropertyTree::self_.
int YCompoundFiles::CompoundFile::MakeDirectory | ( | const char * | path | ) |
Definition at line 921 of file BasicExcel.cpp.
References MakeDirectory().
int YCompoundFiles::CompoundFile::MakeDirectory | ( | const wchar_t * | path | ) |
Definition at line 591 of file BasicExcel.cpp.
References currentDirectory_, MakeProperty(), previousDirectories_, YCompoundFiles::CompoundFile::Property::propertyType_, SaveBAT(), SaveHeader(), and SaveProperties().
Referenced by MakeDirectory(), and MakeProperty().
int YCompoundFiles::CompoundFile::MakeFile | ( | const char * | path | ) |
Definition at line 983 of file BasicExcel.cpp.
References MakeFile().
int YCompoundFiles::CompoundFile::MakeFile | ( | const wchar_t * | path | ) |
Definition at line 740 of file BasicExcel.cpp.
References currentDirectory_, MakeProperty(), previousDirectories_, YCompoundFiles::CompoundFile::Property::propertyType_, SaveBAT(), SaveHeader(), and SaveProperties().
Referenced by MakeFile().
|
protected |
Definition at line 1955 of file BasicExcel.cpp.
References ChangeDirectory(), currentDirectory_, DUPLICATE_PROPERTY, FindProperty(), IncreasePropertyReferences(), InsertPropertyTree(), INVALID_PATH, MakeDirectory(), YCompoundFiles::CompoundFile::Property::name_, NAME_TOO_LONG, properties_, propertyTrees_, SplitPath(), and SUCCESS.
Referenced by MakeDirectory(), and MakeFile().
bool YCompoundFiles::CompoundFile::Open | ( | const char * | filename, |
std::ios_base::openmode | mode = std::ios_base::in|std::ios_base::out |
||
) |
bool YCompoundFiles::CompoundFile::Open | ( | const wchar_t * | filename, |
std::ios_base::openmode | mode = std::ios_base::in|std::ios_base::out |
||
) |
int YCompoundFiles::CompoundFile::PresentWorkingDirectory | ( | char * | path | ) |
Definition at line 932 of file BasicExcel.cpp.
References PresentWorkingDirectory(), SUCCESS, and wcstombs().
int YCompoundFiles::CompoundFile::PresentWorkingDirectory | ( | std::vector< char > & | path | ) |
Definition at line 947 of file BasicExcel.cpp.
References PresentWorkingDirectory(), SUCCESS, and wcstombs().
int YCompoundFiles::CompoundFile::PresentWorkingDirectory | ( | std::vector< wchar_t > & | path | ) |
Definition at line 634 of file BasicExcel.cpp.
References currentDirectory_, YCompoundFiles::CompoundFile::Property::name_, YCompoundFiles::CompoundFile::PropertyTree::parent_, previousDirectories_, YCompoundFiles::CompoundFile::PropertyTree::self_, and SUCCESS.
int YCompoundFiles::CompoundFile::PresentWorkingDirectory | ( | wchar_t * | path | ) |
Definition at line 608 of file BasicExcel.cpp.
References currentDirectory_, YCompoundFiles::CompoundFile::Property::name_, YCompoundFiles::CompoundFile::PropertyTree::parent_, previousDirectories_, YCompoundFiles::CompoundFile::PropertyTree::self_, and SUCCESS.
Referenced by DelTree(), and PresentWorkingDirectory().
|
protected |
Definition at line 1427 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::bigBlockSize_, DataSize(), file_, GetBlockIndices(), header_, properties_, YCompoundFiles::Block::Read(), ReadData(), and YCompoundFiles::CompoundFile::Header::smallBlockSize_.
Referenced by FreeBlocks(), LoadProperties(), ReadData(), ReadFile(), and WriteData().
int YCompoundFiles::CompoundFile::ReadFile | ( | const char * | path, |
char * | data | ||
) |
Definition at line 1015 of file BasicExcel.cpp.
References ReadFile().
int YCompoundFiles::CompoundFile::ReadFile | ( | const char * | path, |
std::vector< char > & | data | ||
) |
Definition at line 1025 of file BasicExcel.cpp.
References ReadFile().
int YCompoundFiles::CompoundFile::ReadFile | ( | const wchar_t * | path, |
char * | data | ||
) |
Definition at line 794 of file BasicExcel.cpp.
References DataSize(), FILE_NOT_FOUND, FindProperty(), propertyTrees_, ReadData(), YCompoundFiles::CompoundFile::PropertyTree::self_, YCompoundFiles::CompoundFile::Property::size_, YCompoundFiles::CompoundFile::Property::startBlock_, and SUCCESS.
Referenced by ReadFile().
int YCompoundFiles::CompoundFile::ReadFile | ( | const wchar_t * | path, |
std::vector< char > & | data | ||
) |
Definition at line 834 of file BasicExcel.cpp.
References FileSize(), ReadFile(), and SUCCESS.
int YCompoundFiles::CompoundFile::RemoveDirectory | ( | const char * | path | ) |
Definition at line 961 of file BasicExcel.cpp.
References RemoveDirectory().
int YCompoundFiles::CompoundFile::RemoveDirectory | ( | const wchar_t * | path | ) |
Definition at line 657 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Property::childProp_, DeletePropertyTree(), DIRECTORY_NOT_EMPTY, DIRECTORY_NOT_FOUND, FindProperty(), SaveBAT(), SaveHeader(), SaveProperties(), YCompoundFiles::CompoundFile::PropertyTree::self_, and SUCCESS.
Referenced by DelTree(), and RemoveDirectory().
int YCompoundFiles::CompoundFile::RemoveFile | ( | const char * | path | ) |
Definition at line 994 of file BasicExcel.cpp.
References RemoveFile().
int YCompoundFiles::CompoundFile::RemoveFile | ( | const wchar_t * | path | ) |
Definition at line 757 of file BasicExcel.cpp.
References DeletePropertyTree(), FindProperty(), SaveBAT(), SaveHeader(), SaveProperties(), SUCCESS, and WriteFile().
Referenced by DelTree(), and RemoveFile().
|
protected |
Definition at line 1374 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::BATArray_, YCompoundFiles::CompoundFile::Header::BATCount_, block_, blocksIndices_, file_, header_, YCompoundFiles::CompoundFile::Header::SBATCount_, YCompoundFiles::CompoundFile::Header::SBATStart_, sblocksIndices_, YCompoundFiles::LittleEndian::Write(), YCompoundFiles::Block::Write(), YCompoundFiles::CompoundFile::Header::XBATCount_, and YCompoundFiles::CompoundFile::Header::XBATStart_.
Referenced by Create(), MakeDirectory(), MakeFile(), RemoveDirectory(), RemoveFile(), and WriteFile().
|
protected |
Definition at line 1328 of file BasicExcel.cpp.
References block_, file_, header_, YCompoundFiles::CompoundFile::Header::Write(), and YCompoundFiles::Block::Write().
Referenced by Create(), MakeDirectory(), MakeFile(), RemoveDirectory(), RemoveFile(), and WriteFile().
|
protected |
Definition at line 1933 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::bigBlockSize_, header_, properties_, YCompoundFiles::CompoundFile::Header::propertiesStart_, and WriteData().
Referenced by Create(), MakeDirectory(), MakeFile(), RemoveDirectory(), RemoveFile(), and WriteFile().
|
protected |
Definition at line 1280 of file BasicExcel.cpp.
Referenced by FindProperty(), and MakeProperty().
|
protected |
Definition at line 2202 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Property::childProp_, YCompoundFiles::CompoundFile::PropertyTree::children_, and YCompoundFiles::CompoundFile::PropertyTree::self_.
Referenced by DeletePropertyTree(), and InsertPropertyTree().
|
protected |
Definition at line 1472 of file BasicExcel.cpp.
References YCompoundFiles::CompoundFile::Header::bigBlockSize_, block_, blocksIndices_, file_, FreeBlocks(), GetBlockIndices(), GetFreeBlockIndex(), header_, IncreaseLocationReferences(), YCompoundFiles::Block::Insert(), LinkBlocks(), properties_, ReadData(), sblocksIndices_, YCompoundFiles::CompoundFile::Header::smallBlockSize_, YCompoundFiles::Block::Write(), and WriteData().
Referenced by FreeBlocks(), SaveProperties(), WriteData(), and WriteFile().
int YCompoundFiles::CompoundFile::WriteFile | ( | const char * | path, |
char * | data, | ||
size_t | size | ||
) |
Definition at line 1035 of file BasicExcel.cpp.
References WriteFile().
int YCompoundFiles::CompoundFile::WriteFile | ( | const char * | path, |
std::vector< char > & | data, | ||
size_t | size | ||
) |
Definition at line 1045 of file BasicExcel.cpp.
References WriteFile().
int YCompoundFiles::CompoundFile::WriteFile | ( | const wchar_t * | path, |
const char * | data, | ||
size_t | size | ||
) |
Definition at line 848 of file BasicExcel.cpp.
References FILE_NOT_FOUND, FindProperty(), SaveBAT(), SaveHeader(), SaveProperties(), SUCCESS, and WriteData().
Referenced by RemoveFile(), and WriteFile().
int YCompoundFiles::CompoundFile::WriteFile | ( | const wchar_t * | path, |
const std::vector< char > & | data, | ||
size_t | size | ||
) |
Definition at line 880 of file BasicExcel.cpp.
References WriteFile().
|
protected |
Definition at line 301 of file BasicExcel.hpp.
Referenced by ExpandBATArray(), LoadBAT(), LoadHeader(), SaveBAT(), SaveHeader(), and WriteData().
|
protected |
Definition at line 355 of file BasicExcel.hpp.
Referenced by Close(), Create(), DecreaseLocationReferences(), ExpandBATArray(), FreeBlocks(), GetBlockIndices(), GetFreeBlockIndex(), IncreaseLocationReferences(), LinkBlocks(), LoadBAT(), SaveBAT(), and WriteData().
|
protected |
Definition at line 428 of file BasicExcel.hpp.
Referenced by ChangeDirectory(), Close(), Create(), DelTree(), DirectoryList(), FindProperty(), MakeDirectory(), MakeFile(), MakeProperty(), and PresentWorkingDirectory().
|
protected |
Definition at line 302 of file BasicExcel.hpp.
Referenced by Close(), Create(), ExpandBATArray(), FreeBlocks(), IsOpen(), LoadBAT(), LoadHeader(), ReadData(), SaveBAT(), SaveHeader(), and WriteData().
|
protected |
Definition at line 342 of file BasicExcel.hpp.
Referenced by Create(), DataSize(), DecreaseLocationReferences(), ExpandBATArray(), FreeBlocks(), IncreaseLocationReferences(), LoadBAT(), LoadHeader(), LoadProperties(), ReadData(), SaveBAT(), SaveHeader(), SaveProperties(), and WriteData().
|
protected |
Definition at line 430 of file BasicExcel.hpp.
Referenced by ChangeDirectory(), Close(), DelTree(), DirectoryList(), FindProperty(), MakeDirectory(), MakeFile(), and PresentWorkingDirectory().
|
protected |
Definition at line 429 of file BasicExcel.hpp.
Referenced by Close(), Create(), DecreaseLocationReferences(), DeletePropertyTree(), FreeBlocks(), IncreaseLocationReferences(), InsertPropertyTree(), LoadProperties(), MakeProperty(), ReadData(), SaveProperties(), and WriteData().
|
protected |
Definition at line 427 of file BasicExcel.hpp.
Referenced by ChangeDirectory(), Close(), Create(), DeletePropertyTree(), FileSize(), FindProperty(), LoadProperties(), MakeProperty(), and ReadFile().
|
protected |
Definition at line 356 of file BasicExcel.hpp.
Referenced by Close(), ExpandBATArray(), FreeBlocks(), GetBlockIndices(), GetFreeBlockIndex(), LinkBlocks(), LoadBAT(), SaveBAT(), and WriteData().