blob: ac7162449911014177da246230b5aa4c94704210 [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef ARY_IDL_IS_CE_HXX
#define ARY_IDL_IS_CE_HXX
// BASE CLASSES
#include <store/s_storage.hxx>
// USED SERVICES
#include <ary/idl/i_ce.hxx>
namespace ary
{
namespace idl
{
/** The data base for all ->ary::idl::CodeEntity objects.
*/
class Ce_Storage : public ::ary::stg::Storage< ::ary::idl::CodeEntity >
{
public:
Ce_Storage();
virtual ~Ce_Storage();
static Ce_Storage & Instance_() { csv_assert(pInstance_ != 0);
return *pInstance_; }
private:
// DATA
static Ce_Storage * pInstance_;
};
namespace predefined
{
enum E_CodeEntity
{
ce_GlobalNamespace = 1,
ce_MAX
};
} // namespace predefined
} // namespace idl
} // namespace ary
#endif