Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
kzu_property_registry.h File Reference

Property registry. More...

Functions

kzsError kzuPropertyRegistryCreate (const struct 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...
 
struct KzuPropertyTypekzuPropertyRegistryFindPropertyType (kzString name)
 Finds a fixed property type by name. More...
 
kzsError kzuPropertyRegistyAddPropertyType (const struct KzuPropertyType *propertyType)
 Register a property type in fixed properties. More...
 

Detailed Description

Property registry.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuPropertyRegistryCreate ( const struct 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.

struct KzuPropertyType* kzuPropertyRegistryFindPropertyType ( kzString  name)

Finds a fixed property type by name.

kzsError kzuPropertyRegistyAddPropertyType ( const struct 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.