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

#include <common.h>

Public Member Functions

 DeviceType ()
 
 DeviceType (const DeviceType &other)
 
 DeviceType (DeviceType &&other)
 
 DeviceType (DeviceTypeCode code, int device_id=0)
 
bool operator!= (const DeviceType &other) const
 
bool operator!= (const DeviceTypeCode &other) const
 
DeviceTypeoperator= (const DeviceType &other)
 
DeviceTypeoperator= (const DeviceTypeCode &other)
 
DeviceTypeoperator= (DeviceType &&other)
 
bool operator== (const DeviceType &other) const
 
bool operator== (const DeviceTypeCode &other) const
 

Public Attributes

DeviceTypeCode code_
 
int device_id_
 

Detailed Description

Definition at line 109 of file common.h.

Constructor & Destructor Documentation

◆ DeviceType() [1/4]

nndeploy::base::DeviceType::DeviceType ( )

◆ DeviceType() [2/4]

nndeploy::base::DeviceType::DeviceType ( DeviceTypeCode  code,
int  device_id = 0 
)

◆ DeviceType() [3/4]

nndeploy::base::DeviceType::DeviceType ( const DeviceType other)

◆ DeviceType() [4/4]

nndeploy::base::DeviceType::DeviceType ( DeviceType &&  other)

Member Function Documentation

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

bool nndeploy::base::DeviceType::operator!= ( const DeviceTypeCode other) const

◆ operator=() [1/3]

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

◆ operator=() [2/3]

DeviceType& nndeploy::base::DeviceType::operator= ( const DeviceTypeCode other)

◆ operator=() [3/3]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool nndeploy::base::DeviceType::operator== ( const DeviceTypeCode other) const

Member Data Documentation

◆ code_

DeviceTypeCode nndeploy::base::DeviceType::code_

Definition at line 126 of file common.h.

◆ device_id_

int nndeploy::base::DeviceType::device_id_

Definition at line 127 of file common.h.


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