All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kzu_property_registry.h File Reference

Property registry. More...

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 KzuPropertyTypekzuPropertyRegistryFindPropertyType (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 KzcMemoryManagerkzuPropertyRegistryGetMemoryManager ()
 

Detailed Description

Property registry.

Copyright 2008-2020 by Rightware. All rights reserved.

Function Documentation

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 ( )