[r368]: cmajor++ / Cm / Cm.Core / InitDone.cpp  Maximize  Restore  History

Download this file

82 lines (72 with data), 2.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*========================================================================
Copyright (c) 2012-2013 Seppo Laakko
http://sourceforge.net/projects/cmajor/
Distributed under the GNU General Public License, version 3 (GPLv3).
(See accompanying LICENSE.txt or http://www.gnu.org/licenses/gpl.html)
========================================================================*/
#include <Cm.Core/InitDone.hpp>
#include <Cm.Core/BasicType.hpp>
#include <Cm.Core/BasicTypeFun.hpp>
#include <Cm.Core/ConversionTable.hpp>
#include <Cm.Core/Function.hpp>
#include <Cm.Core/FunctionSet.hpp>
#include <Cm.Core/Namespace.hpp>
#include <Cm.Core/Pointer.hpp>
#include <Cm.Core/DerivedType.hpp>
#include <Cm.Core/Util.hpp>
#include <Cm.Core/ConfigSettings.hpp>
#include <Cm.Core/Exception.hpp>
#include <Cm.Core/Constant.hpp>
#include <Cm.Core/TemplateRepository.hpp>
#include <Cm.Core/Concept.hpp>
namespace Cm { namespace Core {
bool initializing = false;
void Init()
{
initializing = true;
ConversionTableInit();
UtilInit();
ScopeInit();
NamespaceInit();
TypeInit();
FunctionSetInit();
FunctionInit();
DerivedTypeInit();
BasicTypeFunPreInit();
BasicTypeInit();
PointerInit();
BasicTypeFunPostInit();
CommonTypeInit();
ConfigSettingsInit();
ConstantInit();
ExceptionInit();
TemplateRepositoryInit();
ConceptInit();
initializing = false;
}
void Done()
{
ConceptDone();
TemplateRepositoryDone();
ExceptionDone();
ConstantDone();
ConfigSettingsDone();
CommonTypeDone();
BasicTypeFunPostDone();
PointerDone();
BasicTypeDone();
BasicTypeFunPreDone();
DerivedTypeDone();
FunctionDone();
FunctionSetDone();
TypeDone();
NamespaceDone();
ScopeDone();
UtilDone();
ConversionTableDone();
}
bool Initializing()
{
return initializing;
}
} } // namespace Cm::Core