#include <kanzi/core.ui/kzb/kzb_loading.hpp>
Public Types | |
| typedef ResourceSharedPtr(* | LoaderCallback) (Domain *, string_view, KzbFile *, unique_ptr< ReadOnlyMemoryFile >) |
| typedef map< const Metaclass *, LoaderCallback > | LoaderCallbackDictionary |
| typedef ResourceManager::LoadTaskSharedPtr(* | LoadTaskFactoryFunction) (string_view, KzbFile *, unique_ptr< ReadOnlyMemoryFile >) |
| typedef map< const Metaclass *, LoadTaskFactoryFunction > | LoadTaskFactoryDictionary |
| typedef vector< pair< AbstractPropertyType, Variant > > | PropertyContainer |
| typedef uint32_t | SizeType |
| Type specifying maximum size of files. Currently at 4Gb. More... | |
Public Member Functions | |
| KzbFile (Domain *domain, unique_ptr< File > file) | |
| unique_ptr< ReadOnlyMemoryFile > | open (string_view path) |
| ResourceSharedPtr | loadResource (string_view path) |
| ResourceManager::LoadTaskSharedPtr | getLoadTask (string_view path) |
| Domain * | getDomain () const |
| const Metaclass * | getMetaclass (size_t index) const |
| AbstractPropertyType | getPropertyType (size_t index) const |
| string_view | getString (size_t index) const |
| string | getProjectName () const |
Friends | |
| class | KzbMemoryParser |
| typedef ResourceSharedPtr(* kanzi::KzbFile::LoaderCallback) (Domain *, string_view, KzbFile *, unique_ptr< ReadOnlyMemoryFile >) |
| typedef map<const Metaclass*, LoaderCallback> kanzi::KzbFile::LoaderCallbackDictionary |
| typedef ResourceManager::LoadTaskSharedPtr(* kanzi::KzbFile::LoadTaskFactoryFunction) (string_view, KzbFile *, unique_ptr< ReadOnlyMemoryFile >) |
| typedef map<const Metaclass*, LoadTaskFactoryFunction> kanzi::KzbFile::LoadTaskFactoryDictionary |
| typedef vector<pair<AbstractPropertyType, Variant> > kanzi::KzbFile::PropertyContainer |
| typedef uint32_t kanzi::KzbFile::SizeType |
Type specifying maximum size of files. Currently at 4Gb.
| unique_ptr<ReadOnlyMemoryFile> kanzi::KzbFile::open | ( | string_view | path | ) |
| ResourceSharedPtr kanzi::KzbFile::loadResource | ( | string_view | path | ) |
| ResourceManager::LoadTaskSharedPtr kanzi::KzbFile::getLoadTask | ( | string_view | path | ) |
| Domain* kanzi::KzbFile::getDomain | ( | ) | const |
| const Metaclass* kanzi::KzbFile::getMetaclass | ( | size_t | index | ) | const |
| AbstractPropertyType kanzi::KzbFile::getPropertyType | ( | size_t | index | ) | const |
| string_view kanzi::KzbFile::getString | ( | size_t | index | ) | const |
| string kanzi::KzbFile::getProjectName | ( | ) | const |
|
friend |