fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / autodoc / source / parser_i / inc / s2_luidl / pe_attri.hxx
blob37a40346a4a24c68a1d0c4473a17db5ce90505e6
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 ADC_UIDL_PE_ATTRI_HXX
21 #define ADC_UIDL_PE_ATTRI_HXX
25 // USED SERVICES
26 // BASE CLASSES
28 #include <s2_luidl/parsenv2.hxx>
29 #include <s2_luidl/pestate.hxx>
30 // COMPONENTS
31 #include <ary/idl/i_property.hxx>
32 // PARAMETERS
33 #include <ary/idl/i_gate.hxx>
36 namespace ary
38 namespace idl
40 class Attribute;
44 namespace csi
46 namespace uidl
50 class PE_Variable;
51 class PE_Type;
53 class PE_Attribute : public UnoIDL_PE,
54 public ParseEnvState
56 public:
57 typedef ary::idl::Ce_id Ce_id;
58 typedef ary::idl::Type_id Type_id;
60 PE_Attribute(
61 const Ce_id & i_rCurOwner );
63 virtual void EstablishContacts(
64 UnoIDL_PE * io_pParentPE,
65 ary::Repository &
66 io_rRepository,
67 TokenProcessing_Result &
68 o_rResult );
69 virtual ~PE_Attribute();
71 virtual void ProcessToken(
72 const Token & i_rToken );
74 virtual void Process_Identifier(
75 const TokIdentifier &
76 i_rToken );
77 virtual void Process_Stereotype(
78 const TokStereotype &
79 i_rToken );
80 virtual void Process_MetaType(
81 const TokMetaType & i_rToken );
82 virtual void Process_Punctuation(
83 const TokPunctuation &
84 i_rToken );
85 virtual void Process_Raises();
86 virtual void Process_Default();
88 private:
89 enum E_State
91 e_none,
92 e_start,
93 in_variable,
94 expect_end,
95 in_raise_std, /// before 'get', 'set', ';' or '}'
96 in_get,
97 in_set
100 virtual void InitData();
101 virtual void ReceiveData();
102 virtual void TransferData();
103 virtual UnoIDL_PE & MyPE();
105 // DATA
106 E_State eState;
107 const Ce_id * pCurOwner;
109 Dyn<PE_Variable> pPE_Variable;
110 Dyn<PE_Type> pPE_Exception;
112 // object-data
113 ary::idl::Attribute *
114 pCurAttribute;
115 Type_id nCurParsedType;
116 String sCurParsedName;
117 bool bReadOnly;
118 bool bBound;
122 } // namespace uidl
123 } // namespace csi
126 #endif
128 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */