TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DetourStatus.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef unsigned int dtStatus
 

Functions

bool dtStatusSucceed (dtStatus status)
 
bool dtStatusFailed (dtStatus status)
 
bool dtStatusInProgress (dtStatus status)
 
bool dtStatusDetail (dtStatus status, unsigned int detail)
 

Variables

static const unsigned int DT_FAILURE = 1u << 31
 
static const unsigned int DT_SUCCESS = 1u << 30
 
static const unsigned int DT_IN_PROGRESS = 1u << 29
 
static const unsigned int DT_STATUS_DETAIL_MASK = 0x0ffffff
 
static const unsigned int DT_WRONG_MAGIC = 1 << 0
 
static const unsigned int DT_WRONG_VERSION = 1 << 1
 
static const unsigned int DT_OUT_OF_MEMORY = 1 << 2
 
static const unsigned int DT_INVALID_PARAM = 1 << 3
 
static const unsigned int DT_BUFFER_TOO_SMALL = 1 << 4
 
static const unsigned int DT_OUT_OF_NODES = 1 << 5
 
static const unsigned int DT_PARTIAL_RESULT = 1 << 6
 

Typedef Documentation

typedef unsigned int dtStatus

Function Documentation

bool dtStatusDetail ( dtStatus  status,
unsigned int  detail 
)
inline
60 {
61  return (status & detail) != 0;
62 }
bool dtStatusFailed ( dtStatus  status)
inline
48 {
49  return (status & DT_FAILURE) != 0;
50 }
static const unsigned int DT_FAILURE
Definition: DetourStatus.h:25

+ Here is the caller graph for this function:

bool dtStatusInProgress ( dtStatus  status)
inline
54 {
55  return (status & DT_IN_PROGRESS) != 0;
56 }
static const unsigned int DT_IN_PROGRESS
Definition: DetourStatus.h:27

+ Here is the caller graph for this function:

bool dtStatusSucceed ( dtStatus  status)
inline
42 {
43  return (status & DT_SUCCESS) != 0;
44 }
static const unsigned int DT_SUCCESS
Definition: DetourStatus.h:26

+ Here is the caller graph for this function:

Variable Documentation

const unsigned int DT_BUFFER_TOO_SMALL = 1 << 4
static
const unsigned int DT_FAILURE = 1u << 31
static
const unsigned int DT_IN_PROGRESS = 1u << 29
static
const unsigned int DT_INVALID_PARAM = 1 << 3
static
const unsigned int DT_OUT_OF_MEMORY = 1 << 2
static
const unsigned int DT_OUT_OF_NODES = 1 << 5
static
const unsigned int DT_PARTIAL_RESULT = 1 << 6
static
const unsigned int DT_STATUS_DETAIL_MASK = 0x0ffffff
static
const unsigned int DT_SUCCESS = 1u << 30
static
const unsigned int DT_WRONG_MAGIC = 1 << 0
static
const unsigned int DT_WRONG_VERSION = 1 << 1
static