ATLAS Offline Software
PhysicsAnalysis/D3PDTools/RootCoreUtils/RootCoreUtils/Message.h
Go to the documentation of this file.
1 #ifndef ROOT_CORE_UTILS__MESSAGE_H
2 #define ROOT_CORE_UTILS__MESSAGE_H
3 
4 //
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
8 
9 // Please feel free to contact me (krumnack@iastate.edu) for bug
10 // reports, feature suggestions, praise and complaints.
11 
12 
13 // This module still needs to be documented. The interface provided
14 // in this module is intended for experts only. The module is
15 // considered to be in the pre-alpha stage.
16 
17 
18 
19 #include <RootCoreUtils/Global.h>
20 
22 
23 namespace RCU
24 {
25  struct Message
26  {
27  //
28  // public interface
29  //
30 
32  public:
33  const char *package;
34  public:
35  const char *file;
36  public:
37  unsigned line;
38 
40  public:
42 
45  public:
46  const char *message;
47 
48 
51  public:
52  Message ();
53 
54 
58  public:
59  void send () const;
60  };
61 }
62 
63 #endif
RCU::Message::line
unsigned line
Definition: PhysicsAnalysis/D3PDTools/RootCoreUtils/RootCoreUtils/Message.h:37
Global.h
RCU
This module defines a variety of assert style macros.
Definition: Assert.cxx:26
RCU::Message::Message
Message()
effects: standard constructor guarantee: no-fail
Definition: Message.cxx:31
RCU::Message::type
MessageType type
description: the type of this message
Definition: PhysicsAnalysis/D3PDTools/RootCoreUtils/RootCoreUtils/Message.h:41
RCU::Message::file
const char * file
Definition: PhysicsAnalysis/D3PDTools/RootCoreUtils/RootCoreUtils/Message.h:35
RCU::Message::package
const char * package
description: the location where the message was send
Definition: PhysicsAnalysis/D3PDTools/RootCoreUtils/RootCoreUtils/Message.h:33
RCU::Message
Definition: PhysicsAnalysis/D3PDTools/RootCoreUtils/RootCoreUtils/Message.h:26
RCU::MessageType
MessageType
Definition: MessageType.h:24
RCU::Message::message
const char * message
description: the actual message we are sending or 0 if there isn't one
Definition: PhysicsAnalysis/D3PDTools/RootCoreUtils/RootCoreUtils/Message.h:46
MessageType.h
RCU::Message::send
void send() const
effects: print the given message guarantee: basic failures: i/o errors
Definition: Message.cxx:40