basix_doc 0.1
ternary_routine_rep< D, S1, S2, S3 > Class Template Reference

#include <routine.hpp>

Inheritance diagram for ternary_routine_rep< D, S1, S2, S3 >:
routine_rep rep_struct

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename D, typename S1, typename S2, typename S3>
class mmx::ternary_routine_rep< D, S1, S2, S3 >

Definition at line 272 of file routine.hpp.


Constructor & Destructor Documentation

ternary_routine_rep ( const generic name,
function_type  fun2 
) [inline]

Definition at line 276 of file routine.hpp.

                                                               :
    routine_rep (name), fun (fun2) {}

Member Function Documentation

generic apply ( const vector< generic > &  v) const [inline, virtual]

Reimplemented from routine_rep.

Definition at line 278 of file routine.hpp.

References ASSERT, and mmx::N().

                                                 {
    ASSERT (N(v) == 3, "three arguments expected");
    return make_abstract<D> (fun (make_concrete<S1> (v[0]),
                                  make_concrete<S2> (v[1]),
                                  make_concrete<S3> (v[2])));
  }
generic apply ( const generic g1) const [virtual, inherited]
generic apply ( const generic g1,
const generic g2 
) const [virtual, inherited]
generic apply ( ) const [virtual, inherited]

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().

                          {
  return apply (vec<generic> ());
}
routine clone ( ) const [virtual, inherited]

Definition at line 91 of file routine.cpp.

References ERROR.

                          {
  ERROR ("not implemented (clone)");
  return routine (this, true);
}
generic function_body ( ) const [virtual, inherited]

Definition at line 81 of file routine.cpp.

                                  {
  return "native";
}
generic function_type ( ) const [virtual, inherited]
bool is_overloaded ( ) const [virtual, inherited]

Definition at line 71 of file routine.cpp.

                                  {
  return false;
}
vector< routine > meanings ( ) const [virtual, inherited]

Definition at line 76 of file routine.cpp.

References ERROR.

                             {
  ERROR ("not implemented (meanings)");
}
void overload ( const routine fun) const [virtual, inherited]

Definition at line 66 of file routine.cpp.

References ERROR.

                                               {
  ERROR ("not implemented (overload)");
}
vector<nat> signature ( ) const [inline, virtual]

Reimplemented from routine_rep.

Definition at line 284 of file routine.hpp.


Member Data Documentation

generic name [inherited]

Definition at line 64 of file routine.hpp.

Referenced by routine_rep::apply().

MMX_ALLOCATORS int ref_count [inherited]

Definition at line 138 of file basix.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines