BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/ers/ers/InvalidReferenceIssue.h File Reference
#include "ers/Issue.h"

Go to the source code of this file.

Classes

class  ers::InvalidReferenceIssue
 Invalid pointer issue. More...
 

Namespaces

namespace  ers
 

Macros

#define ERS_PRE_CHECK_PTR(p)   ers::InvalidReferenceIssue::check_reference(ERS_HERE,ers::error,p,#p,ers::resp_client)
 
#define ERS_CHECK_PTR(p)   ers::InvalidReferenceIssue::check_reference(ERS_HERE,ers::error,p,#p,ers::resp_server)
 

Macro Definition Documentation

◆ ERS_CHECK_PTR

If the pointer is invalid, this is considered as a server responsibility.

Note
Do not use this to check constant pointers, as the check is compiled out if the pointer is constant

Definition at line 68 of file InstallArea/include/ers/ers/InvalidReferenceIssue.h.

◆ ERS_PRE_CHECK_PTR

If the pointer is invalid, this is considered as a client responsibility.

Note
Do not use this to check constant pointers, as the check is compiled out if the pointer is constant

Definition at line 53 of file InstallArea/include/ers/ers/InvalidReferenceIssue.h.