Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::FunctionTypeInfo Class Reference

Base class for storing function information for a delegate. More...

#include <vcf/FoundationKit/Delegates.h>

Inheritance diagram for VCF::FunctionTypeInfo:

VCF::CallBack VCF::Delegate VCF::Function< ReturnType > VCF::Function1< ReturnType, P1 > VCF::Function2< ReturnType, P1, P2 > VCF::Function3< ReturnType, P1, P2, P3 > VCF::Function4< ReturnType, P1, P2, P3, P4 > VCF::Function5< ReturnType, P1, P2, P3, P4, P5 > VCF::Function6< ReturnType, P1, P2, P3, P4, P5, P6 > VCF::Procedure VCF::Procedure1< P1 > VCF::Procedure2< P1, P2 > VCF::Procedure3< P1, P2, P3 > VCF::Procedure4< P1, P2, P3, P4 > VCF::Procedure5< P1, P2, P3, P4, P5 > VCF::Procedure6< P1, P2, P3, P4, P5, P6 > VCF::Procedure7< P1, P2, P3, P4, P5, P6, P7 > VCF::Procedure8< P1, P2, P3, P4, P5, P6, P7, P8 > VCF::Delegate0 VCF::Delegate1< P1 > VCF::Delegate1R< ReturnType, P1 > VCF::Delegate2< P1, P2 > VCF::Delegate2R< ReturnType, P1, P2 > VCF::Delegate3< P1, P2, P3 > VCF::Delegate3R< ReturnType, P1, P2, P3 > VCF::Delegate4< P1, P2, P3, P4 > VCF::Delegate4R< ReturnType, P1, P2, P3, P4 > VCF::Delegate5< P1, P2, P3, P4, P5 > VCF::Delegate5R< ReturnType, P1, P2, P3, P4, P5 > VCF::Delegate6< P1, P2, P3, P4, P5, P6 > VCF::Delegate6R< ReturnType, P1, P2, P3, P4, P5, P6 > VCF::Delegate7< P1, P2, P3, P4, P5, P6, P7 > VCF::Delegate8< P1, P2, P3, P4, P5, P6, P7, P8 > VCF::DelegateR< ReturnType > List of all members.

Public Types

typedef std::vector< const
std::type_info * > 
TypeArray

Public Member Functions

virtual ~FunctionTypeInfo ()
virtual const std::type_info & getReturnType () const
virtual TypeArray getArgumentTypes () const
bool operator== (const FunctionTypeInfo &rhs) const

Static Public Member Functions

static void addArgumentTypeInfo (TypeArray &types, const std::type_info &ti)
static bool typesMatch (const std::type_info &t1, const std::type_info &t2, bool matchExactly=false)

Detailed Description

Base class for storing function information for a delegate.

The class stores an array of std::type_info for each argument of the function the class is used to represent. This is then used to compare to FunctionTypeInfo instance's and verify that they are the same (or not).


Member Typedef Documentation

typedef std::vector<const std::type_info*> VCF::FunctionTypeInfo::TypeArray
 


Constructor & Destructor Documentation

virtual VCF::FunctionTypeInfo::~FunctionTypeInfo  )  [inline, virtual]
 


Member Function Documentation

static void VCF::FunctionTypeInfo::addArgumentTypeInfo TypeArray types,
const std::type_info &  ti
[inline, static]
 

virtual TypeArray VCF::FunctionTypeInfo::getArgumentTypes  )  const [inline, virtual]
 

Reimplemented in VCF::Procedure1< P1 >, VCF::Delegate1< P1 >, VCF::Procedure, VCF::Delegate0, VCF::Procedure2< P1, P2 >, VCF::Delegate2< P1, P2 >, VCF::Procedure3< P1, P2, P3 >, VCF::Delegate3< P1, P2, P3 >, VCF::Procedure4< P1, P2, P3, P4 >, VCF::Delegate4< P1, P2, P3, P4 >, VCF::Procedure5< P1, P2, P3, P4, P5 >, VCF::Delegate5< P1, P2, P3, P4, P5 >, VCF::Procedure6< P1, P2, P3, P4, P5, P6 >, VCF::Delegate6< P1, P2, P3, P4, P5, P6 >, VCF::Procedure7< P1, P2, P3, P4, P5, P6, P7 >, VCF::Delegate7< P1, P2, P3, P4, P5, P6, P7 >, VCF::Procedure8< P1, P2, P3, P4, P5, P6, P7, P8 >, VCF::Delegate8< P1, P2, P3, P4, P5, P6, P7, P8 >, VCF::Function< ReturnType >, VCF::DelegateR< ReturnType >, VCF::Function1< ReturnType, P1 >, VCF::Delegate1R< ReturnType, P1 >, VCF::Function2< ReturnType, P1, P2 >, VCF::Delegate2R< ReturnType, P1, P2 >, VCF::Function3< ReturnType, P1, P2, P3 >, VCF::Delegate3R< ReturnType, P1, P2, P3 >, VCF::Function4< ReturnType, P1, P2, P3, P4 >, VCF::Delegate4R< ReturnType, P1, P2, P3, P4 >, VCF::Function5< ReturnType, P1, P2, P3, P4, P5 >, VCF::Delegate5R< ReturnType, P1, P2, P3, P4, P5 >, VCF::Function6< ReturnType, P1, P2, P3, P4, P5, P6 >, VCF::Delegate6R< ReturnType, P1, P2, P3, P4, P5, P6 >, and VCF::Delegate1< RunLoopTimer & >.

virtual const std::type_info& VCF::FunctionTypeInfo::getReturnType  )  const [inline, virtual]
 

Reimplemented in VCF::Function< ReturnType >, VCF::DelegateR< ReturnType >, VCF::Function1< ReturnType, P1 >, VCF::Delegate1R< ReturnType, P1 >, VCF::Function2< ReturnType, P1, P2 >, VCF::Delegate2R< ReturnType, P1, P2 >, VCF::Function3< ReturnType, P1, P2, P3 >, VCF::Delegate3R< ReturnType, P1, P2, P3 >, VCF::Function4< ReturnType, P1, P2, P3, P4 >, VCF::Delegate4R< ReturnType, P1, P2, P3, P4 >, VCF::Function5< ReturnType, P1, P2, P3, P4, P5 >, VCF::Delegate5R< ReturnType, P1, P2, P3, P4, P5 >, VCF::Function6< ReturnType, P1, P2, P3, P4, P5, P6 >, and VCF::Delegate6R< ReturnType, P1, P2, P3, P4, P5, P6 >.

bool VCF::FunctionTypeInfo::operator== const FunctionTypeInfo rhs  )  const [inline]
 

static bool VCF::FunctionTypeInfo::typesMatch const std::type_info &  t1,
const std::type_info &  t2,
bool  matchExactly = false
[static]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information