GateFactory Class Template Reference

List of all members.


Detailed Description

template<template< int > class GATE, int N>
class GateFactory< GATE, N >

Static-only factory creating evaluators for GATE circuits.

Parameters:
GATE Template specifying the gate. This parameter is a template accepting one parameter (count of input wires).
N Count of input wires.

Definition at line 165 of file CaFactory.cpp.


Public Types

typedef GATE< N > TGate
typedef Binder< N, 1 >::tag TBinding

Static Public Member Functions

static CaEvaluatorcreate ()
 Return newly created instance of CaEvaluator object.

Private Attributes

CT_ASSERT
< TBinding::BOUND_INPUTS+1==1
<< N > 
___COMPILE_TIME_ERROR__INAPPROPRIATE_INPUT_BINDING_FOR_GATE___
 abort compilation if the input binding is inappropriate
CT_ASSERT
< TBinding::BOUND_OUTPUTS==1 > 
___COMPILE_TIME_ERROR__INAPPROPRIATE_OUTPUT_BINDING_FOR_GATE___
 abort compilation if the output binding is inappropriate

Member Typedef Documentation

typedef GATE<N> TGate

Definition at line 167 of file CaFactory.cpp.

typedef Binder<N,1>::tag TBinding

Definition at line 168 of file CaFactory.cpp.


Member Function Documentation

static CaEvaluator* create (  )  [inline, static]

Return newly created instance of CaEvaluator object.

Definition at line 174 of file CaFactory.cpp.

References PrivateFactory::create().

Here is the call graph for this function:


Member Data Documentation

CT_ASSERT<TBinding::BOUND_INPUTS + 1 == 1 << N> ___COMPILE_TIME_ERROR__INAPPROPRIATE_INPUT_BINDING_FOR_GATE___ [private]

abort compilation if the input binding is inappropriate

Definition at line 181 of file CaFactory.cpp.

CT_ASSERT<TBinding::BOUND_OUTPUTS == 1> ___COMPILE_TIME_ERROR__INAPPROPRIATE_OUTPUT_BINDING_FOR_GATE___ [private]

abort compilation if the output binding is inappropriate

Definition at line 185 of file CaFactory.cpp.


The documentation for this class was generated from the following file:
Generated on Sat May 2 16:39:39 2009 for nucad by  doxygen 1.5.4