update credits
[LibreOffice.git] / autodoc / source / ary / idl / i_reposypart.cxx
blob62a7d51fdee03b0fb131dd27afc720c21f8c684a
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 #include <precomp.h>
21 #include "i_reposypart.hxx"
24 // NOT FULLY DEFINED SERVICES
25 #include <ary/idl/i_namelookup.hxx>
26 #include <idl_internalgate.hxx>
27 #include "ia_ce.hxx"
28 #include "ia_type.hxx"
29 #include "i2s_calculator.hxx"
30 #include "is_ce.hxx"
31 #include "is_type.hxx"
36 namespace ary
38 namespace idl
42 DYN InternalGate &
43 InternalGate::Create_Partition_()
45 return *new RepositoryPartition;
50 RepositoryPartition::RepositoryPartition()
51 : pCes(0),
52 pTypes(0),
53 pNamesDictionary(new NameLookup)
55 pTypes = new TypeAdmin;
56 pCes = new CeAdmin(*pNamesDictionary, *pTypes);
59 RepositoryPartition::~RepositoryPartition()
63 void
64 RepositoryPartition::Calculate_AllSecondaryInformation(
65 const String & i_devman_reffilepath )
67 // KORR_FUTURE
68 // Forward the options from here.
70 SecondariesCalculator
71 secalc(*pCes,*pTypes);
73 secalc.CheckAllInterfaceBases();
74 secalc.Connect_Types2Ces();
75 secalc.Gather_CrossReferences();
77 if ( NOT i_devman_reffilepath.empty() )
79 secalc.Make_Links2DeveloperManual(i_devman_reffilepath);
83 const CePilot &
84 RepositoryPartition::Ces() const
86 return *pCes;
89 const TypePilot &
90 RepositoryPartition::Types() const
92 return *pTypes;
95 CePilot &
96 RepositoryPartition::Ces()
98 return *pCes;
101 TypePilot &
102 RepositoryPartition::Types()
104 return *pTypes;
109 } // namespace idl
110 } // namespace ary
112 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */