summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CCF/CCF/CompilerElements/DiagnosticStream.cpp
blob: 9150c62350d7b72ee5aef05e650177f6434f5253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// file      : CCF/Runtime/DiagnosticStream.cpp
// author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
// cvs-id    : $Id$

#include "CCF/Runtime/DiagnosticStream.hpp"

#include <iostream>

namespace CCF
{
  namespace Runtime
  {
    namespace Diagnostic
    {
      Stream dout;

      //
      // class Message
      //

      Message::~Message () throw ()
      {
      }

      //
      // class Stream
      //

      Stream::Stream () throw ()
      {
      }


      Stream::~Stream () throw ()
      {
      }

      Stream&
      Stream:: operator << (Message const& msg)
        throw (ExH::System::Exception)
      {
        std::cerr << msg.text () << std::endl;
        return *this;
      }
    }
  }
}