SLProject 4.0.000
SL.h File Reference
#include <Utils.h>
Include dependency graph for SL.h:
This graph shows which files directly or indirectly include this file:

Macros

#define SL_GETBIT(VAR, VAL)   VAR& VAL
 
#define SL_SETBIT(VAR, VAL)   VAR |= VAL
 
#define SL_DELBIT(VAR, VAL)   VAR &= ~VAL
 
#define SL_TOGBIT(VAR, VAL)
 
#define UNUSED_PARAMETER(r)   ((void)(x))
 
#define SL_LOG(...)   Utils::log("SLProject", __VA_ARGS__)
 
#define SL_EXIT_MSG(message)   Utils::log("SLProject Error", (message))
 
#define SL_WARN_MSG(message)   Utils::warnMsg("SLProject", (message), __LINE__, __FILE__)
 

Typedefs

typedef string SLstring
 
typedef std::wstring SLwstring
 
typedef char SLchar
 
typedef unsigned char SLuchar
 
typedef signed long SLlong
 
typedef unsigned long SLulong
 
typedef signed char SLbyte
 
typedef unsigned char SLubyte
 
typedef short SLshort
 
typedef unsigned short SLushort
 
typedef int SLint
 
typedef unsigned int SLuint
 
typedef int SLsizei
 
typedef float SLfloat
 
typedef double SLdouble
 
typedef bool SLbool
 
typedef unsigned int SLenum
 
typedef unsigned int SLbitfield
 
typedef int8_t SLint8
 
typedef uint8_t SLuint8
 
typedef int16_t SLint16
 
typedef uint16_t SLuint16
 
typedef int32_t SLint32
 
typedef uint32_t SLuint32
 
typedef int64_t SLint64
 
typedef uint64_t SLuint64
 
typedef vector< SLboolSLVbool
 
typedef vector< SLbyteSLVbyte
 
typedef vector< SLubyteSLVubyte
 
typedef vector< SLcharSLVchar
 
typedef vector< SLucharSLVuchar
 
typedef vector< SLshortSLVshort
 
typedef vector< SLushortSLVushort
 
typedef vector< SLintSLVint
 
typedef vector< SLuintSLVuint
 
typedef vector< SLlongSLVlong
 
typedef vector< SLulongSLVulong
 
typedef vector< SLfloatSLVfloat
 
typedef vector< SLstringSLVstring
 
typedef vector< size_t > SLVsize_t
 
typedef vector< vector< SLfloat > > SLVVfloat
 
typedef vector< vector< SLuchar > > SLVVuchar
 
typedef vector< vector< SLushort > > SLVVushort
 
typedef vector< vector< SLuint > > SLVVuint
 
typedef vector< vector< SLchar > > SLVVchar
 
typedef vector< vector< SLshort > > SLVVshort
 
typedef vector< vector< SLint > > SLVVint
 

Functions

template<class T >
SLuint SL_sizeOfVector (const T &vector)
 

Macro Definition Documentation

◆ SL_DELBIT

#define SL_DELBIT (   VAR,
  VAL 
)    VAR &= ~VAL

◆ SL_EXIT_MSG

#define SL_EXIT_MSG (   message)    Utils::log("SLProject Error", (message))

◆ SL_GETBIT

#define SL_GETBIT (   VAR,
  VAL 
)    VAR& VAL

◆ SL_LOG

#define SL_LOG (   ...)    Utils::log("SLProject", __VA_ARGS__)

◆ SL_SETBIT

#define SL_SETBIT (   VAR,
  VAL 
)    VAR |= VAL

◆ SL_TOGBIT

#define SL_TOGBIT (   VAR,
  VAL 
)
Value:
if (VAR & VAL) \
VAR &= ~VAL; \
else \
VAR |= VAL

◆ SL_WARN_MSG

#define SL_WARN_MSG (   message)    Utils::warnMsg("SLProject", (message), __LINE__, __FILE__)

◆ UNUSED_PARAMETER

#define UNUSED_PARAMETER (   r)    ((void)(x))

Typedef Documentation

◆ SLbitfield

typedef unsigned int SLbitfield

◆ SLbool

typedef bool SLbool

◆ SLbyte

typedef signed char SLbyte

◆ SLchar

typedef char SLchar

◆ SLdouble

typedef double SLdouble

◆ SLenum

typedef unsigned int SLenum

◆ SLfloat

typedef float SLfloat

◆ SLint

typedef int SLint

◆ SLint16

typedef int16_t SLint16

◆ SLint32

typedef int32_t SLint32

◆ SLint64

typedef int64_t SLint64

◆ SLint8

typedef int8_t SLint8

◆ SLlong

typedef signed long SLlong

◆ SLshort

typedef short SLshort

◆ SLsizei

typedef int SLsizei

◆ SLstring

typedef string SLstring

◆ SLubyte

typedef unsigned char SLubyte

◆ SLuchar

typedef unsigned char SLuchar

◆ SLuint

typedef unsigned int SLuint

◆ SLuint16

typedef uint16_t SLuint16

◆ SLuint32

typedef uint32_t SLuint32

◆ SLuint64

typedef uint64_t SLuint64

◆ SLuint8

typedef uint8_t SLuint8

◆ SLulong

typedef unsigned long SLulong

◆ SLushort

typedef unsigned short SLushort

◆ SLVbool

typedef vector<SLbool> SLVbool

◆ SLVbyte

typedef vector<SLbyte> SLVbyte

◆ SLVchar

typedef vector<SLchar> SLVchar

◆ SLVfloat

typedef vector<SLfloat> SLVfloat

◆ SLVint

typedef vector<SLint> SLVint

◆ SLVlong

typedef vector<SLlong> SLVlong

◆ SLVshort

typedef vector<SLshort> SLVshort

◆ SLVsize_t

typedef vector<size_t> SLVsize_t

◆ SLVstring

typedef vector<SLstring> SLVstring

◆ SLVubyte

typedef vector<SLubyte> SLVubyte

◆ SLVuchar

typedef vector<SLuchar> SLVuchar

◆ SLVuint

typedef vector<SLuint> SLVuint

◆ SLVulong

typedef vector<SLulong> SLVulong

◆ SLVushort

typedef vector<SLushort> SLVushort

◆ SLVVchar

typedef vector<vector<SLchar> > SLVVchar

◆ SLVVfloat

typedef vector<vector<SLfloat> > SLVVfloat

◆ SLVVint

typedef vector<vector<SLint> > SLVVint

◆ SLVVshort

typedef vector<vector<SLshort> > SLVVshort

◆ SLVVuchar

typedef vector<vector<SLuchar> > SLVVuchar

◆ SLVVuint

typedef vector<vector<SLuint> > SLVVuint

◆ SLVVushort

typedef vector<vector<SLushort> > SLVVushort

◆ SLwstring

typedef std::wstring SLwstring

Function Documentation

◆ SL_sizeOfVector()

template<class T >
SLuint SL_sizeOfVector ( const T &  vector)
inline