Update ooo320-m1
[ooovba.git] / autodoc / source / ary / kernel / reposy.cxx
blobae320d05aa3479f36a9294ebb7112ca9e1bc982c
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: reposy.cxx,v $
10 * $Revision: 1.11 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include <precomp.h>
32 #include <reposy.hxx>
35 // NOT FULLY DECLARED SERVICES
36 #include <cpp_internalgate.hxx>
37 #include <idl_internalgate.hxx>
40 namespace ary
44 //***************** Repository ************//
46 DYN Repository &
47 Repository::Create_()
49 return *new RepositoryCenter;
55 RepositoryCenter::RepositoryCenter()
56 : sDisplayedName(),
57 aLocation(),
58 pCppPartition(0),
59 pIdlPartition(0)
61 pCppPartition = & cpp::InternalGate::Create_Partition_(*this);
62 pIdlPartition = & idl::InternalGate::Create_Partition_(*this);
65 RepositoryCenter::~RepositoryCenter()
69 const ::ary::cpp::Gate &
70 RepositoryCenter::Gate_Cpp() const
72 csv_assert(pCppPartition);
73 return *pCppPartition;
76 const ::ary::idl::Gate &
77 RepositoryCenter::Gate_Idl() const
79 csv_assert(pIdlPartition);
80 return *pIdlPartition;
83 const String &
84 RepositoryCenter::Title() const
86 return sDisplayedName;
90 ::ary::cpp::Gate &
91 RepositoryCenter::Gate_Cpp()
93 csv_assert(pCppPartition);
94 return *pCppPartition;
97 ::ary::idl::Gate &
98 RepositoryCenter::Gate_Idl()
100 csv_assert(pIdlPartition);
101 return *pIdlPartition;
104 void
105 RepositoryCenter::Set_Title(const String & i_sName)
107 sDisplayedName = i_sName;
113 //********************* Repository Type Info Data ****************//
115 // !!! IMPORTANT - NEVER DELETE OR CHANGE - ADDING ALLOWED
119 /* ClassType-Ids
120 -------------
122 cpp 1000
123 idl 2000
124 corba 3000
125 java 4000
126 information 5000
127 logic location 6000
128 phys location 7000
129 sec. prod. 8000
134 Namespace 1000
135 Class 1001
136 Enum 1002
137 Typedef 1003
138 Function 1004
139 Variable 1005
140 EnumValue 1006
141 NamespaceAlias 1007
143 BuiltInType 1200
144 CeType_Final 1201
145 CeType_Extern 1202
146 UsedType 1203
147 PtrType 1211
148 RefType 1212
149 ConstType 1221
150 VolatileType 1222
151 ArrayType 1230
152 TemplateInstance 1235
153 FunctionPtr 1240
154 DataMemberPtr 1250
155 OperationMemberPtr 1260
157 TplParam_Type 1301
158 TplParam_Value 1302
160 OpSignature 1400
162 Define 1601
163 Macro 1602
165 ProjectGroup 1901
166 FileGroup 1902
168 TopProject 1921
175 Module 2000
176 Interface 2001
177 Function 2002
178 Service 2003
179 Property 2004
180 Enum 2005
181 EnumValue 2006
182 Typedef 2007
183 Struct 2008
184 StructElement 2009
185 Exception 2010
186 ConstantGroup 2011
187 Constant 2012
188 Singleton 2013
189 Attribute 2014
190 SglIfcService 2015
191 SglIfcSingleton 2016
193 BuiltInType 2200
194 CeType 2201
195 Sequence 2202
196 ExplicitType 2203
197 ExplicitNameRoom 2204
198 TemplateParamType 2205
201 java
202 ----
203 Package 4000
204 Interface 4001
205 Class 4002
207 physical location
208 -----------------
209 Root 7000
210 Directory 7030
211 File 7100
214 info
215 ----
216 CodeInformation
217 (IDL) 11002
221 } // namespace ary