nndeploy C++ API  0.2.0
nndeploy C++ API
Public Member Functions | Public Attributes | List of all members
nndeploy::base::DataType Struct Reference

#include <common.h>

Public Member Functions

 DataType ()
 
 DataType (const DataType &other)
 
 DataType (DataType &&other)
 
 DataType (DataTypeCode code, uint8_t bits, uint16_t lanes=(uint16_t) 1)
 
 DataType (uint8_t code, uint8_t bits, uint16_t lanes=(uint16_t) 1)
 
bool operator!= (const DataType &other) const
 
bool operator!= (const DataTypeCode &other) const
 
bool operator< (const DataType &other) const
 
DataTypeoperator= (const DataType &other)
 
DataTypeoperator= (DataType &&other)
 
bool operator== (const DataType &other) const
 
bool operator== (const DataTypeCode &other) const
 
size_t size () const
 
 ~DataType ()
 

Public Attributes

uint8_t bits_
 
uint8_t code_
 
uint16_t lanes_
 

Detailed Description

Definition at line 24 of file common.h.

Constructor & Destructor Documentation

◆ DataType() [1/5]

nndeploy::base::DataType::DataType ( )

◆ DataType() [2/5]

nndeploy::base::DataType::DataType ( DataTypeCode  code,
uint8_t  bits,
uint16_t  lanes = (uint16_t) 1 
)

◆ DataType() [3/5]

nndeploy::base::DataType::DataType ( uint8_t  code,
uint8_t  bits,
uint16_t  lanes = (uint16_t) 1 
)

◆ ~DataType()

nndeploy::base::DataType::~DataType ( )

◆ DataType() [4/5]

nndeploy::base::DataType::DataType ( const DataType other)

◆ DataType() [5/5]

nndeploy::base::DataType::DataType ( DataType &&  other)

Member Function Documentation

◆ operator!=() [1/2]

bool nndeploy::base::DataType::operator!= ( const DataType other) const

◆ operator!=() [2/2]

bool nndeploy::base::DataType::operator!= ( const DataTypeCode other) const

◆ operator<()

bool nndeploy::base::DataType::operator< ( const DataType other) const

◆ operator=() [1/2]

DataType& nndeploy::base::DataType::operator= ( const DataType other)

◆ operator=() [2/2]

DataType& nndeploy::base::DataType::operator= ( DataType &&  other)

◆ operator==() [1/2]

bool nndeploy::base::DataType::operator== ( const DataType other) const

◆ operator==() [2/2]

bool nndeploy::base::DataType::operator== ( const DataTypeCode other) const

◆ size()

size_t nndeploy::base::DataType::size ( ) const

Member Data Documentation

◆ bits_

uint8_t nndeploy::base::DataType::bits_

Definition at line 48 of file common.h.

◆ code_

uint8_t nndeploy::base::DataType::code_

Definition at line 47 of file common.h.

◆ lanes_

uint16_t nndeploy::base::DataType::lanes_

Definition at line 49 of file common.h.


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