1 #if !defined STD_UTILS_INCLUDES
2 #define STD_UTILS_INCLUDES
5 #define STD_UTILS_PORT __declspec( dllexport )
7 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
15 #define STD_UTILS_PORT
17 #include <linux/types.h>
25 #define DWORD unsigned long
26 #define LPCSTR const char *
28 #define ULONG unsigned long
30 #define __int64 int64_t
31 #define LPCTSTR const char*
34 #pragma warning(disable: 4018 4244 4290 4786 4251 4275 4267 4311 4312 4800 4996 )
36 #include <sys/types.h>
37 #include <sys/timeb.h>
52 #include <unordered_set>
65 #include <boost/atomic.hpp>
68 inline double round(
double d )
70 return floor( d + 0.5 );
77 #include <boost/thread.hpp>
78 #include <boost/algorithm/string.hpp>
79 #include <boost/filesystem.hpp>
80 #include "boost/format.hpp"
82 #define STD_TRACING_ON
85 #define STD_TRACE_DETAIL
87 #define STD_TRACE_TO_DEBUGGER
88 #define STD_TRACE_TO_FILE true
94 class CStdPostFixEval;
97 class CStdCriticalSection;
100 void STD_UTILS_PORT
Std_RelayError(CStdErrorInfo oInfo, std::string strSourceFile,
long lSourceLine);
101 void STD_UTILS_PORT
Std_ThrowError(
long lError, std::string strError, std::string strSourceFile,
long lSourceLine,
102 std::string strValueName,
unsigned char iVal);
103 void STD_UTILS_PORT
Std_ThrowError(
long lError, std::string strError, std::string strSourceFile,
long lSourceLine,
104 std::string strValueName,
unsigned short iVal);
105 void STD_UTILS_PORT
Std_ThrowError(
long lError, std::string strError, std::string strSourceFile,
long lSourceLine,
106 std::string strValueName,
int iVal);
107 void STD_UTILS_PORT
Std_ThrowError(
long lError, std::string strError, std::string strSourceFile,
long lSourceLine,
108 std::string strValueName,
long lVal);
109 void STD_UTILS_PORT
Std_ThrowError(
long lError, std::string strError, std::string strSourceFile,
long lSourceLine,
110 std::string strValueName,
float fltVal);
111 void STD_UTILS_PORT
Std_ThrowError(
long lError, std::string strError, std::string strSourceFile,
long lSourceLine,
112 std::string strValueName,
double dblVal);
113 void STD_UTILS_PORT
Std_ThrowError(
long lError, std::string strError, std::string strSourceFile,
long lSourceLine,
114 std::string strValueName, std::string strVal);
115 void STD_UTILS_PORT
Std_ThrowError(
long lError, std::string strError, std::string strSourceFile,
long lSourceLine,
116 std::string strText);
120 #include "tree_util.hh"
122 #include "StdConstants.h"
124 #include "StdADTCopy.h"
127 #include "MarkupSTL.h"
144 #include "StdLogFile.h"
148 #endif //STD_UTILS_INCLUDES
Declares a standard lookup table class.
Declares the standard xml class.
Declares the standard class factory class.
Declares the standard critical section class.
Declares the standard post fix evaluation class.
Declares the standard error information class.
Declares the standard serialize class.
Declares the standard font class.
Declares the standard color class.
Declares the standard variable class.
void Std_ThrowError(long lError, std::string strError, std::string strSourceFile, long lSourceLine, std::string strValueName, unsigned char iVal)
Standard throw error.
Namespace for the standard utility objects.
Declares the standard utility functions class.
Declares the standard fixed-point calculation class.
void Std_RelayError(CStdErrorInfo oInfo, std::string strSourceFile, long lSourceLine)
Standard relay error.
Declares the standard variant class.