Class AttachFieldFlag#

Inheritance Relationships#

Base Type#

Class Documentation#

class AttachFieldFlag : public tvm::ffi::reflection::FieldInfoTrait#

Trait that can be used to attach field flag.

Public Functions

inline explicit AttachFieldFlag(int32_t flag)#

Attach a field flag to the field.

Parameters:

flag – The flag to be set

inline void Apply(TVMFFIFieldInfo *info) const#

Apply the field flag to the field info.

Parameters:

info – The field info.

Public Static Functions

static inline AttachFieldFlag SEqHashDef()#

Attach kTVMFFIFieldFlagBitMaskSEqHashDef.

static inline AttachFieldFlag SEqHashIgnore()#

Attach kTVMFFIFieldFlagBitMaskSEqHashIgnore.