StructInfo
Object Hierarchy:
Description:
[
CCode ( type_id =
"g_base_info_gtype_get_type ()" ) ]
[
Compact ]
public class StructInfo :
BaseInfo
Content:
Methods:
- public FieldInfo find_field (string name)
Obtain the type information for field named name
.
- public FunctionInfo find_method (string name)
Obtain the type information for method named name
.
- public size_t get_alignment ()
Obtain the required alignment of the structure.
- public FieldInfo get_field (int n)
Obtain the type information for field with specified index.
- public FunctionInfo get_method (int n)
Obtain the type information for method with specified index.
- public int get_n_fields ()
Obtain the number of fields this structure has.
- public int get_n_methods ()
Obtain the number of methods this structure has.
- public size_t get_size ()
Obtain the total size of the structure.
- public bool is_foreign ()
TODO
- public bool is_gtype_struct ()
Return true if this structure represents the "class structure" for
some Object or GInterface
.
Inherited Members:
All known members inherited from class GI.BaseInfo