Xavax C++ Library | Class Index FAQ Overview |
Constructor Summary |
TypeDescriptor(...)
Construct a TypeDescriptor object. |
Operator Summary | |
const MemberDescriptor&
|
operator[](size_t n)
Return the nth member descriptor. |
Method Summary | |
size_t
|
size() const
Return the size of an instance of this type. |
size_t
|
count() const
Return the number of member descriptors. |
const char*
|
name() const
Return the basic type name. |
Type
|
type() const
Return the basic type. |
Related Classes | |
MemberDescriptor, Type, TypeQualifier. |
Macros |
TypeDescriptor(name, type)
name
- the type name.type
- the basic type
(see Type).
Constructor Detail |
TypeDescriptor(const char* name,
Type type, size_t size,
size_t nmem, const MemberDescriptor* members)
name
- the type name.type
- the basic type
(see Type).size
- the instance size.nmem
- the number of member descriptors.members
- the member descriptors.
Operator Detail |
const MemberDescriptor& operator[](size_t n)
n
- the index into the member descriptor array.
Method Detail |
size_t size() const
size_t count() const
const char*name() const
Type type() const
Example Code |
Copyright © 2003 Xavax Inc. -- All Rights Reserved