This struct stores a list of information objects of arbitrary types, by publicly inheriting type BoxesMA. In addition, the CallerInfo is attached, which usually refers to the place (and thread) tat constructed an instance of this type.
Finally, a type identifier is available with field Type.
Note that while message data might be passed with construction, informational data may be added, changed or removed during the life-cycle of an instance using the inherited interface of class TBoxes.
Inside ALib, the struct is used with the type Exception.
Definition at line 23 of file message.inl.
Public Field Index: | |
CallerInfo | CI |
The source code location that this message relates to. | |
Enum | Type |
Public Method Index: | |
template<typename... TBoxables> | |
Message (const CallerInfo &ci, MonoAllocator &monoAllocator, const Enum &type, TBoxables &&... args) | |
![]() | |
TBoxes () | |
Defaulted default constructor, usable only with heap allocation. | |
TBoxes () | |
Defaulted default constructor, usable only with heap allocation. | |
TBoxes (MonoAllocator &pAllocator) | |
TBoxes (MonoAllocator &pAllocator) | |
TBoxes (TBoxes &)=delete | |
Deleted copy constructor. | |
TBoxes (TBoxes &)=delete | |
Deleted copy constructor. | |
TBoxes & | Add () |
TBoxes & | Add () |
TBoxes & | Add (const Box &box) |
TBoxes & | Add (const Box &box) |
TBoxes & | Add (const Box(&boxArray)[TExtend]) |
TBoxes & | Add (const Box(&boxArray)[TExtend]) |
TBoxes & | Add (const TBoxes< TAllocatorArgs > &boxes) |
TBoxes & | Add (const TBoxes< TAllocatorArgs > &boxes) |
TBoxes & | Add (TBoxables &&... args) |
TBoxes & | Add (TBoxables &&... args) |
void | AddArray (const Box *boxArray, integer length) |
void | AddArray (const Box *boxArray, integer length) |
void | CallAll (TArgs &&... args) |
void | CallAll (TArgs &&... args) |
void | CallAll (TArgs &&... args) const |
void | CallAll (TArgs &&... args) const |
void | CloneAll () |
void | CloneAll () |
TBoxes & | operator+= (TBoxable &&src) |
TBoxes & | operator+= (TBoxable &&src) |
TBoxes & | operator<< (TBoxable &&src) |
TBoxes & | operator<< (TBoxable &&src) |
TBoxes & | operator= (TBoxes &)=delete |
TBoxes & | operator= (TBoxes &)=delete |
void | Reserve (integer newCapacity) |
void | Reserve (integer newCapacity) |
integer | Size () const |
integer | Size () const |
Additional Inherited Members | |
![]() | |
using | AllocatorType |
The allocator type that TAllocator specifies. | |
![]() | |
using | vectorBase |
The allocator type that TAllocator specifies. | |
CallerInfo alib::exceptions::Message::CI |
The source code location that this message relates to.
Definition at line 25 of file message.inl.
Enum alib::exceptions::Message::Type |
A type identifier, defined with construction by providing an element of an arbitrary enumeration type.
Definition at line 26 of file message.inl.
|
inline |
Constructor.
ci | Information about the scope of invocation. |
monoAllocator | The allocator to store the arguments in. |
type | The message type. |
args | Variadic, templated list of arguments. |
Definition at line 34 of file message.inl.