nndeploy C++ API  0.2.0
nndeploy C++ API
Public Member Functions | Static Public Member Functions | List of all members
nndeploy::base::Status Class Reference

#include <status.h>

Public Member Functions

std::string desc () const
 
StatusCode getStatusCode () const
 
 operator bool () const
 
 operator int () const
 
bool operator!= (const Status &other) const
 
bool operator!= (const StatusCode &other) const
 
bool operator!= (int other) const
 
Status operator+ (const Status &other)
 
Statusoperator= (const Status &other)
 
Statusoperator= (const StatusCode &other)
 
Statusoperator= (int other)
 
Statusoperator= (Status &&other)
 
bool operator== (const Status &other) const
 
bool operator== (const StatusCode &other) const
 
bool operator== (int other) const
 
 Status ()
 
 Status (const Status &other)
 
 Status (int code)
 
 Status (Status &&other)
 
 Status (StatusCode code)
 
 ~Status ()
 

Static Public Member Functions

static Status Error ()
 
static Status Ok ()
 

Detailed Description

Definition at line 87 of file status.h.

Constructor & Destructor Documentation

◆ Status() [1/5]

nndeploy::base::Status::Status ( )

◆ Status() [2/5]

nndeploy::base::Status::Status ( int  code)

◆ Status() [3/5]

nndeploy::base::Status::Status ( StatusCode  code)

◆ ~Status()

nndeploy::base::Status::~Status ( )

◆ Status() [4/5]

nndeploy::base::Status::Status ( const Status other)

◆ Status() [5/5]

nndeploy::base::Status::Status ( Status &&  other)

Member Function Documentation

◆ desc()

std::string nndeploy::base::Status::desc ( ) const

◆ Error()

static Status nndeploy::base::Status::Error ( )
static

◆ getStatusCode()

StatusCode nndeploy::base::Status::getStatusCode ( ) const

◆ Ok()

static Status nndeploy::base::Status::Ok ( )
static

◆ operator bool()

nndeploy::base::Status::operator bool ( ) const

◆ operator int()

nndeploy::base::Status::operator int ( ) const

◆ operator!=() [1/3]

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

◆ operator!=() [2/3]

bool nndeploy::base::Status::operator!= ( const StatusCode other) const

◆ operator!=() [3/3]

bool nndeploy::base::Status::operator!= ( int  other) const

◆ operator+()

Status nndeploy::base::Status::operator+ ( const Status other)

◆ operator=() [1/4]

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

◆ operator=() [2/4]

Status& nndeploy::base::Status::operator= ( const StatusCode other)

◆ operator=() [3/4]

Status& nndeploy::base::Status::operator= ( int  other)

◆ operator=() [4/4]

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

◆ operator==() [1/3]

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

◆ operator==() [2/3]

bool nndeploy::base::Status::operator== ( const StatusCode other) const

◆ operator==() [3/3]

bool nndeploy::base::Status::operator== ( int  other) const

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