oa::OpAttribute

OpAttribute class in the OA Core public surface.

Public Methods

oa::Status oa::OpAttribute::validate()

Static Public Methods

static OpAttribute oa::OpAttribute::fromBoolean(oa::StringView inName, oa::Bool inValue)
static OpAttribute oa::OpAttribute::fromEnum(oa::StringView inName, oa::String inSymbol)
static OpAttribute oa::OpAttribute::fromFloat(oa::StringView inName, oa::F64 inValue)
static OpAttribute oa::OpAttribute::fromShape(oa::StringView inName, const MatrixShape & inValue)
static OpAttribute oa::OpAttribute::fromSignedInteger(oa::StringView inName, oa::I64 inValue)
static OpAttribute oa::OpAttribute::fromString(oa::StringView inName, oa::String inValue)
static OpAttribute oa::OpAttribute::fromUnsignedInteger(oa::StringView inName, oa::U64 inValue)

Public Data Members

booleanoa::Boolfield
floatValoa::F64field
kindOpAttributeKindfield
nameStringfield
shapeMatrixShapefield
signedIntegeroa::I64field
textStringfield
unsignedIntegeroa::U64field

Public Method Documentation

oa::Status oa::OpAttribute::validate()
No public source comment is attached to this declaration.

Returns

oa::Status

The declared return value.

static OpAttribute oa::OpAttribute::fromBoolean( oa::StringView inName, oa::Bool inValue )
No public source comment is attached to this declaration.

Parameters

inName
oa::StringView

inValue
oa::Bool

Returns

OpAttribute

The declared return value.

static OpAttribute oa::OpAttribute::fromEnum( oa::StringView inName, oa::String inSymbol )
No public source comment is attached to this declaration.

Parameters

inName
oa::StringView

inSymbol
oa::String

Returns

OpAttribute

The declared return value.

static OpAttribute oa::OpAttribute::fromFloat( oa::StringView inName, oa::F64 inValue )
No public source comment is attached to this declaration.

Parameters

inName
oa::StringView

inValue
oa::F64

Returns

OpAttribute

The declared return value.

static OpAttribute oa::OpAttribute::fromShape( oa::StringView inName, const MatrixShape & inValue )
No public source comment is attached to this declaration.

Parameters

inName
oa::StringView

inValue
const MatrixShape &

Returns

OpAttribute

The declared return value.

static OpAttribute oa::OpAttribute::fromSignedInteger( oa::StringView inName, oa::I64 inValue )
No public source comment is attached to this declaration.

Parameters

inName
oa::StringView

inValue
oa::I64

Returns

OpAttribute

The declared return value.

static OpAttribute oa::OpAttribute::fromString( oa::StringView inName, oa::String inValue )
No public source comment is attached to this declaration.

Parameters

inName
oa::StringView

inValue
oa::String

Returns

OpAttribute

The declared return value.

static OpAttribute oa::OpAttribute::fromUnsignedInteger( oa::StringView inName, oa::U64 inValue )
No public source comment is attached to this declaration.

Parameters

inName
oa::StringView

inValue
oa::U64

Returns

OpAttribute

The declared return value.