ONE - On-device Neural Engine
Loading...
Searching...
No Matches
locoex::COpAttrInt Struct Referencefinal

Struct that holds attr data of int type. More...

#include <COpAttrTypes.h>

Collaboration diagram for locoex::COpAttrInt:

Public Member Functions

 COpAttrInt (int tf_val)
 
int val () const
 
void val (int val)
 
- Public Member Functions inherited from locoex::COpAttrData
virtual ~COpAttrData ()=default
 
COpAttrType type () const
 
void type (COpAttrType attr_type)
 

Additional Inherited Members

- Protected Member Functions inherited from locoex::COpAttrData
 COpAttrData (COpAttrType attr_type)
 

Detailed Description

Struct that holds attr data of int type.

Definition at line 58 of file COpAttrTypes.h.

Constructor & Destructor Documentation

◆ COpAttrInt()

locoex::COpAttrInt::COpAttrInt ( int  tf_val)
inline

Definition at line 61 of file COpAttrTypes.h.

61: COpAttrData(COpAttrType::Int) { _val = tf_val; }
COpAttrData(COpAttrType attr_type)

Member Function Documentation

◆ val() [1/2]

int locoex::COpAttrInt::val ( ) const
inline

Definition at line 63 of file COpAttrTypes.h.

63{ return _val; }

◆ val() [2/2]

void locoex::COpAttrInt::val ( int  val)
inline

Definition at line 64 of file COpAttrTypes.h.

64{ _val = val; }

References val().

Referenced by val().


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