- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- File List
- File Members

# StdDefines.h File Reference

## Detailed Description

Generic defines.

Defines lots of handy stuff, that is available to all classes that inherit from CCountedObject by default

Date:
  21/08/2004

Author:
  Paul Chana

Version:
  1.0.0 Initial version

Note:
  All contents of this source code are copyright 2005 Exp Digital Uk.
  This source file is covered by the licence conditions of the Infinity API. You should have recieved a copy
  with the source code. If you didnt, please refer to http://www.expdigital.co.uk All content is the Intellectual property of Exp Digital Uk.
  Certain sections of this code may come from other sources. They are credited where applicable.
  If you have comments, suggestions or bug reports please visit http://support.expdigital.co.uk

Id
  StdDefines.h,v 1.5 2007/03/03 02:59:09 paul Exp

Definition in file StdDefines.h.

Go to the source code of this file.

## Defines

- #define ALWAYS_INLINE
- #define FORCEINLINE __forceinline
- #define FREE_ARRAY_POINTER(x) if(x) { delete [] (x); } (x) = NULL;
- #define FREE_POINTER(x) if(x) { delete (x); } (x) = NULL;
- #define NULL_POINTER(x) (x) = NULL;

## Typedefs

- typedef unsigned __int64 uint64
    typedef to an unsigned long long

## Define Documentation

#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().

## Typedef Documentation

uint64

typedef to an unsigned long long

Definition at line 72 of file StdDefines.h.