GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
status.h File Reference
#include <ostream>
#include <string>
Include dependency graph for status.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  draco::Status

Namespaces

namespace  draco

Macros

#define DRACO_RETURN_IF_ERROR(expression)

Functions

std::ostream & draco::operator<< (std::ostream &os, const Status &status)
Status draco::OkStatus ()
Status draco::ErrorStatus (const std::string &msg)

Macro Definition Documentation

◆ DRACO_RETURN_IF_ERROR

#define DRACO_RETURN_IF_ERROR ( expression)
Value:
{ \
const draco::Status _local_status = (expression); \
if (!_local_status.ok()) { \
return _local_status; \
} \
}
Definition status.h:25
bool ok() const
Definition status.h:52