Motr  M0
m0_xcode_type Struct Reference

#include <xcode.h>

Collaboration diagram for m0_xcode_type:
Collaboration graph

Data Fields

enum m0_xcode_aggr xct_aggr
 
const char * xct_name
 
const struct m0_xcode_type_opsxct_ops
 
enum m0_xode_atom_type xct_atype
 
uint32_t xct_flags
 
void * xct_decor [M0_XCODE_DECOR_MAX]
 
size_t xct_sizeof
 
size_t xct_nr
 
struct m0_xcode_field xct_child [0]
 

Detailed Description

This struct represents a data-type.

Definition at line 313 of file xcode.h.

Field Documentation

◆ xct_aggr

enum m0_xcode_aggr xct_aggr

What sub-objects instances of this type have and how they are organized?

Definition at line 316 of file xcode.h.

◆ xct_atype

enum m0_xode_atom_type xct_atype

Which atomic type this is?

This field is valid only when xt->xct_aggr == M0_XA_ATOM.

Definition at line 326 of file xcode.h.

◆ xct_child

struct m0_xcode_field xct_child[0]

Array of fields.

Definition at line 345 of file xcode.h.

◆ xct_decor

void* xct_decor[M0_XCODE_DECOR_MAX]

"Decorations" are used by xcode users to associate additional information with introspection elements.

See also
m0_xcode_decor_register()
m0_xcode_field::xf_decor[]

Definition at line 339 of file xcode.h.

◆ xct_flags

uint32_t xct_flags

Flags, associated with this type (if any). For possible values

See also
m0_xcode_type_flags enum.

Definition at line 331 of file xcode.h.

◆ xct_name

const char* xct_name

Type name.

Definition at line 318 of file xcode.h.

◆ xct_nr

size_t xct_nr

Number of fields.

Definition at line 343 of file xcode.h.

◆ xct_ops

const struct m0_xcode_type_ops* xct_ops

Custom operations.

Definition at line 320 of file xcode.h.

◆ xct_sizeof

size_t xct_sizeof

Size in bytes of in-memory instances of this type.

Definition at line 341 of file xcode.h.


The documentation for this struct was generated from the following file: