| 1 |
/* |
| 2 |
* Copyright (C) 2013-2015, 2019 by the Konclude Developer Team. |
| 3 |
* |
| 4 |
* This file is part of the reasoning system Konclude. |
| 5 |
* For details and support, see <http://konclude.com/>. |
| 6 |
* |
| 7 |
* Konclude is free software: you can redistribute it and/or modify |
| 8 |
* it under the terms of version 3 of the GNU Lesser General Public |
| 9 |
* License (LGPLv3) as published by the Free Software Foundation. |
| 10 |
* |
| 11 |
* Konclude is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
* GNU (Lesser) General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU (Lesser) General Public |
| 17 |
* License along with Konclude. If not, see <http://www.gnu.org/licenses/>. |
| 18 |
* |
| 19 |
*/ |
| 20 |
|
| 21 |
#ifndef KONCLUDE_REASONER_ONTOLOGY_CDATATYPEVALUESPACETYPES_H |
| 22 |
#define KONCLUDE_REASONER_ONTOLOGY_CDATATYPEVALUESPACETYPES_H |
| 23 |
|
| 24 |
// Libraries includes |
| 25 |
#include <QMutex> |
| 26 |
|
| 27 |
|
| 28 |
// Namespace includes |
| 29 |
#include "OntologySettings.h" |
| 30 |
#include "CDatatypeValueSpaceType.h" |
| 31 |
#include "CDatatypeValueSpaceRealType.h" |
| 32 |
#include "CDatatypeValueSpaceUnknownType.h" |
| 33 |
#include "CDatatypeValueSpaceStringType.h" |
| 34 |
#include "CDatatypeValueSpaceBooleanType.h" |
| 35 |
#include "CDatatypeValueSpaceDoubleType.h" |
| 36 |
#include "CDatatypeValueSpaceFloatType.h" |
| 37 |
#include "CDatatypeValueSpaceIRIType.h" |
| 38 |
#include "CDatatypeValueSpaceXMLType.h" |
| 39 |
#include "CDatatypeValueSpaceDateTimeType.h" |
| 40 |
#include "CDatatypeValueSpaceBinaryHexDataType.h" |
| 41 |
#include "CDatatypeValueSpaceBinaryBase64DataType.h" |
| 42 |
|
| 43 |
|
| 44 |
// Other includes |
| 45 |
|
| 46 |
|
| 47 |
// Logger includes |
| 48 |
#include "Logger/CLogger.h" |
| 49 |
|
| 50 |
|
| 51 |
namespace Konclude { |
| 52 |
|
| 53 |
namespace Reasoner { |
| 54 |
|
| 55 |
namespace Ontology { |
| 56 |
|
| 57 |
/*! |
| 58 |
* |
| 59 |
* \class CDatatypeValueSpaceTypes |
| 60 |
* \author Andreas Steigmiller |
| 61 |
* \version 0.1 |
| 62 |
* \brief TODO |
| 63 |
* |
| 64 |
*/ |
| 65 |
class CDatatypeValueSpaceTypes { |
| 66 |
// public methods |
| 67 |
public: |
| 68 |
//! Constructor |
| 69 |
CDatatypeValueSpaceTypes(); |
| 70 |
|
| 71 |
|
| 72 |
static CDatatypeValueSpaceTypes* getValueSpaceTypes(); |
| 73 |
|
| 74 |
CDatatypeValueSpaceRealType* getValueSpaceRealType(); |
| 75 |
CDatatypeValueSpaceUnknownType* getValueSpaceUnkownType(); |
| 76 |
CDatatypeValueSpaceStringType* getValueSpaceStringType(); |
| 77 |
CDatatypeValueSpaceBooleanType* getValueSpaceBooleanType(); |
| 78 |
CDatatypeValueSpaceDoubleType* getValueSpaceDoubleType(); |
| 79 |
CDatatypeValueSpaceFloatType* getValueSpaceFloatType(); |
| 80 |
CDatatypeValueSpaceIRIType* getValueSpaceIRIType(); |
| 81 |
CDatatypeValueSpaceBinaryHexDataType* getValueSpaceBinaryHexDataType(); |
| 82 |
CDatatypeValueSpaceBinaryBase64DataType* getValueSpaceBinaryBase64DataType(); |
| 83 |
CDatatypeValueSpaceXMLType* getValueSpaceXMLType(); |
| 84 |
CDatatypeValueSpaceDateTimeType* getValueSpaceDateTimeType(); |
| 85 |
|
| 86 |
CDatatypeValueSpaceType* getValueSpaceTypeLinker(); |
| 87 |
|
| 88 |
|
| 89 |
// protected methods |
| 90 |
protected: |
| 91 |
|
| 92 |
// protected variables |
| 93 |
protected: |
| 94 |
static QMutex* mCreationMutex; |
| 95 |
static CDatatypeValueSpaceTypes* mValueSpaceTypes; |
| 96 |
|
| 97 |
|
| 98 |
CDatatypeValueSpaceRealType* mRealValueSpaceType; |
| 99 |
CDatatypeValueSpaceUnknownType* mUnknownValueSpaceType; |
| 100 |
CDatatypeValueSpaceStringType* mStringValueSpaceType; |
| 101 |
CDatatypeValueSpaceBooleanType* mBooleanValueSpaceType; |
| 102 |
CDatatypeValueSpaceDoubleType* mDoubleValueSpaceType; |
| 103 |
CDatatypeValueSpaceFloatType* mFloatValueSpaceType; |
| 104 |
CDatatypeValueSpaceIRIType* mIRIValueSpaceType; |
| 105 |
CDatatypeValueSpaceBinaryHexDataType* mBinaryHexValueSpaceType; |
| 106 |
CDatatypeValueSpaceBinaryBase64DataType* mBinaryBase64ValueSpaceType; |
| 107 |
CDatatypeValueSpaceXMLType* mXMLValueSpaceType; |
| 108 |
CDatatypeValueSpaceDateTimeType* mDateTimeValueSpaceType; |
| 109 |
|
| 110 |
CDatatypeValueSpaceType* mValueSpaceTypeLinker; |
| 111 |
|
| 112 |
// private methods |
| 113 |
private: |
| 114 |
|
| 115 |
// private variables |
| 116 |
private: |
| 117 |
|
| 118 |
}; |
| 119 |
|
| 120 |
}; // end namespace Ontology |
| 121 |
|
| 122 |
}; // end namespace Reasoner |
| 123 |
|
| 124 |
}; // end namespace Konclude |
| 125 |
|
| 126 |
#endif // KONCLUDE_REASONER_ONTOLOGY_CDATATYPEVALUESPACETYPES_H |