fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / autodoc / source / parser_i / inc / s2_luidl / pe_selem.hxx
blobe2dca06ac7ab55a877be4460de060e4a8e76762d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 #ifndef LUIDL_PE_SELEM_HXX
21 #define LUIDL_PE_SELEM_HXX
25 // USED SERVICES
26 // BASE CLASSES
27 #include <s2_luidl/parsenv2.hxx>
28 #include <s2_luidl/pestate.hxx>
29 // COMPONENTS
30 // PARAMETERS
31 #include <ary/idl/i_gate.hxx>
34 namespace csi
36 namespace uidl
39 class PE_Type;
40 class Struct;
42 class PE_StructElement : public UnoIDL_PE,
43 public ParseEnvState
45 public:
46 typedef ary::idl::Ce_id RStructElement;
47 typedef ary::idl::Ce_id RStruct;
49 PE_StructElement( /// Use for Struct-elements
50 RStructElement & o_rResult,
51 const RStruct & i_rCurStruct,
52 const String & i_rCurStructTemplateParam );
53 PE_StructElement( /// Use for Exception-elements
54 RStructElement & o_rResult,
55 const RStruct & i_rCurExc );
56 virtual void EstablishContacts(
57 UnoIDL_PE * io_pParentPE,
58 ary::Repository & io_rRepository,
59 TokenProcessing_Result &
60 o_rResult );
61 ~PE_StructElement();
63 virtual void ProcessToken(
64 const Token & i_rToken );
66 virtual void Process_Default();
67 virtual void Process_Identifier(
68 const TokIdentifier &
69 i_rToken );
70 virtual void Process_Punctuation(
71 const TokPunctuation &
72 i_rToken );
74 private:
75 enum E_State
77 e_none,
78 expect_type,
79 expect_name,
80 expect_finish
83 virtual void InitData();
84 virtual void TransferData();
85 virtual UnoIDL_PE & MyPE();
87 ary::idl::Type_id lhf_FindTemplateParamType() const;
89 // DATA
90 E_State eState;
91 RStructElement * pResult;
92 const RStruct * pCurStruct;
93 bool bIsExceptionElement;
95 Dyn<PE_Type> pPE_Type;
96 ary::idl::Type_id nType;
97 String sName;
98 const String * pCurStructTemplateParam;
103 } // namespace uidl
104 } // namespace csi
107 #endif
109 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */