basic_primitive_rep Class Reference

Inheritance diagram for basic_primitive_rep:
primitive_rep rep_struct

List of all members.

Public Member Functions

Public Attributes


Detailed Description

Definition at line 17 of file primitive.cpp.


Constructor & Destructor Documentation

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

Definition at line 21 of file primitive.cpp.

00021                                                                :
00022     primitive_rep (name), fun (fun2) {}
  generic apply (const generic& x) const { return fun (x); }


Member Function Documentation

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

Reimplemented from primitive_rep.

Definition at line 23 of file primitive.cpp.

00023 { return fun (x); }


Member Data Documentation

generic name [inherited]

Definition at line 27 of file primitive.hpp.

MMX_ALLOCATORS int ref_count [inherited]

Definition at line 164 of file basix.hpp.


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1