C++ TargetRTS
Loading...
Searching...
No Matches
RTDiagMirrorStream.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2026. All Rights Reserved.
4 *
5 * U.S. Government Users Restricted Rights - Use, duplication or
6 * disclosure restricted by GSA ADP Schedule.
7 */
8
9#ifndef __RTDiagMirrorStream_h__
10#define __RTDiagMirrorStream_h__ included
11
12#ifdef PRAGMA
13#pragma interface
14#endif
15
16#include <ostream>
17
18class RTDiagStream;
19
21{
22
23public:
24 RTDiagMirrorStream(RTDiagStream& stream, std::ostream* mirrorStream);
26
27 // Return reference to stream for writing
28 RTS_INLINE RTDiagStream & stream();
29
30private:
31 RTDiagStream & diagStream;
32 // Prevent copying
34 RTDiagMirrorStream & operator=( const RTDiagMirrorStream & );
35};
36
37#if RTS_INLINES
38#include <RTDiagMirrorStream.inl>
39#endif
40
41#endif // __RTDiagMirrorStream_h__
Definition: RTDiagMirrorStream.h:21
Definition: RTDiagStream.h:40