shared_ptr<Container> Container::OpenContainer(const string &path) { ContainerPtr container = std::make_shared<Container>(); if ( container->Open(path) == false ) return nullptr; return container; }
ContainerPtr Container::OpenContainerForContentModule(const string& path) { ContainerPtr container = Container::New(); if (container->Open(path) == false) return nullptr; return container; }