fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / autodoc / inc / ary / idl / i_enumvalue.hxx
blob5814db9cdde3ceb0d52625b0b7d8bfaa4400e7cf
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 ARY_IDL_I_ENUMVALUE_HXX
21 #define ARY_IDL_I_ENUMVALUE_HXX
23 // BASE CLASSES
24 #include <ary/idl/i_ce.hxx>
29 namespace ary
31 namespace idl
33 namespace ifc_enumvalue
35 struct attr;
39 /** @resp
40 Represents an IDL enum value.
42 class EnumValue : public CodeEntity
44 public:
45 enum E_ClassId { class_id = 2006 };
47 // LIFECYCLE
48 EnumValue(
49 const String & i_sName,
50 Ce_id i_nOwner,
51 Ce_id i_nNameRoom,
52 const String & i_sInitValue );
53 ~EnumValue();
54 // INQUIRY
55 const String & Value() const;
57 private:
58 // Interface csv::ConstProcessorClient:
59 virtual void do_Accept(
60 csv::ProcessorIfc & io_processor ) const;
61 // Interface ary::Object
62 virtual ClassId get_AryClass() const;
64 // Interface CodeEntity
65 virtual const String & inq_LocalName() const;
66 virtual Ce_id inq_NameRoom() const;
67 virtual Ce_id inq_Owner() const;
68 virtual E_SightLevel inq_SightLevel() const;
70 friend struct ifc_enumvalue::attr;
72 // DATA
73 String sName;
74 Ce_id nOwner;
75 Ce_id nNameRoom;
77 String sValue;
83 // IMPLEMENTATION
84 inline const String &
85 EnumValue::Value() const
87 return sValue;
93 } // namespace idl
94 } // namespace ary
95 #endif
97 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */