Indirect< R > Struct Template Reference

#include <mmc_glue.hpp>

List of all members.

Public Member Functions

Public Attributes


Detailed Description

template<typename R>
struct mmx::Indirect< R >

Definition at line 739 of file mmc_glue.hpp.


Constructor & Destructor Documentation

Indirect (  )  [inline]

Definition at line 742 of file mmc_glue.hpp.

00742 : rep (new R ()) {}

~Indirect (  )  [inline]

Definition at line 743 of file mmc_glue.hpp.

References DEC_COUNT, and Indirect< R >::rep.

00743 { DEC_COUNT (rep); }

Indirect ( const Indirect< R > &  x  )  [inline]

Definition at line 744 of file mmc_glue.hpp.

References INC_COUNT, and Indirect< R >::rep.

00744 : rep (x.rep) { INC_COUNT (rep); }


Member Function Documentation

const R* operator-> (  )  const [inline]

Definition at line 741 of file mmc_glue.hpp.

References Indirect< R >::rep.

00741 { return rep; }

Indirect<R>& operator= ( const Indirect< R > &  x  )  [inline]

Definition at line 745 of file mmc_glue.hpp.

References DEC_COUNT, INC_COUNT, and Indirect< R >::rep.

00745                                                         {
00746     INC_COUNT (x.rep);
00747     DEC_COUNT (rep);
00748     rep = x.rep;
00749     return *this; }


Member Data Documentation

R* rep

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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1