Update ooo320-m1
[ooovba.git] / autodoc / source / ary / idl / is_ce.hxx
blobe62197e43689d16244842eec0a85b498c57c94ff
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: is_ce.hxx,v $
10 * $Revision: 1.4 $
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 #ifndef ARY_IDL_IS_CE_HXX
32 #define ARY_IDL_IS_CE_HXX
34 // BASE CLASSES
35 #include <store/s_storage.hxx>
36 // USED SERVICES
37 #include <ary/idl/i_ce.hxx>
42 namespace ary
44 namespace idl
48 /** The data base for all ->ary::idl::CodeEntity objects.
50 class Ce_Storage : public ::ary::stg::Storage< ::ary::idl::CodeEntity >
52 public:
53 Ce_Storage();
54 virtual ~Ce_Storage();
56 static Ce_Storage & Instance_() { csv_assert(pInstance_ != 0);
57 return *pInstance_; }
58 private:
59 // DATA
60 static Ce_Storage * pInstance_;
66 namespace predefined
69 enum E_CodeEntity
71 ce_GlobalNamespace = 1,
72 ce_MAX
75 } // namespace predefined
80 } // namespace idl
81 } // namespace ary
82 #endif