ACE  6.3.3
Classes
Functor.h File Reference
#include "ace/Basic_Types.h"
#include "ace/Functor.inl"

Classes

class  ACE_Command_Base
 Defines an abstract class that allows us to invoke commands without knowing anything about the implementation. More...
 
class  ACE_Noop_Command
 
class  ACE_Hash< TYPE >
 Function object for hashing. More...
 
class  ACE_Equal_To< TYPE >
 Function object for comparing two objects of the given type for equality. More...
 
class  ACE_Less_Than< TYPE >
 Function object for determining whether the first object of the given type is less than the second object of the same type. More...
 
class  ACE_Hash< char >
 Function object for hashing a char. More...
 
class  ACE_Hash< signed char >
 Function object for hashing a signed char. More...
 
class  ACE_Hash< unsigned char >
 Function object for hashing an unsigned char. More...
 
class  ACE_Hash< short >
 Function object for hashing a short number. More...
 
class  ACE_Hash< unsigned short >
 Function object for hashing an unsigned short number. More...
 
class  ACE_Hash< int >
 Function object for hashing an int number. More...
 
class  ACE_Hash< unsigned int >
 Function object for hashing an unsigned int number. More...
 
class  ACE_Hash< long >
 Function object for hashing a long number. More...
 
class  ACE_Hash< unsigned long >
 Function object for hashing an unsigned long number. More...
 
class  ACE_Hash< ACE_INT64 >
 Function object for hashing a signed 64-bit number. More...
 
class  ACE_Hash< ACE_UINT64 >
 Function object for hashing an unsigned 64-bit number. More...
 
class  ACE_Hash< const char * >
 Function object for hashing a const string. More...
 
class  ACE_Hash< char * >
 Function object for hashing a string. More...
 
class  ACE_Hash< void * >
 Function object for hashing a void. More...
 
class  ACE_Equal_To< const char * >
 Function object for determining whether two const strings are equal. More...
 
class  ACE_Equal_To< char * >
 Function object for determining whether two non-const strings are equal. More...
 
class  ACE_Equal_To< ACE_UINT16 >
 Function object for determining whether two unsigned 16 bit ints are equal. More...
 
class  ACE_Equal_To< ACE_INT16 >
 Function object for determining whether two 16 bit ints are equal. More...
 
class  ACE_Equal_To< ACE_UINT32 >
 Function object for determining whether two unsigned 32 bit ints are equal. More...
 
class  ACE_Equal_To< ACE_INT32 >
 Function object for determining whether two 32 bit ints are equal. More...
 
class  ACE_Equal_To< ACE_UINT64 >
 Function object for determining whether two unsigned 64 bit ints are equal. More...
 
class  ACE_Less_Than< const char * >
 Function object for determining whether the first const string is less than the second const string. More...
 
class  ACE_Less_Than< char * >
 Function object for determining whether the first string is less than the second string. More...
 
class  ACE_Hash< wchar_t >
 Function object for hashing a wchar_t. More...
 
class  ACE_Hash< const wchar_t * >
 Function object for hashing a const string. More...
 
class  ACE_Hash< wchar_t * >
 Function object for hashing a string. More...
 
class  ACE_Equal_To< const wchar_t * >
 Function object for determining whether two const strings are equal. More...
 
class  ACE_Equal_To< wchar_t * >
 Function object for determining whether two non-const strings are equal. More...
 
class  ACE_Less_Than< const wchar_t * >
 Function object for determining whether the first const string is less than the second const string. More...
 
class  ACE_Less_Than< wchar_t * >
 Function object for determining whether the first string is less than the second string. More...
 

Detailed Description

Non-templatized classes and class template specializations for implementing function objects that are used in various places in ACE. There are currently two major categories of function objects in ACE: GoF Command Pattern objects, and STL-style functors for comparison of container elements. The command objects are invoked via an execute () method, while the STL-style functors are invoked via an operator() () method. Non-templatized classes for implementing the GoF Command Pattern, also known as functors or function objects.

Author
Chris Gill cdgil.nosp@m.l@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
Based on Command Pattern implementations originally done by
Carlos O'Ryan corya.nosp@m.n@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
Douglas C. Schmidt schmi.nosp@m.dt@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du
Sergio Flores-Gaitan sergi.nosp@m.o@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
and on STL-style functor implementations originally done by
Irfan Pyarali irfan.nosp@m.@cs..nosp@m.wustl.nosp@m..edu