1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
30 #include "i_reposypart.hxx"
33 // NOT FULLY DEFINED SERVICES
34 #include <ary/idl/i_namelookup.hxx>
35 #include <idl_internalgate.hxx>
37 #include "ia_type.hxx"
38 #include "i2s_calculator.hxx"
40 #include "is_type.hxx"
52 InternalGate::Create_Partition_(RepositoryCenter
& i_center
)
54 return *new RepositoryPartition(i_center
);
59 RepositoryPartition::RepositoryPartition( RepositoryCenter
& i_repository
)
60 : pCenter(&i_repository
),
63 pNamesDictionary(new NameLookup
)
65 pTypes
= new TypeAdmin
;
66 pCes
= new CeAdmin(*pNamesDictionary
, *pTypes
);
69 RepositoryPartition::~RepositoryPartition()
74 RepositoryPartition::Calculate_AllSecondaryInformation(
75 const String
& i_devman_reffilepath
)
78 // Forward the options from here.
81 secalc(*pCes
,*pTypes
);
83 secalc
.CheckAllInterfaceBases();
84 secalc
.Connect_Types2Ces();
85 secalc
.Gather_CrossReferences();
87 if ( NOT i_devman_reffilepath
.empty() )
89 secalc
.Make_Links2DeveloperManual(i_devman_reffilepath
);
94 RepositoryPartition::Ces() const
100 RepositoryPartition::Types() const
106 RepositoryPartition::Ces()
112 RepositoryPartition::Types()
122 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */