blob: fc1c9ff691dcf38ae35ed6d7a3ae32d6c4b5879a (
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
|
#ifndef guard_mock_stream_hpp
#define guard_mock_stream_hpp
/**
* @file
*
* @brief Mock an stream
*
* $Id$
*
* @author Johnny Willemsen
*/
#include "ace/config-all.h"
#include "testing_counters.hpp"
#include "tao/Basic_Types.h"
/**
* @class mock_stream
*
* @brief Implement a concrete class with the right interface for an
* object reference.
*/
class mock_stream
{
public:
virtual ~mock_stream();
static call_counter serialize_calls;
static call_counter deserialize_calls;
};
CORBA::Boolean operator<< (mock_stream &, const CORBA::ULong);
CORBA::Boolean operator>> (mock_stream &, CORBA::ULong &);
#endif // guard_mock_stream_hpp
|