|
CX Framework
Cross-platform C utility framework
|
#include <objclass.h>
Data Fields | |
| ObjClassInfo * | entries [] |
| sorted by name for binary search | |
A named set of classes: the declared vocabulary of a dynamic object slot
This is the class counterpart of StructSet. A member declared object[SomeSet] holds an instance of any class in the set, and the set is what turns the wire name back into a class when the document is read — without the consumer having to register a resolver for it.
cxautogen emits one of these per classset declaration in a .cxh, with the entries sorted by wire name so the lookup is a binary search. Every class in a set must carry a wire name, which means it must be [serialize] or implement Serializable; cxautogen rejects the declaration otherwise, since a class with no name could never be resolved back.
Definition at line 108 of file objclass.h.