basix_doc 0.1
identity_routine_rep Class Reference
Inheritance diagram for identity_routine_rep:
routine_rep rep_struct

List of all members.

Public Member Functions

Public Attributes


Detailed Description

Definition at line 100 of file routine.cpp.


Constructor & Destructor Documentation

identity_routine_rep ( const vector< nat > &  sig2) [inline]

Definition at line 103 of file routine.cpp.

                                                :
    routine_rep (GEN_IDENTITY), sig (sig2) {}

Member Function Documentation

generic apply ( const generic x) const [inline, virtual]

Reimplemented from routine_rep.

Definition at line 105 of file routine.cpp.

{ return x; }
generic apply ( const vector< generic > &  v) const [inline, virtual]

Reimplemented from routine_rep.

Definition at line 106 of file routine.cpp.

References mmx::apply(), ASSERT, and mmx::N().

                                                 {
    ASSERT (N(v) == 1, "one argument expected"); return apply (v[0]); }
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> ());
}
generic apply ( const generic g1,
const generic g2 
) const [virtual, inherited]
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 108 of file routine.cpp.

{ return sig; }

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