Changeset 7266 for code/trunk/src/libraries
- Timestamp:
- Aug 30, 2010, 5:04:12 PM (14 years ago)
- Location:
- code/trunk/src/libraries
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/Core.h
r6746 r7266 36 36 #include <string> 37 37 #include <boost/scoped_ptr.hpp> 38 #include "util/ScopeGuard.h" 38 #include <loki/ScopeGuard.h> 39 39 40 #include "util/Singleton.h" 40 41 #include "OrxonoxClass.h" -
code/trunk/src/libraries/core/CorePrecompiledHeaders.h
r5781 r7266 57 57 #include <cmath> // 42 58 58 59 #include "util/ScopeGuard.h"// 3859 #include <loki/ScopeGuard.h> // 38 60 60 61 61 #include <OgreMath.h> // 36 -
code/trunk/src/libraries/core/Game.cc
r6502 r7266 37 37 #include <exception> 38 38 #include <boost/weak_ptr.hpp> 39 #include <loki/ScopeGuard.h> 39 40 40 41 #include "util/Clock.h" 41 42 #include "util/Debug.h" 42 43 #include "util/Exception.h" 43 #include "util/ScopeGuard.h"44 44 #include "util/Sleep.h" 45 45 #include "util/SubString.h" -
code/trunk/src/libraries/core/Game.h
r6746 r7266 46 46 #include <boost/scoped_ptr.hpp> 47 47 #include <boost/preprocessor/cat.hpp> 48 #include <loki/ScopeGuard.h> 48 49 49 50 #include "util/Debug.h" 50 #include "util/ScopeGuard.h"51 51 #include "util/Singleton.h" 52 52 #include "OrxonoxClass.h" -
code/trunk/src/libraries/core/Identifier.h
r6536 r7266 57 57 #include <string> 58 58 #include <typeinfo> 59 #include <loki/TypeTraits.h> 59 60 60 61 #include "util/Debug.h" 61 #include "util/TypeTraits.h"62 62 #include "MetaObjectList.h" 63 63 #include "ObjectList.h" -
code/trunk/src/libraries/core/LuaState.cc
r6763 r7266 35 35 #include <lualib.h> 36 36 } 37 #include <loki/ScopeGuard.h> 37 38 38 39 #include "util/Debug.h" 39 40 #include "util/Exception.h" 40 #include "util/ScopeGuard.h"41 41 #include "IOConsole.h" 42 42 #include "Resource.h" -
code/trunk/src/libraries/core/LuaState.h
r6763 r7266 38 38 #include <vector> 39 39 #include <boost/shared_ptr.hpp> 40 #include <loki/ScopeGuard.h> 40 41 41 #include "util/ScopeGuard.h"42 42 #include "Functor.h" 43 43 #include "ToluaInterface.h" -
code/trunk/src/libraries/core/input/InputManager.cc
r7174 r7266 40 40 #include <ois/OISInputManager.h> 41 41 #include <boost/foreach.hpp> 42 #include <loki/ScopeGuard.h> 42 43 43 44 #include "util/Clock.h" 44 45 #include "util/Convert.h" 45 46 #include "util/Exception.h" 46 #include "util/ScopeGuard.h"47 47 #include "core/CoreIncludes.h" 48 48 #include "core/ConfigValueIncludes.h" -
code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h
r5781 r7266 53 53 54 54 #include "util/Debug.h" // 20 55 #include "util/TypeTraits.h"// 1855 #include <loki/TypeTraits.h> // 18 56 56 57 57 #ifdef ORXONOX_COMPILER_MSVC -
code/trunk/src/libraries/network/synchronisable/Serialise.h
r7163 r7266 35 35 #define _NetworkSerialise_H__ 36 36 37 #include "network/NetworkPrereqs.h" 38 39 #include <loki/TypeTraits.h> 40 37 41 #include "util/Serialise.h" 38 #include "util/TypeTraits.h"39 42 #include "core/CorePrereqs.h" 40 43 #include "core/CoreIncludes.h" -
code/trunk/src/libraries/network/synchronisable/SynchronisableVariable.h
r6417 r7266 35 35 #include <cassert> 36 36 #include <cstring> 37 #include <loki/TypeTraits.h> 38 37 39 #include "Serialise.h" 38 #include "util/TypeTraits.h"39 40 #include "core/GameMode.h" 40 41 #include "network/synchronisable/NetworkCallbackManager.h" -
code/trunk/src/libraries/util/Convert.h
r7163 r7266 41 41 #include <sstream> 42 42 #include <typeinfo> 43 #include <loki/TypeManip.h> 43 44 44 45 #include "Debug.h" … … 76 77 namespace orxonox 77 78 { 78 namespace detail79 {80 //! Little template that maps integers to entire types (Alexandrescu 2001)81 template <int I>82 struct Int2Type { };83 }84 85 86 79 /////////////////// 87 80 // No Conversion // … … 215 208 // implicit cast not possible, try stringstream conversion next 216 209 template <class FromType, class ToType> 217 FORCEINLINE bool convertImplicitely(ToType* output, const FromType& input, detail::Int2Type<false>)210 FORCEINLINE bool convertImplicitely(ToType* output, const FromType& input, Loki::Int2Type<false>) 218 211 { 219 212 return ConverterStringStream<FromType, ToType>::convert(output, input); … … 222 215 // We can cast implicitely 223 216 template <class FromType, class ToType> 224 FORCEINLINE bool convertImplicitely(ToType* output, const FromType& input, detail::Int2Type<true>)217 FORCEINLINE bool convertImplicitely(ToType* output, const FromType& input, Loki::Int2Type<true>) 225 218 { 226 219 (*output) = static_cast<ToType>(input); … … 242 235 // Try implict cast and probe first. If a simple cast is not possible, it will not compile 243 236 // We therefore have to out source it into another template function 244 return convertImplicitely(output, input, detail::Int2Type<probe>());237 return convertImplicitely(output, input, Loki::Int2Type<probe>()); 245 238 } 246 239 }; -
code/trunk/src/libraries/util/MultiType.h
r7165 r7266 76 76 #include <OgreQuaternion.h> 77 77 #include <OgreColourValue.h> 78 79 #include "TypeTraits.h" 78 #include <loki/TypeTraits.h> 80 79 81 80 namespace orxonox -
code/trunk/src/libraries/util/Scope.h
r5929 r7266 35 35 #include <map> 36 36 #include <set> 37 #include <loki/ScopeGuard.h> 37 38 38 39 #include "Debug.h" 39 #include "ScopeGuard.h"40 40 41 41 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.