All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MessageSvc::MsgAry Struct Reference

Private helper class to keep the count of messages of a type (MSG::LEVEL). More...

Public Types

typedef boost::array< int,
MSG::NUM_LEVELS
ArrayType
 Simple typedef for readability. More...
 

Public Member Functions

 MsgAry ()
 Default constructor. More...
 

Public Attributes

ArrayType msg
 Internal array of counters. More...
 

Detailed Description

Private helper class to keep the count of messages of a type (MSG::LEVEL).

Definition at line 147 of file MessageSvc.h.

Member Typedef Documentation

Simple typedef for readability.

Definition at line 149 of file MessageSvc.h.

Constructor & Destructor Documentation

MessageSvc::MsgAry::MsgAry ( )
inline

Default constructor.

Definition at line 153 of file MessageSvc.h.

153  {
154  // This is a special hack to have a fast initialization of the array
155  // because we cannot use initializer lists in the constructor (should be
156  // possible in C++0X).
157  static const ArrayType zero = {{0}};
158  msg = zero;
159  }
ArrayType msg
Internal array of counters.
Definition: MessageSvc.h:151
boost::array< int, MSG::NUM_LEVELS > ArrayType
Simple typedef for readability.
Definition: MessageSvc.h:149

Member Data Documentation

ArrayType MessageSvc::MsgAry::msg

Internal array of counters.

Definition at line 151 of file MessageSvc.h.


The documentation for this struct was generated from the following file: