This component class provides a complex constrained attribute type, bdld::DatumError, that represents an error code with an optional descriptive error message. Note that this class holds a reference to the error message and does not make a copy of it.
Synopsis
Declared in <bdld_datumerror.h>
class DatumError;
Member Functions
Name |
Description |
|
Constructors |
Return the error code. |
|
Return a reference to the non‐modifyable error message. The returned reference remains valid as long as the underlying message is not modified or destroyed ‐‐ irrespective of the state (or existence) of this object. The behavior is undefined unless the underlying error message has been modified or destroyed since this object was created. |
|
Write the value of this object to the specified output |
|
|
|
Non-Member Functions
Name |
Description |
Return |
|
Return |
|
Return |
|
Return |
|
Return |
|
Return |
Created with MrDocs