QTrk
Classes | Macros | Typedefs | Functions
std_incl.h File Reference
#include <crtdbg.h>
#include "memdbg.h"
#include <cstdint>
#include <string>
#include <deque>
#include <vector>
#include <algorithm>
#include <cstdio>
#include <stdexcept>
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <cstddef>
#include <complex>
#include "random_distr.h"
#include "dllmacros.h"

Go to the source code of this file.

Classes

struct  vector2< T >
 
struct  vector3< T >
 

Macros

#define _CRT_SECURE_NO_WARNINGS
 
#define _CRT_SECURE_NO_WARNINGS
 
#define STRCASECMP   strcasecmp
 
#define STRNCASECMP   strncasecmp
 
#define SNPRINTF   snprintf
 
#define VSNPRINTF   vsnprintf
 
#define ALLOCA(size)   alloca(size)
 
#define ALLOCA_ARRAY(T, N)   ((T*)ALLOCA(sizeof(T) * (N)))
 

Typedefs

typedef vector2< float > vector2f
 
typedef vector2< double > vector2d
 
typedef vector3< float > vector3f
 
typedef vector3< double > vector3d
 
typedef unsigned int uint
 
typedef unsigned short ushort
 
typedef unsigned long ulong
 
typedef unsigned char uchar
 

Functions

template<typename T >
vector3< T > sqrt (const vector3< T > &a)
 

Macro Definition Documentation

§ _CRT_SECURE_NO_WARNINGS [1/2]

#define _CRT_SECURE_NO_WARNINGS

Definition at line 120 of file std_incl.h.

§ _CRT_SECURE_NO_WARNINGS [2/2]

#define _CRT_SECURE_NO_WARNINGS

Definition at line 120 of file std_incl.h.

§ ALLOCA

#define ALLOCA (   size)    alloca(size)

Definition at line 151 of file std_incl.h.

§ ALLOCA_ARRAY

#define ALLOCA_ARRAY (   T,
 
)    ((T*)ALLOCA(sizeof(T) * (N)))

Definition at line 153 of file std_incl.h.

§ SNPRINTF

#define SNPRINTF   snprintf

Definition at line 149 of file std_incl.h.

§ STRCASECMP

#define STRCASECMP   strcasecmp

Definition at line 147 of file std_incl.h.

§ STRNCASECMP

#define STRNCASECMP   strncasecmp

Definition at line 148 of file std_incl.h.

§ VSNPRINTF

#define VSNPRINTF   vsnprintf

Definition at line 150 of file std_incl.h.

Typedef Documentation

§ uchar

typedef unsigned char uchar

Definition at line 130 of file std_incl.h.

§ uint

typedef unsigned int uint

Definition at line 127 of file std_incl.h.

§ ulong

typedef unsigned long ulong

Definition at line 129 of file std_incl.h.

§ ushort

typedef unsigned short ushort

Definition at line 128 of file std_incl.h.

§ vector2d

typedef vector2<double> vector2d

Definition at line 40 of file std_incl.h.

§ vector2f

typedef vector2<float> vector2f

Definition at line 39 of file std_incl.h.

§ vector3d

typedef vector3<double> vector3d

Definition at line 115 of file std_incl.h.

§ vector3f

typedef vector3<float> vector3f

Definition at line 114 of file std_incl.h.

Function Documentation

§ sqrt()

template<typename T >
vector3<T> sqrt ( const vector3< T > &  a)
inline

Definition at line 112 of file std_incl.h.

112 { return vector3<T>(sqrt(a.x),sqrt(a.y),sqrt(a.z)); }
vector3< T > sqrt(const vector3< T > &a)
Definition: std_incl.h:112