Public Member Functions | |
virtual void | dump (string indent) const |
virtual void | generate_cpp_input (ostream &outfile) const |
GeneratorSwitch (Variable *switch_variable, list< int > &operators, const vector< GeneratorBase * > &gen_for_val, GeneratorBase *default_gen) | |
~GeneratorSwitch () | |
Private Attributes | |
GeneratorBase * | default_generator |
vector< GeneratorBase * > | generator_for_value |
list< int > | immediate_ops_indices |
Variable * | switch_var |
Definition at line 36 of file preprocess/successor_generator.cpp.
Definition at line 73 of file preprocess/successor_generator.cpp.
GeneratorSwitch::GeneratorSwitch | ( | Variable * | switch_variable, |
list< int > & | operators, | ||
const vector< GeneratorBase * > & | gen_for_val, | ||
GeneratorBase * | default_gen | ||
) |
Definition at line 65 of file preprocess/successor_generator.cpp.
void GeneratorSwitch::dump | ( | string | indent | ) | const [virtual] |
Implements GeneratorBase.
Definition at line 79 of file preprocess/successor_generator.cpp.
void GeneratorSwitch::generate_cpp_input | ( | ostream & | outfile | ) | const [virtual] |
Implements GeneratorBase.
Definition at line 93 of file preprocess/successor_generator.cpp.
GeneratorBase* GeneratorSwitch::default_generator [private] |
Definition at line 41 of file preprocess/successor_generator.cpp.
vector<GeneratorBase *> GeneratorSwitch::generator_for_value [private] |
Definition at line 40 of file preprocess/successor_generator.cpp.
list<int> GeneratorSwitch::immediate_ops_indices [private] |
Definition at line 39 of file preprocess/successor_generator.cpp.
Variable* GeneratorSwitch::switch_var [private] |
Definition at line 38 of file preprocess/successor_generator.cpp.