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 .
20 /* In this file the idl struct will be tested.
24 /// idlc defines a test module
28 /// test defines a test module
32 typedef sequence
< long > Id;
39 BaseStruct defines an * initial struct
48 /// a unsigned short member
54 /// a unsigned long member
60 /// a unsigned hyper member
88 interface XTestBaseTypes
;
90 typedef sequence
< long > LongSeq
;
92 typedef sequence
< LongSeq
> LongSeqSeq
;
94 /** TestStruct deinfes a struct which inherits
95 from the base strcut type BaseStruct.
97 struct TestStruct
: BaseStruct
99 /// a sequence< long > member
100 sequence
< long > ms1
;
102 /// a sequence< sequence< long > > member
103 sequence
< sequence
< long > > ms2
;
105 /// an interface member
111 /// a further typedef member
114 /// a sequence typedef member
115 sequence
<LongSeq
> ms8
;
121 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */