access_routine_rep Class Reference

Inheritance diagram for access_routine_rep:
routine_rep rep_struct

List of all members.

Public Member Functions

Public Attributes


Detailed Description

Definition at line 216 of file glue_class.cpp.


Constructor & Destructor Documentation

access_routine_rep ( nat  i,
nat  a,
nat  d 
) [inline]

Definition at line 219 of file glue_class.cpp.

00219                                           :
00220     routine_rep (GEN_ACCESS), index (i), arg_tp (a), dest_tp (d) {}
  generic apply (const generic& a) const {


Member Function Documentation

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

Reimplemented from routine_rep.

Definition at line 221 of file glue_class.cpp.

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

00221                                          {
00222     vector<generic> v= as<vector<generic> > (as_generic (a, arg_tp));
00223     ASSERT (N(v) > index, "invalid data structure");
00224     return v[index];
00225   }

vector<nat> signature (  )  const [inline, virtual]

Reimplemented from routine_rep.

Definition at line 226 of file glue_class.cpp.

00226 { return vec<nat> (dest_tp, arg_tp); }


The documentation for this class was generated from the following file:

Generated on 6 Dec 2012 for mmxlight by  doxygen 1.6.1