arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

gutz::EventParamMap Class Reference

#include <gutzKeyMouse.h>

Inheritance diagram for gutz::EventParamMap:

gutz::Counted List of all members.

Detailed Description

Event Param map, takes button ids (unsigned ints) and returns event paramters (floats).

I overloaded this guy so that the const [] op will behave correctly.

Definition at line 76 of file gutzKeyMouse.h.

Public Types

typedef std::map< unsigned
int, float, eventKeyMapCmp
Base
typedef Base::iterator Iter
typedef Base::const_iterator CIter

Public Member Functions

 EventParamMap ()
 ~EventParamMap ()
float operator[] (unsigned int key) const
float & operator[] (unsigned int key)

Protected Member Functions

virtual void _incCount ()
 gutz::Counted interface, increment reference count by one.

virtual void _decCount ()
 gutz::Counted interface, decrement reference count by one.

virtual int _getCount () const
 gutz::Counted interface, get the current reference count.


Friends

class SmartPtr
class SmartPtrRef


Member Typedef Documentation

typedef std::map<unsigned int, float, eventKeyMapCmp> gutz::EventParamMap::Base
 

Definition at line 81 of file gutzKeyMouse.h.

typedef Base::const_iterator gutz::EventParamMap::CIter
 

Definition at line 83 of file gutzKeyMouse.h.

Referenced by operator[]().

typedef Base::iterator gutz::EventParamMap::Iter
 

Definition at line 82 of file gutzKeyMouse.h.


Constructor & Destructor Documentation

gutz::EventParamMap::EventParamMap  )  [inline]
 

Definition at line 85 of file gutzKeyMouse.h.

gutz::EventParamMap::~EventParamMap  )  [inline]
 

Definition at line 86 of file gutzKeyMouse.h.


Member Function Documentation

virtual void gutz::Counted::_decCount  )  [inline, protected, virtual, inherited]
 

gutz::Counted interface, decrement reference count by one.

Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr

Definition at line 54 of file smartptr.h.

Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax().

virtual int gutz::Counted::_getCount  )  const [inline, protected, virtual, inherited]
 

gutz::Counted interface, get the current reference count.

Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr.

Definition at line 58 of file smartptr.h.

virtual void gutz::Counted::_incCount  )  [inline, protected, virtual, inherited]
 

gutz::Counted interface, increment reference count by one.

Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr

Definition at line 48 of file smartptr.h.

Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax().

float& gutz::EventParamMap::operator[] unsigned int  key  )  [inline]
 

Definition at line 95 of file gutzKeyMouse.h.

float gutz::EventParamMap::operator[] unsigned int  key  )  const [inline]
 

Definition at line 88 of file gutzKeyMouse.h.

References CIter, and end.


Friends And Related Function Documentation

friend class SmartPtr [friend, inherited]
 

Definition at line 40 of file smartptr.h.

Referenced by Nrro::NrroIter< T >::NrroIter().

friend class SmartPtrRef [friend, inherited]
 

Definition at line 41 of file smartptr.h.


The documentation for this class was generated from the following file:
Send questions, comments, and bug reports to:
jmk