|
constexpr | StringAnnotation (const char name[]) |
| Constructs a new StringAnnotation with the given name. More...
|
|
void | Set (const char *value) |
| Sets the Annotation's string value. More...
|
|
constexpr | Annotation (Type type, const char name[], void *const value_ptr) |
| Constructs a new annotation. More...
|
|
void | SetSize (ValueSizeType size) |
| Specifies the number of bytes in value_ptr_ to include when generating a crash report. More...
|
|
void | Clear () |
| Marks the annotation as cleared, indicating the value_ptr_ should not be included in a crash report. More...
|
|
bool | is_set () const |
| Tests whether the annotation has been set.
|
|
Type | type () const |
|
ValueSizeType | size () const |
|
const char * | name () const |
|
const void * | value () const |
|
template<Annotation::ValueSizeType MaxSize>
class crashpad::StringAnnotation< MaxSize >
An.
- See also
- Annotation that stores a
NUL
-terminated C-string value.
The storage for the value is allocated by the annotation and the template parameter MaxSize controls the maxmium length for the value.
It is expected that the string value be valid UTF-8, although this is not validated.