Fennel: ExtendedInstructionTable Class Reference (original) (raw)

A singleton mapping of ExtendedInstruction signatures to ExtendedInstruction functors. More...

#include <[ExtendedInstructionTable.h](ExtendedInstructionTable%5F8h-source.html)>

List of all members.

Public Member Functions
template
void add (const string &name, const vector< StandardTypeDescriptorOrdinal > &parameterTypes, T *dummy, typename T::Functor functor)
Registers an extended instruction and the functor which implements it.
ExtendedInstructionDef * operator[] (string const &signature)
Looks up an extended instruction by signature (name + argument types).
string signatures ()
Private Attributes
map< string, ExtendedInstructionDef * > _defsByName

Detailed Description

A singleton mapping of ExtendedInstruction signatures to ExtendedInstruction functors.

Definition at line 35 of file ExtendedInstructionTable.h.


Member Function Documentation

template

void ExtendedInstructionTable::add ( const string & name,
const vector< StandardTypeDescriptorOrdinal > & parameterTypes,
T * dummy,
typename T::Functor functor
) [inline]

Registers an extended instruction and the functor which implements it.

Definition at line 40 of file ExtendedInstructionTable.h.

References ExtendedInstructionDef::getSignature().

Referenced by ExtCastRegister(), ExtDateTimeRegister(), ExtDynamicVariableRegister(), ExtMathRegister(), ExtRegExpRegister(), ExtStringRegister(), ExtWinAggFuncRegister(), CalcExtContextTest::setupExtendedTestInstructions(), testConvertDecimal(), testConvertDoubleToFloat(), testConvertExactNumberToString(), testConvertFloatToDouble(), testConvertFloatToIntTypes(), testConvertIntTypesToFloat(), testConvertStringToExactNumber(), and CalcAssemblerTest::testExtended().

Looks up an extended instruction by signature (name + argument types).

Returns null if instruction not found.

Definition at line 57 of file ExtendedInstructionTable.h.

| FENNEL_BEGIN_NAMESPACE string ExtendedInstructionTable::signatures | ( | | ) | | -------------------------------------------------------------------- | - | | - |


Member Data Documentation


The documentation for this class was generated from the following files:


Generated on Mon Jun 22 04:00:31 2009 for Fennel by doxygen 1.5.1