xref: /AOO41X/main/autodoc/source/ary/idl/i_namelookup.cxx (revision d291ea287686f95dc2fff9ad28612d818a1c6b1e)
1*d291ea28SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*d291ea28SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*d291ea28SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*d291ea28SAndrew Rist  * distributed with this work for additional information
6*d291ea28SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*d291ea28SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*d291ea28SAndrew Rist  * "License"); you may not use this file except in compliance
9*d291ea28SAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11*d291ea28SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13*d291ea28SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*d291ea28SAndrew Rist  * software distributed under the License is distributed on an
15*d291ea28SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d291ea28SAndrew Rist  * KIND, either express or implied.  See the License for the
17*d291ea28SAndrew Rist  * specific language governing permissions and limitations
18*d291ea28SAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20*d291ea28SAndrew Rist  *************************************************************/
21cdf0e10cSrcweir 
22cdf0e10cSrcweir #include <precomp.h>
23cdf0e10cSrcweir #include <ary/idl/i_namelookup.hxx>
24cdf0e10cSrcweir 
25cdf0e10cSrcweir // NOT FULLY DECLARED SERVICES
26cdf0e10cSrcweir #include <sci_impl.hxx>
27cdf0e10cSrcweir 
28cdf0e10cSrcweir namespace ary
29cdf0e10cSrcweir {
30cdf0e10cSrcweir namespace idl
31cdf0e10cSrcweir {
32cdf0e10cSrcweir 
NameLookup()33cdf0e10cSrcweir NameLookup::NameLookup()
34cdf0e10cSrcweir     :   aNames()
35cdf0e10cSrcweir {
36cdf0e10cSrcweir }
37cdf0e10cSrcweir 
~NameLookup()38cdf0e10cSrcweir NameLookup::~NameLookup()
39cdf0e10cSrcweir {
40cdf0e10cSrcweir }
41cdf0e10cSrcweir 
42cdf0e10cSrcweir void
Add_Name(const String & i_name,Ce_id i_id,ClassId i_class,Ce_id i_owner)43cdf0e10cSrcweir NameLookup::Add_Name( const String &      i_name,
44cdf0e10cSrcweir                       Ce_id               i_id,
45cdf0e10cSrcweir                       ClassId             i_class,
46cdf0e10cSrcweir                       Ce_id               i_owner )
47cdf0e10cSrcweir {
48cdf0e10cSrcweir     aNames.insert( std::pair< const String, NameProperties>(
49cdf0e10cSrcweir                                    i_name,
50cdf0e10cSrcweir                                    NameProperties( i_id,
51cdf0e10cSrcweir                                                    i_class,
52cdf0e10cSrcweir                                                    i_owner )));
53cdf0e10cSrcweir }
54cdf0e10cSrcweir 
55cdf0e10cSrcweir }   //  namespace   idl
56cdf0e10cSrcweir }   //  namespace   ary
57