![]() |
boost::log::record_handle — A logging record handle class.
// In header: <boost/log/core/record.hpp> class record_handle { public: // public member functions bool operator==(record_handle const &) const; bool operator!=(record_handle const &) const; bool operator!() const; void swap(record_handle &); void reset(); void * get() const; };
This class is used to identify a log record in calls to the logging core. Consider using the basic_record wrapper class for user-scope needs.
record_handle public member functionsbool operator==(record_handle const & that) const;
Equality comparison
| Parameters: |
|
||
| Returns: |
|
bool operator!=(record_handle const & that) const;
Inequality comparison
| Parameters: |
|
||
| Returns: |
|
bool operator!() const;
Conversion to an unspecified boolean type
Inverted conversion to an unspecified boolean type
| Returns: |
|
| Returns: |
|
void swap(record_handle & that);
Swaps two handles
| Parameters: |
|
void reset();
Resets the log record handle. If there are no other handles left, the log record is closed and all resources referenced by the record are released.
| Postconditions: |
|
void * get() const;
Returns a non-NULL pointer if the handle is valid, NULL otherwise.