Property registry. More...
#include <kanzi/platform/platform.hpp>#include <system/kzs_types.h>#include <system/debug/kzs_error.h>Functions | |
| kzsError | kzuPropertyRegistryCreate (const KzcMemoryManager *memoryManager) |
| Creates property registry. More... | |
| kzsError | kzuPropertyRegistryDelete (void) |
| Deletes all fixed properties. More... | |
| kzsError | kzuPropertyRegistryLockPropertyTypes (void) |
| Marks all currently registered property types as read-only. More... | |
| KANZI_API KzuPropertyType * | kzuPropertyRegistryFindPropertyType (kzString name) |
| Finds a fixed property type by name. More... | |
| KANZI_API kzsError | kzuPropertyRegistyAddPropertyType (const KzuPropertyType *propertyType) |
| Register a property type in fixed properties. More... | |
| KANZI_API KzcMemoryManager * | kzuPropertyRegistryGetMemoryManager () |
Property registry.
Copyright 2008-2020 by Rightware. All rights reserved.
| kzsError kzuPropertyRegistryCreate | ( | const KzcMemoryManager * | memoryManager | ) |
Creates property registry.
| kzsError kzuPropertyRegistryDelete | ( | void | ) |
Deletes all fixed properties.
| kzsError kzuPropertyRegistryLockPropertyTypes | ( | void | ) |
Marks all currently registered property types as read-only.
This means that .KZB files cannot overwrite any of their data later on.
| KANZI_API KzuPropertyType* kzuPropertyRegistryFindPropertyType | ( | kzString | name | ) |
Finds a fixed property type by name.
| KANZI_API kzsError kzuPropertyRegistyAddPropertyType | ( | const KzuPropertyType * | propertyType | ) |
Register a property type in fixed properties.
After a property type is registered to fixed properties, it is possible to find it by its name.
| KANZI_API KzcMemoryManager* kzuPropertyRegistryGetMemoryManager | ( | ) |