Defines lots of handy stuff, that is available to all classes that inherit from CCountedObject by default
Definition in file StdDefines.h.
Go to the source code of this file.
#define ALWAYS_INLINE |
Does nothing on winodws, must follow function decl' on mac for inline functions
Definition at line 66 of file StdDefines.h.
#define FORCEINLINE __forceinline |
Forces a section inline
Definition at line 60 of file StdDefines.h.
#define FREE_ARRAY_POINTER | ( | x | ) | if(x) { delete [] (x); } (x) = NULL; |
Sets Deletes the array pointed at to by x and sets it to NULL
Definition at line 44 of file StdDefines.h.
Referenced by Exponent::Audio::TWaveFileFormat< TypeName >::readData(), Exponent::Audio::TAiffFileFormat< TypeName >::readData(), and Exponent::Audio::TAudioBuffer< TypeName >::uninitialise().
#define FREE_POINTER | ( | x | ) | if(x) { delete (x); } (x) = NULL; |
Sets Deletes x and sets it to NULL
Definition at line 38 of file StdDefines.h.
Referenced by Exponent::Collections::TAutomaticPointer< Exponent::GUI::Controls::CMenuItem >::freePointer(), Exponent::Audio::TAudioBuffer< TypeName >::mergeChannelsToMono(), and Exponent::Collections::TAutomaticPointer< Exponent::GUI::Controls::CMenuItem >::operator=().
#define NULL_POINTER | ( | x | ) | (x) = NULL; |
Sets x = NULL
Definition at line 32 of file StdDefines.h.
Referenced by Exponent::Collections::TAutomaticPointer< Exponent::GUI::Controls::CMenuItem >::freePointer(), Exponent::GUI::Controls::CPresetBrowser::SPresetBrowserSetup::initialise(), Exponent::Collections::TAutomaticPointer< Exponent::GUI::Controls::CMenuItem >::operator=(), Exponent::Audio::TAudioBuffer< TypeName >::TAudioBuffer(), and Exponent::Collections::TAutomaticPointer< Exponent::GUI::Controls::CMenuItem >::TAutomaticPointer().