1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com
{ module sun
{ module star
{ module io
{
24 /** makes it possible to write machine-independent simple data types to a
26 @see com::sun::star::io::XDataInputStream
28 published
interface XDataOutputStream
: com
::sun
::star
::io
::XOutputStream
30 /** writes a boolean. It is an 8-bit value. 0 means FALSE; all other
33 void writeBoolean
( [in] boolean Value
)
34 raises
( com
::sun
::star
::io
::IOException
);
36 /** writes an 8-bit byte.
38 void writeByte
( [in] byte Value
)
39 raises
( com
::sun
::star
::io
::IOException
);
41 /** writes a 16-bit character.
43 void writeChar
( [in] char Value
)
44 raises
( com
::sun
::star
::io
::IOException
);
46 /** writes a 16-bit big endian integer.
48 void writeShort
( [in] short Value
)
49 raises
( com
::sun
::star
::io
::IOException
);
51 /** writes a 32-bit big endian integer.
53 void writeLong
( [in] long Value
)
54 raises
( com
::sun
::star
::io
::IOException
);
56 /** writes a 64-bit big endian integer.
58 void writeHyper
( [in] hyper Value
)
59 raises
( com
::sun
::star
::io
::IOException
);
61 /** writes a 32-bit IEEE float.
63 void writeFloat
( [in] float Value
)
64 raises
( com
::sun
::star
::io
::IOException
);
66 /** writes a 64-bit IEEE double.
68 void writeDouble
( [in] double Value
)
69 raises
( com
::sun
::star
::io
::IOException
);
71 /** writes a string in UTF format.
73 void writeUTF
( [in] string Value
)
74 raises
( com
::sun
::star
::io
::IOException
);
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */