# Iterate Class Reference

`#include <iterate.hpp>`

List of all members.

## Public Member Functions
| Iterate (mxArray *ptr)
| ~Iterate ()
void | inject (const double *x)
void | copyto (double *x) const
| operator mxArray * ()
| operator const mxArray * () const
## Static Public Member Functions
static int | getMatlabData (const mxArray *ptr, double *&data)
## Protected Attributes
int | nv
mxArray * | ptr
## Friends
int | numvars (const Iterate &x)

## Detailed Description

Definition at line 31 of file iterate.hpp.

## Constructor & Destructor Documentation

Iterate::Iterate | ( | mxArray * | ptr | ) | `[explicit]`

Iterate::~Iterate | ( |  | ) | `[inline]`

Definition at line 42 of file iterate.hpp.

## Member Function Documentation

void Iterate::inject | ( | const double * | x | ) |

void Iterate::copyto | ( | double * | x | ) | const

Iterate::operator mxArray * | ( |  | ) | `[inline]`

Definition at line 56 of file iterate.hpp.

Iterate::operator const mxArray * | ( |  | ) | const`[inline]`

Definition at line 57 of file iterate.hpp.

static int Iterate::getMatlabData | ( | const mxArray * | ptr,
|  | double *& | data |
| ) |  |  | `[static]`

## Friends And Related Function Documentation

int numvars | ( | const Iterate & | x | ) | `[friend]`

Definition at line 45 of file iterate.hpp.

## Member Data Documentation

int Iterate::nv`[protected]`

Definition at line 67 of file iterate.hpp.

mxArray* Iterate::ptr`[protected]`

Definition at line 68 of file iterate.hpp.

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

- contrib/MatlabInterface/src/iterate.hpp

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines