LibreOffice LibreOffice 25.2 SDK API Reference

XDataOutputStream.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20
21
22module com { module sun { module star { module io {
23
28published interface XDataOutputStream: com::sun::star::io::XOutputStream
29{
33 void writeBoolean( [in] boolean Value )
34 raises( com::sun::star::io::IOException );
35
38 void writeByte( [in] byte Value )
39 raises( com::sun::star::io::IOException );
40
43 void writeChar( [in] char Value )
44 raises( com::sun::star::io::IOException );
45
48 void writeShort( [in] short Value )
49 raises( com::sun::star::io::IOException );
50
53 void writeLong( [in] long Value )
54 raises( com::sun::star::io::IOException );
55
58 void writeHyper( [in] hyper Value )
59 raises( com::sun::star::io::IOException );
60
63 void writeFloat( [in] float Value )
64 raises( com::sun::star::io::IOException );
65
68 void writeDouble( [in] double Value )
69 raises( com::sun::star::io::IOException );
70
73 void writeUTF( [in] string Value )
74 raises( com::sun::star::io::IOException );
75
76};
77
78
79}; }; }; };
80
81/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::io::IOException
is thrown when an input or output error has occurred.
Definition: IOException.idl:27
com::sun::star::io::XDataOutputStream
makes it possible to write machine-independent simple data types to a stream.
Definition: XDataOutputStream.idl:29
com::sun::star::io::XDataOutputStream::writeLong
void writeLong([in] long Value)
writes a 32-bit big endian integer.
com::sun::star::io::XDataOutputStream::writeUTF
void writeUTF([in] string Value)
writes a string in UTF format.
com::sun::star::io::XDataOutputStream::writeByte
void writeByte([in] byte Value)
writes an 8-bit byte.
com::sun::star::io::XDataOutputStream::writeBoolean
void writeBoolean([in] boolean Value)
writes a boolean.
com::sun::star::io::XDataOutputStream::writeFloat
void writeFloat([in] float Value)
writes a 32-bit IEEE float.
com::sun::star::io::XDataOutputStream::writeDouble
void writeDouble([in] double Value)
writes a 64-bit IEEE double.
com::sun::star::io::XDataOutputStream::writeShort
void writeShort([in] short Value)
writes a 16-bit big endian integer.
com::sun::star::io::XDataOutputStream::writeChar
void writeChar([in] char Value)
writes a 16-bit character.
com::sun::star::io::XDataOutputStream::writeHyper
void writeHyper([in] hyper Value)
writes a 64-bit big endian integer.
com::sun::star::io::XOutputStream
This is the basic interface to write data to a stream.
Definition: XOutputStream.idl:30
com
Definition: Ambiguous.idl:20