VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
featuresDefines.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
14 #ifdef WIN32
15 #pragma warning(disable : 4584)
16 #endif
17 
19 //#if defined BOOST_MPL_LIMIT_LIST_SIZE && BOOST_MPL_LIMIT_LIST_SIZE < 40
20 //# error BOOST_MPL_LIMIT_LIST_SIZE too small
21 //#else
22 //# define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
23 //# define BOOST_MPL_LIMIT_LIST_SIZE 40
24 //# define BOOST_MPL_LIMIT_VECTOR_SIZE 40
25 //#endif
26 
28 #ifdef WIN32
29 # ifdef DT_DLL_BUILD
30 # ifdef features_EXPORTS
31 # pragma warning (disable:4251)
33 # define DT_DLL_features __declspec(dllexport)
34 # else
35 # define DT_DLL_features __declspec(dllimport)
36 # endif
37 # else
38 # define DT_DLL_features
39 # endif
40 #else
41 # define DT_DLL_features
42 #endif
43 
44 #include <vector>
45 #include <list>
46 #include <set>
47 #include <map>
48 
49 #include <string>
50 #include <iosfwd>
51 #include <memory>
52 
53 #include <boost/shared_ptr.hpp>
54 #include <boost/scoped_ptr.hpp>
55 #include <boost/enable_shared_from_this.hpp>
56 
57 #include <boost/utility.hpp>
58 #include <boost/bind.hpp>
59 #include <boost/exception/all.hpp>
60 #include <boost/lexical_cast.hpp>
61 #include <boost/cast.hpp>
62 #include <boost/format.hpp>
63 
64 #include <vlutil/vlPrint.h>
65 #include <vlutil/vlExceptions.h>
66 
67 #include <geometry/point.h>
68 
69 #include <tbb/atomic.h>
70 #include <vrfutil/objectCounter.h>
71 
72 
73 namespace MAKVRinTerra
74 {
79  template <typename Tag, typename Base = DtException>
80  class TaggedException : public Base, virtual public boost::exception
81  {
82  public:
84  const char *msg,
85  const char *func,
86  const char *file,
87  unsigned int line,
88  const DtException *prev = 0) throw() : Base(msg,func,file,line,prev) { }
89  };
90 }
91 
TaggedException(const char *msg, const char *func, const char *file, unsigned int line, const DtException *prev=0)
Definition: featuresDefines.h:83
Create a new MAK exception type that inherits from boost::exception. Tag is what differentiates this ...
Definition: featuresDefines.h:80

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)