This class provides a container for a fixed set of attributes appropriate for logging. For each attribute in this class (e.g., category), there is an accessor for obtaining the attribute's value (the category accessor) and a manipulator for changing the attribute's value (the setCategory manipulator).
Synopsis
Declared in <ball_recordattributes.h>
class RecordAttributes;
Description
Additionally, this class supports a complete set of value semantic operations, including copy construction, assignment and equality comparison, and ostream printing. A precise operational definition of when two instances have the same value can be found in the description of operator== for the class. This class is exception neutral with no guarantee of rollback: If an exception is thrown during the invocation of a method on a pre‐existing instance, the object is left in a valid state, but its value is undefined. In no event is memory leaked. Finally, aliasing (e.g., using all or part of an object as both source and destination) is supported in all cases.
Member Functions
Name |
Description |
|
Constructors |
Assign to this record attributes object the value of the specified |
|
Return the category attribute of this record attributes object. |
|
Set the message attribute of this record attributes object to the empty string. Resets the objects returned by the |
|
Return the filename attribute of this record attributes object. |
|
Return the kernelThreadID attribute of this record attributes object. |
|
Return the line number attribute of this record attributes object. |
|
Return the message attribute of this record attributes object. Note that this method will return a truncated message if it contains embedded null ('0') characters; see |
|
Return a string reference providing non‐modifiable access to the message attribute of this record attributes object. Note that the returned string reference is not null‐terminated, and may contain null ('0') characters. |
|
|
|
|
|
Format this object to the specified output |
|
Return the processID attribute of this record attributes object. |
|
Set the category attribute of this record attributes object to the specified |
|
Set the filename attribute of this record attributes object to the specified |
|
Set the kernelThreadID attribute of this record attributes object to the specified |
|
Set the line number attribute of this record attributes object to the specified |
|
Set the message attribute of this record attributes object to the specified |
|
Set the processID attribute of this record attributes object to the specified |
|
Set the severity attribute of this record attributes object to the specified |
|
Set the threadID attribute of this record attributes object to the specified |
|
Set the timestamp attribute of this record attributes object to the specified |
|
Return the severity attribute of this record attributes object. |
|
Return the threadID attribute of this record attributes object. |
|
Return the timestamp attribute of this record attributes object. |
|
|
Declare that this type uses a |
Friends
Name |
Description |
Return |
Non-Member Functions
Name |
Description |
Return |
Created with MrDocs