opencv on mbed
CvTypeInfo Struct Reference
[C structures and operations]
Type information. More...
#include <types_c.h>
Data Fields | |
int | flags |
not used | |
int | header_size |
sizeof(CvTypeInfo) | |
struct CvTypeInfo * | prev |
previous registered type in the list | |
struct CvTypeInfo * | next |
next registered type in the list | |
const char * | type_name |
type name, written to file storage | |
CvIsInstanceFunc | is_instance |
checks if the passed object belongs to the type | |
CvReleaseFunc | release |
releases object (memory etc.) | |
CvReadFunc | read |
reads object from file storage | |
CvWriteFunc | write |
writes object to file storage | |
CvCloneFunc | clone |
creates a copy of the object |
Detailed Description
Type information.
The structure contains information about one of the standard or user-defined types. Instances of the type may or may not contain a pointer to the corresponding CvTypeInfo structure. In any case, there is a way to find the type info structure for a given object using the cvTypeOf function. Alternatively, type info can be found by type name using cvFindType, which is used when an object is read from file storage. The user can register a new type with cvRegisterType that adds the type information structure into the beginning of the type list. Thus, it is possible to create specialized types from generic standard types and override the basic methods.
Definition at line 1793 of file core/types_c.h.
Field Documentation
CvCloneFunc clone |
creates a copy of the object
Definition at line 1804 of file core/types_c.h.
int flags |
not used
Definition at line 1795 of file core/types_c.h.
int header_size |
sizeof(CvTypeInfo)
Definition at line 1796 of file core/types_c.h.
CvIsInstanceFunc is_instance |
checks if the passed object belongs to the type
Definition at line 1800 of file core/types_c.h.
struct CvTypeInfo* next |
next registered type in the list
Definition at line 1798 of file core/types_c.h.
struct CvTypeInfo* prev |
previous registered type in the list
Definition at line 1797 of file core/types_c.h.
CvReadFunc read |
reads object from file storage
Definition at line 1802 of file core/types_c.h.
CvReleaseFunc release |
releases object (memory etc.)
Definition at line 1801 of file core/types_c.h.
const char* type_name |
type name, written to file storage
Definition at line 1799 of file core/types_c.h.
CvWriteFunc write |
writes object to file storage
Definition at line 1803 of file core/types_c.h.
Generated on Tue Jul 12 2022 16:42:43 by 1.7.2