LibreOffice LibreOffice 6.0 SDK API Reference

XIdlField2.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 #ifndef __com_sun_star_reflection_XIdlField2_idl__
20 #define __com_sun_star_reflection_XIdlField2_idl__
21
22 #include <com/sun/star/reflection/XIdlMember.idl>
23
24 #include <com/sun/star/reflection/XIdlClass.idl>
25
26 #include <com/sun/star/reflection/FieldAccessMode.idl>
27
28 #include <com/sun/star/lang/IllegalArgumentException.idl>
29
30 #include <com/sun/star/lang/IllegalAccessException.idl>
31
32
33
34 module com { module sun { module star { module reflection {
35
36
40 published interface XIdlField2: com::sun::star::reflection::XIdlMember
41 {
47 com::sun::star::reflection::XIdlClass getType();
48
55 com::sun::star::reflection::FieldAccessMode getAccessMode();
56
76 any get(
77 [in] any obj )
78 raises( com::sun::star::lang::IllegalArgumentException );
79
97 void set(
98 [inout] any obj,
99 [in] any value )
100 raises( com::sun::star::lang::IllegalArgumentException,
101 com::sun::star::lang::IllegalAccessException );
102 };
103
104
105 }; }; }; };
106
107 #endif
108
109 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::reflection::XIdlMember
Base interface for XIdlField2s and XIdlMethods.
Definition: XIdlMember.idl:32
com::sun::star::reflection::XIdlField2
Reflects an IDL interface attribute, enum or compound type (i.e.
Definition: XIdlField2.idl:40
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
IllegalAccessException.idl
XIdlMember.idl
XIdlClass.idl
FieldAccessMode.idl
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
com::sun::star::lang::IllegalAccessException
This exception is thrown when an application tries to change a constant property. ...
Definition: IllegalAccessException.idl:31
com::sun::star::reflection::FieldAccessMode
FieldAccessMode
Denotes the access possibilities via XIdlField2 to an interface attribute, enum or compound type (str...
Definition: FieldAccessMode.idl:30
com::sun::star::reflection::XIdlClass
Provides information reflecting an UNO type.
Definition: XIdlClass.idl:38