// This file is part of the OGRE project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at https://www.ogre3d.org/licensing. #ifndef OGREMAIN_INCLUDE_OGREDEPRECATED_H_ #define OGREMAIN_INCLUDE_OGREDEPRECATED_H_ #include "OgreStdHeaders.h" #include "OgreMemoryAllocatorConfig.h" #include namespace Ogre { /** \addtogroup Core * @{ */ /** \defgroup deprecated deprecated * deprecated std:: wrappers for backwards-compatibility only * @{ */ template using AtomicScalar = std::atomic; struct SPFMNone { void operator()(void*) {} }; const SPFMNone SPFM_NONE; struct SPFMDeleteT { template void operator()(T* p) { OGRE_DELETE_T(p, T, MEMCATEGORY_GENERAL); } }; const SPFMDeleteT SPFM_DELETE_T; typedef std::map QuadMaterialMap; #define OGRE_HashMap ::std::unordered_map #define OGRE_HashMultiMap ::std::unordered_multimap #define OGRE_HashSet ::std::unordered_set #define OGRE_HashMultiSet ::std::unordered_multiset template struct deque { typedef typename std::deque type; typedef typename std::deque::iterator iterator; typedef typename std::deque::const_iterator const_iterator; }; template struct vector { typedef typename std::vector type; typedef typename std::vector::iterator iterator; typedef typename std::vector::const_iterator const_iterator; }; template struct list { typedef typename std::list type; typedef typename std::list::iterator iterator; typedef typename std::list::const_iterator const_iterator; }; template > struct set { typedef typename std::set type; typedef typename std::set::iterator iterator; typedef typename std::set::const_iterator const_iterator; }; template > struct map { typedef typename std::map type; typedef typename std::map::iterator iterator; typedef typename std::map::const_iterator const_iterator; }; template > struct multimap { typedef typename std::multimap type; typedef typename std::multimap::iterator iterator; typedef typename std::multimap::const_iterator const_iterator; }; /// Bitmask containing scene types typedef uint16 SceneTypeMask; enum SceneType { ST_GENERIC = 1, ST_EXTERIOR_CLOSE = 2, ST_EXTERIOR_FAR = 4, ST_EXTERIOR_REAL_FAR = 8, ST_INTERIOR = 16 }; /** @} */ /** @} */ } // Ogre #endif /* OGREMAIN_INCLUDE_OGREDEPRECATED_H_ */