C++ TargetRTS
Loading...
Searching...
No Matches
RTStreamBuffer.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTStreamBuffer_h__
11#define __RTStreamBuffer_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTOBuffer_h__
18#include <RTOBuffer.h>
19#endif
20
22{
23public:
24 RTStreamBuffer( void );
25 virtual ~RTStreamBuffer( void );
26
27 virtual int write( const char * data, int size ) override;
28
29protected:
30 int offset;
31 char buffer[ 80 ];
32
33private:
34 // unavailable methods
36 RTStreamBuffer & operator=( const RTStreamBuffer & );
37}; //lint !e1712
38
39#endif // __RTStreamBuffer_h__
Represents an output buffer.
Definition: RTOBuffer.h:23
Definition: RTStreamBuffer.h:22
virtual int write(const char *data, int size) override
Write a string to the buffer.