fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / autodoc / inc / ary / idl / i_traits.hxx
blob4d7d06a793cdeb6f697eee495d124ab6b190d888
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_TRAITS_HXX
21 #define ARY_IDL_I_TRAITS_HXX
23 // USED SERVICES
24 #include <ary/idl/i_types4idl.hxx>
29 namespace ary
31 namespace idl
35 /** Basic traits for derivd ones of ->CodeEntity.
37 struct Ce_Traits
39 typedef CodeEntity entity_base_type;
40 typedef Ce_id id_type;
42 static entity_base_type &
43 EntityOf_(
44 id_type i_id );
48 /** An instance of COMPARE for ->::ary::SortedIds<>.
50 @see ::ary::SortedIds<>
52 struct Ce_Compare : public Ce_Traits
54 typedef String key_type;
56 static const key_type &
57 KeyOf_(
58 const entity_base_type &
59 i_entity );
60 static bool Lesser_(
61 const key_type & i_1,
62 const key_type & i_2 );
68 } // namespace idl
69 } // namespace ary
70 #endif
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */