Definition in file class.c.
Go to the source code of this file.
Functions | |
| int | class_define_enumeration_member (CLASS *oclass, char *property_name, char *member, enumeration value) |
| Define an enumeration member. | |
| FUNCTION * | class_define_function (CLASS *oclass, FUNCTIONNAME functionname, FUNCTIONADDR call) |
| int | class_define_map (CLASS *oclass,...) |
| Define one or more class properties. | |
| int | class_define_set_member (CLASS *oclass, char *property_name, char *member, unsigned long value) |
| Define a set member. | |
| int | class_define_type (CLASS *oclass, DELEGATEDTYPE *delegation,...) |
| PROPERTY * | class_find_property (CLASS *oclass, PROPERTYNAME name) |
| Find the named property in the class. | |
| CLASS * | class_get_class_from_classname (char *name) |
| Get the class from the class name. | |
| CLASS * | class_get_class_from_classname_in_module (char *name, MODULE *mod) |
| Get the class from the class name and a module pointer. | |
| CLASS * | class_get_class_from_objecttype (OBJECTTYPE type) |
| Get the class from the object type. | |
| char * | class_get_classname_from_objecttype (OBJECTTYPE type) |
| Get the class name from the object type. | |
| OBJECTTYPE | class_get_classtype_from_classname (char *name) |
| Get the object type from the class name. | |
| unsigned int | class_get_count (void) |
| Get the number of registered class. | |
| CLASS * | class_get_first_class (void) |
| Get the first registered class. | |
| PROPERTY * | class_get_first_property (CLASS *oclass) |
| Get the first property in a class's property list. | |
| FUNCTIONADDR | class_get_function (char *classname, char *functionname) |
| CLASS * | class_get_last_class (void) |
| Get the last registered class. | |
| PROPERTY * | class_get_next_property (PROPERTY *prop) |
| Get the next property of within the current class. | |
| char * | class_get_property_typename (PROPERTYTYPE type) |
| Get the name of a property from its type. | |
| PROPERTYTYPE | class_get_propertytype_from_typename (char *name) |
Get the type of a property from its name. | |
| int | class_get_xsd (CLASS *oclass, char *buffer, size_t len) |
| Generate the XSD snippet of a class. | |
| void | class_profiles (void) |
| Generate profile information for the classes used. | |
| int | class_property_to_string (PROPERTY *prop, void *addr, char *value, int size) |
| Convert a property value to a string. | |
| CLASS * | class_register (MODULE *module, CLASSNAME name, PASSCONFIG passconfig) |
| Register an object class. | |
| DELEGATEDTYPE * | class_register_type (CLASS *oclass, char *type, int(*from_string)(void *, char *), int(*to_string)(void *, char *, int)) |
| Register a type delegation for a property. | |
| int | class_saveall (FILE *fp) |
| Save all class information to a stream in glm format. | |
| int | class_saveall_xml (FILE *fp) |
| Save all class information to a stream in xml format. | |
| int | class_string_to_property (PROPERTY *prop, void *addr, char *value) |
| Convert a string value to property data. | |
| unsigned long | property_size (PROPERTY *prop) |
| Get the size of a single instance of a property. | |
Variables | |
| PROPERTY * | first_property = NULL |
| OBJECTTYPE | last_object_type = 0 |
| PROPERTY * | last_property = NULL |