ParticleChannelMask Class Reference

#include <ParticleChannelMask.h>

+ Inheritance diagram for ParticleChannelMask:

Public Member Functions

PFExport ParticleChannelMask ()
 constructors/destructor/assigning More...
 
PFExport ParticleChannelMask (const ParticleChannelMask &)
 constructors/destructor/assigning More...
 
PFExport ParticleChannelMask (DWORD readMask, DWORD writeMask)
 constructors/destructor/assigning More...
 
PFExport ParticleChannelMaskoperator= (const ParticleChannelMask &)
 constructors/destructor/assigning More...
 
PFExport ~ParticleChannelMask ()
 constructors/destructor/assigning More...
 
PFExport int operator== (const ParticleChannelMask &) const
 Test for equality. More...
 
PFExport int operator!= (const ParticleChannelMask &) const
 Test for equality. More...
 
PFExport void SetReadChannels (DWORD channelsFlag)
 set standard read/write and custom channels methods. More...
 
PFExport void SetWriteChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport bool SetChannels (int numChannels, Interface_ID *channels)
 See PFExport void SetReadChannels() More...
 
PFExport void AddReadChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport void RemoveReadChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport void AddWriteChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport void RemoveWriteChannels (DWORD channelsFlag)
 See PFExport void SetReadChannels() More...
 
PFExport bool AddChannel (Interface_ID &channel)
 See PFExport void SetReadChannels() More...
 
PFExport bool RemoveChannel (Interface_ID &channel)
 See PFExport void SetReadChannels() More...
 
PFExport const int GetNumChannels () const
 get channels methods More...
 
PFExport const Interface_ID GetChannel (int i) const
 
PFExport const bool HasChannel (Interface_ID &channel) const
 has channels methods. More...
 
PFExport const bool HasReadChannels (DWORD channelsFlag) const
 returns true if all readChannels are present More...
 
PFExport const bool HasWriteChannels (DWORD channelsFlag) const
 returns true if all writeChannels are present More...
 

Static Public Member Functions

static PFExport int NumStandardParticleChannels ()
 maximum number of available standard particle channels (constant) More...
 
static PFExport const ParticleChannelMaskNull ()
 empty mask More...
 
- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 

Protected Attributes

DWORD m_readFlag
 
DWORD m_writeFlag
 
bool m_numSRChannelsValid
 
bool m_numSWChannelsValid
 
int m_numStandardReadChannels
 
int m_numStandardWriteChannels
 
int m_numCustomChannels
 
Interface_IDm_customChannels
 

Static Protected Attributes

static const DWORD kChannelsCast
 
static const int kNumStandardParticleChannels
 
static const ParticleChannelMask kNull