A RAII helper to remove and readd enclosing _Atomic() It expects no spaces at the beginning or end of the string.
Definition at line 159 of file TClassEdit.h.
Public Types | |
enum class | EBehavior : short { kDetectStripReadd , kDetectStrip , kReadd , kNoOp } |
Public Member Functions | |
AtomicTypeNameHandlerRAII (std::string &typeName, EBehavior behavior=EBehavior::kDetectStripReadd) | |
~AtomicTypeNameHandlerRAII () | |
bool | IsAtomic () |
Private Attributes | |
EBehavior | fBehavior |
const char * | fgPrefix = "_Atomic(" |
bool | fIsAtomic = false |
std::string & | fTypeName |
#include <TClassEdit.h>
|
strong |
Enumerator | |
---|---|
kDetectStripReadd | |
kDetectStrip | |
kReadd | |
kNoOp |
Definition at line 161 of file TClassEdit.h.
|
inline |
Definition at line 175 of file TClassEdit.h.
|
inline |
Definition at line 194 of file TClassEdit.h.
|
inline |
Definition at line 192 of file TClassEdit.h.
|
private |
Definition at line 171 of file TClassEdit.h.
|
private |
Definition at line 172 of file TClassEdit.h.
Definition at line 170 of file TClassEdit.h.
|
private |
Definition at line 169 of file TClassEdit.h.