LibreOffice: com/sun/star/io/XDataInputStream.idl Source File

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XDataInputStream.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 XDataInputStream: com::sun::star::io::XInputStream
29{
33 byte readBoolean()
34 raises( com::sun::star::io::IOException );
35
38 byte readByte()
39 raises( com::sun::star::io::IOException );
40
43 char readChar()
44 raises( com::sun::star::io::IOException );
45
48 short readShort()
49 raises( com::sun::star::io::IOException );
50
53 long readLong()
54 raises( com::sun::star::io::IOException );
55
58 hyper readHyper()
59 raises( com::sun::star::io::IOException );
60
63 float readFloat()
64 raises( com::sun::star::io::IOException );
65
68 double readDouble()
69 raises( com::sun::star::io::IOException );
70
73 string readUTF()
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::XDataInputStream
makes it possible to read machine-independent simple data types from a stream.
Definition XDataInputStream.idl:29
com::sun::star::io::XDataInputStream::readDouble
double readDouble()
reads a 64-bit IEEE double.
com::sun::star::io::XDataInputStream::readByte
byte readByte()
reads an 8-bit byte.
com::sun::star::io::XDataInputStream::readUTF
string readUTF()
reads a string of UTF encoded characters.
com::sun::star::io::XDataInputStream::readFloat
float readFloat()
reads a 32-bit IEEE float.
com::sun::star::io::XDataInputStream::readLong
long readLong()
reads a 32-bit big endian integer.
com::sun::star::io::XDataInputStream::readShort
short readShort()
reads a 16-bit big endian integer.
com::sun::star::io::XDataInputStream::readChar
char readChar()
reads a 16-bit unicode character.
com::sun::star::io::XDataInputStream::readBoolean
byte readBoolean()
reads in a boolean.
com::sun::star::io::XDataInputStream::readHyper
hyper readHyper()
reads a 64-bit big endian integer.
com::sun::star::io::XInputStream
This is the basic interface to read data from a stream.
Definition XInputStream.idl:30
com::sun::star::io
General input/output interfaces.
Definition AlreadyConnectedException.idl:22
com::sun::star
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
com::sun
Definition Ambiguous.idl:20
com
Definition Ambiguous.idl:20