00001 /*00002 * Copyright 1999-2004 The Apache Software Foundation.00003 *00004 * Licensed under the Apache License, Version 2.0 (the "License");00005 * you may not use this file except in compliance with the License.00006 * You may obtain a copy of the License at00007 *00008 * http://www.apache.org/licenses/LICENSE-2.000009 *00010 * Unless required by applicable law or agreed to in writing, software00011 * distributed under the License is distributed on an "AS IS" BASIS,00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.00013 * See the License for the specific language governing permissions and00014 * limitations under the License.00015 */00016
00017 #if !defined(XALANDOMINIT_INCLUDE_GUARD_1357924680)00018#define XALANDOMINIT_INCLUDE_GUARD_135792468000019
00020
00021
00022 // Base include file. Must be first.00023 #include <xalanc/XalanDOM/XalanDOMDefinitions.hpp>00024
00025 #include <xalanc/Include/XalanMemoryManagement.hpp>00026
00027
00028 XALAN_CPP_NAMESPACE_BEGIN
00029
00030
00031
00032class XALAN_DOM_EXPORTXalanDOMInit00033 {
00034 public:
00035
00036 explicit00037 XalanDOMInit(MemoryManagerType& theManager);
00038
00039 ~XalanDOMInit();
00040
00041 private:
00042
00043 // Not implemented...00044 XalanDOMInit(constXalanDOMInit&);
00045
00046 XalanDOMInit&
00047 operator=(constXalanDOMInit&);
00048
00049
00050 staticvoid00051 initialize(MemoryManagerType& theManager);
00052
00053 staticvoid00054 terminate();
00055
00056 staticunsignedlong s_initCounter;
00057 };
00058
00059
00060
00061 XALAN_CPP_NAMESPACE_END
00062
00063
00064
00065 #endif // !defined(XALANDOMINIT_INCLUDE_GUARD_1357924680)