|
Ninja
|
Convenience wrapper for an Explanations pointer, which can be null if no explanations need to be recorded. More...
#include <explanations.h>
Public Member Functions | |
| void | LookupAndAppend (const void *item, std::vector< std::string > *out) |
| OptionalExplanations (Explanations *explanations) | |
| Explanations * | ptr () const |
| void | Record (const void *item, const char *fmt,...) |
| void | RecordArgs (const void *item, const char *fmt, va_list args) |
Private Attributes | |
| Explanations * | explanations_ |
Convenience wrapper for an Explanations pointer, which can be null if no explanations need to be recorded.
Definition at line 61 of file explanations.h.
|
inline |
Definition at line 62 of file explanations.h.
|
inline |
Definition at line 79 of file explanations.h.
References explanations_, and Explanations::LookupAndAppend().
Referenced by TEST().
|
inline |
Definition at line 84 of file explanations.h.
References explanations_.
|
inline |
Definition at line 65 of file explanations.h.
References explanations_, and Explanations::RecordArgs().
Referenced by TEST().
|
inline |
Definition at line 74 of file explanations.h.
References explanations_, and Explanations::RecordArgs().
|
private |
Definition at line 87 of file explanations.h.
Referenced by LookupAndAppend(), ptr(), Record(), and RecordArgs().