activemq-cpp-3.8.2
DataOutput.h
Go to the documentation of this file.
1
/*
2
* Licensed to the Apache Software Foundation (ASF) under one or more
3
* contributor license agreements. See the NOTICE file distributed with
4
* this work for additional information regarding copyright ownership.
5
* The ASF licenses this file to You under the Apache License, Version 2.0
6
* (the "License"); you may not use this file except in compliance with
7
* the License. You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
18
#ifndef _DECAF_IO_DATAOUTPUT_H_
19
#define _DECAF_IO_DATAOUTPUT_H_
20
21
#include <
decaf/util/Config.h
>
22
23
#include <vector>
24
#include <string>
25
26
#include <
decaf/io/IOException.h
>
27
#include <
decaf/io/EOFException.h
>
28
#include <
decaf/lang/exceptions/NullPointerException.h
>
29
#include <
decaf/lang/exceptions/IndexOutOfBoundsException.h
>
30
31
namespace
decaf
{
32
namespace
io {
33
47
class
DECAF_API
DataOutput
{
48
public
:
49
50
virtual
~
DataOutput
();
51
63
virtual
void
writeBoolean(
bool
value) = 0;
64
75
virtual
void
writeByte(
unsigned
char
value) = 0;
76
87
virtual
void
writeShort(
short
value) = 0;
88
97
virtual
void
writeUnsignedShort(
unsigned
short
value) = 0;
98
109
virtual
void
writeChar(
char
value) = 0;
110
121
virtual
void
writeInt(
int
value) = 0;
122
133
virtual
void
writeLong(
long
long
value) = 0;
134
147
virtual
void
writeFloat(
float
value) = 0;
148
161
virtual
void
writeDouble(
double
value) = 0;
162
177
virtual
void
writeBytes(
const
std::string& value) = 0;
178
191
virtual
void
writeChars(
const
std::string& value) = 0;
192
206
virtual
void
writeUTF(
const
std::string& value) = 0;
207
208
};
209
210
}}
211
212
#endif
/* _DECAF_IO_DATAOUTPUT_H_ */
IndexOutOfBoundsException.h
decaf::io::DataOutput
The DataOutput interface provides for converting data from any of the C++ primitive types to a series...
Definition:
DataOutput.h:47
Config.h
DECAF_API
#define DECAF_API
Definition:
Config.h:29
NullPointerException.h
IOException.h
decaf
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition:
AprPool.h:25
EOFException.h
src
main
decaf
io
DataOutput.h
Generated by
1.8.13