# bdm::datalink_m2e Class Reference

Data link with a condition. More...

`#include <bdmbase.h>`

List of all members.

## Public Member Functions
| datalink_m2e ()
| Constructor.
void | set_connection (const RV &rv, const RV &rvc, const RV &rv_up)
| Set connection between vectors.
vec | get_cond (const vec &val_up)
| Construct condition.
void | pushup_cond (vec &val_up, const vec &val, const vec &cond)
| Copy corresponding values to Up.condition.
virtual void | set_connection (const RV &rv, const RV &rv_up)
| set connection, rv must be fully present in rv_up
virtual void | set_connection (int ds, int us, const ivec &upind)
| set connection using indices
vec | pushdown (const vec &val_up)
| Get val for myself from val of "Up".
virtual void | filldown (const vec &val_up, vec &val_down)
| Get val for vector val_down from val of "Up".
virtual void | pushup (vec &val_up, const vec &val)
| Fill val of "Up" by my pieces.
int | _upsize ()
| access functions
int | _downsize ()
| access functions
## Protected Attributes
int | condsize
| Remember how long cond should be.
ivec | v2c_up
| upper_val-to-local_cond link, indices of the upper val
ivec | v2c_lo
| upper_val-to-local_cond link, indices of the local cond
int | downsize
| Remember how long val should be.
int | upsize
| Remember how long val of "Up" should be.
ivec | v2v_up
| val-to-val link, indices of the upper val

## Detailed Description

Data link with a condition.

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

- bdmbase.h
- bdmbase.cpp