#include <routine.hpp>
Definition at line 62 of file routine.hpp.
routine_rep | ( | const generic & | name2 | ) | [inline] |
Definition at line 66 of file routine.hpp.
00066 : name (name2) {}
virtual ~routine_rep | ( | ) | [inline, virtual] |
Definition at line 67 of file routine.hpp.
Reimplemented in nullary_routine_rep< void >, unary_routine_rep< D, S1 >, unary_routine_rep< void, S1 >, binary_routine_rep< D, S1, S2 >, binary_routine_rep< void, S1, S2 >, ternary_routine_rep< D, S1, S2, S3 >, ternary_routine_rep< void, S1, S2, S3 >, quaternary_routine_rep< D, S1, S2, S3, S4 >, quaternary_routine_rep< void, S1, S2, S3, S4 >, quintary_routine_rep< D, S1, S2, S3, S4, S5 >, quintary_routine_rep< void, S1, S2, S3, S4, S5 >, identity_routine_rep, composed_routine_rep, change_signature_routine_rep, default_routine_rep, and integrate_routine_rep.
Definition at line 52 of file routine.cpp.
References ERROR, mmx::mmerr, and routine_rep::name.
Reimplemented in binary_routine_rep< D, S1, S2 >, binary_routine_rep< void, S1, S2 >, composed_routine_rep, change_signature_routine_rep, and integrate_routine_rep.
Definition at line 47 of file routine.cpp.
References routine_rep::apply().
00047 { 00048 return apply (vec<generic> (g1, g2)); 00049 }
Reimplemented in unary_routine_rep< D, S1 >, unary_routine_rep< void, S1 >, identity_routine_rep, composed_routine_rep, change_signature_routine_rep, and integrate_routine_rep.
Definition at line 42 of file routine.cpp.
References routine_rep::apply().
00042 { 00043 return apply (vec<generic> (g1)); 00044 }
generic apply | ( | ) | const [virtual] |
Reimplemented in nullary_routine_rep< void >, change_signature_routine_rep, and integrate_routine_rep.
Definition at line 37 of file routine.cpp.
Referenced by routine_rep::apply().
00037 { 00038 return apply (vec<generic> ()); 00039 }
routine clone | ( | ) | const [virtual] |
Definition at line 91 of file routine.cpp.
References ERROR.
generic function_body | ( | ) | const [virtual] |
Definition at line 81 of file routine.cpp.
generic function_type | ( | ) | const [virtual] |
Definition at line 86 of file routine.cpp.
References mmx::gen(), mmx::GEN_FUNCTION_TYPE, routine_rep::signature(), and mmx::type_name().
00086 { 00087 return gen (GEN_FUNCTION_TYPE, type_name (signature ())); 00088 }
bool is_overloaded | ( | ) | const [virtual] |
Definition at line 71 of file routine.cpp.
Definition at line 76 of file routine.cpp.
References ERROR.
00076 { 00077 ERROR ("not implemented (meanings)"); 00078 }
void overload | ( | const routine & | fun | ) | const [virtual] |
Definition at line 66 of file routine.cpp.
References ERROR.
00066 { 00067 ERROR ("not implemented (overload)"); 00068 }
Reimplemented in nullary_routine_rep< void >, unary_routine_rep< D, S1 >, unary_routine_rep< void, S1 >, binary_routine_rep< D, S1, S2 >, binary_routine_rep< void, S1, S2 >, ternary_routine_rep< D, S1, S2, S3 >, ternary_routine_rep< void, S1, S2, S3 >, quaternary_routine_rep< D, S1, S2, S3, S4 >, quaternary_routine_rep< void, S1, S2, S3, S4 >, quintary_routine_rep< D, S1, S2, S3, S4, S5 >, quintary_routine_rep< void, S1, S2, S3, S4, S5 >, identity_routine_rep, composed_routine_rep, change_signature_routine_rep, default_routine_rep, and integrate_routine_rep.
Definition at line 60 of file routine.cpp.
References ERROR.
Referenced by routine_rep::function_type().
00060 { 00061 ERROR ("not implemented (signature)"); 00062 return vec<nat> (); 00063 }
Definition at line 64 of file routine.hpp.
Referenced by routine_rep::apply().