mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-13 20:23:37 +08:00
30 lines
502 B
C++
30 lines
502 B
C++
#include "cfstorage.h"
|
|
|
|
using namespace CFCPP;
|
|
|
|
CFStorage::CFStorage()
|
|
{
|
|
}
|
|
|
|
RedBlackTree::RBTree CFStorage::getChildren() const
|
|
{
|
|
if (children == nullptr)
|
|
{
|
|
//if (this.CompoundFile.HasSourceStream)
|
|
//{
|
|
children = LoadChildren(this.DirEntry.SID);
|
|
//}
|
|
//else
|
|
if (children == null)
|
|
{
|
|
children = this.CompoundFile.CreateNewTree();
|
|
}
|
|
}
|
|
return children;
|
|
}
|
|
|
|
RedBlackTree::RBTree CFStorage::LoadChildren(int SID)
|
|
{
|
|
|
|
}
|