mrgsolve
Public Member Functions | Public Attributes | List of all members
datarecord Class Reference

#include <datarecord.h>

Public Member Functions

 datarecord (double time_, int pos_, bool output_)
 constructor More...
 
 datarecord (double time_, short int cmt_, int pos_, double id_)
 constructor More...
 
 datarecord (short int cmt_, int evid_, double amt_, double time_, double rate_, int pos_, double id_)
 constructor More...
 
 datarecord (short int cmt_, int evid_, double amt_, double time_, double rate_)
 short event constructor More...
 
 ~datarecord ()
 
double time ()
 
void time (double time_)
 
double id ()
 
void id (double id_)
 
unsigned int evid ()
 
void evid (unsigned short int evid_)
 
int pos ()
 
void pos (int pos_)
 
short int cmt ()
 
short int cmtn ()
 
void output (bool in)
 
bool output ()
 
bool from_data ()
 
void from_data (bool val)
 
double amt ()
 
double rate ()
 
void rate (double value)
 
double dur (double b)
 
void addl (int addl_)
 
unsigned int addl ()
 
void ss (int ss_)
 
unsigned short ss ()
 
void ii (double ii_)
 
double ii ()
 
void schedule (std::vector< rec_ptr > &thisi, double maxtime, bool put_ev_first, const unsigned int maxpos, double Fn)
 
void implement (odeproblem *prob)
 
void steady_zero (odeproblem *prob, LSODA &solver)
 
void steady_infusion (odeproblem *prob, reclist &thisi, LSODA &solver)
 
void steady_bolus (odeproblem *prob, LSODA &solver)
 
void steady (odeproblem *prob, reclist &thisi, double Fn, LSODA &solver)
 
bool infusion ()
 
bool int_infusion ()
 
bool ss_int_infusion ()
 
bool const_infusion ()
 
bool ss_infusion ()
 
bool is_event ()
 
bool is_dose ()
 
bool is_event_data ()
 
bool needs_sorting ()
 
bool unarmed ()
 
void arm ()
 
bool armed ()
 
void unarm ()
 
void phantom_rec ()
 
bool is_phantom ()
 

Public Attributes

double Time
 record time More...
 
double Id
 record ID value More...
 
int Pos
 record position number More...
 
unsigned short int Evid
 record event ID More...
 
bool Output
 should this record be included in output? More...
 
bool Fromdata
 is this record from the original data set? More...
 
short int Cmt
 record compartment number More...
 
unsigned int Addl
 number of additional doses More...
 
unsigned short int Ss
 record steady-state indicator More...
 
double Amt
 record dosing amount value More...
 
double Rate
 record infusion rate value More...
 
double Ii
 record inter-dose interval value More...
 
bool Armed
 only armed records are actually executed More...
 

Constructor & Destructor Documentation

◆ datarecord() [1/4]

datarecord::datarecord ( double  time_,
int  pos_,
bool  output_ 
)

constructor

◆ datarecord() [2/4]

datarecord::datarecord ( double  time_,
short int  cmt_,
int  pos_,
double  id_ 
)

constructor

◆ datarecord() [3/4]

datarecord::datarecord ( short int  cmt_,
int  evid_,
double  amt_,
double  time_,
double  rate_,
int  pos_,
double  id_ 
)

constructor

◆ datarecord() [4/4]

datarecord::datarecord ( short int  cmt_,
int  evid_,
double  amt_,
double  time_,
double  rate_ 
)

short event constructor

◆ ~datarecord()

datarecord::~datarecord ( )

Member Function Documentation

◆ addl() [1/2]

unsigned int datarecord::addl ( )
inline

◆ addl() [2/2]

void datarecord::addl ( int  addl_)
inline

◆ amt()

double datarecord::amt ( )
inline

◆ arm()

void datarecord::arm ( )
inline

◆ armed()

bool datarecord::armed ( )
inline

◆ cmt()

short int datarecord::cmt ( )
inline

◆ cmtn()

short int datarecord::cmtn ( )
inline

◆ const_infusion()

bool datarecord::const_infusion ( )
inline

◆ dur()

double datarecord::dur ( double  b)

◆ evid() [1/2]

unsigned int datarecord::evid ( )
inline

◆ evid() [2/2]

void datarecord::evid ( unsigned short int  evid_)
inline

◆ from_data() [1/2]

bool datarecord::from_data ( )
inline

◆ from_data() [2/2]

void datarecord::from_data ( bool  val)
inline

◆ id() [1/2]

double datarecord::id ( )
inline

◆ id() [2/2]

void datarecord::id ( double  id_)
inline

◆ ii() [1/2]

double datarecord::ii ( )
inline

◆ ii() [2/2]

void datarecord::ii ( double  ii_)
inline

◆ implement()

void datarecord::implement ( odeproblem prob)

◆ infusion()

bool datarecord::infusion ( )
inline

◆ int_infusion()

bool datarecord::int_infusion ( )
inline

◆ is_dose()

bool datarecord::is_dose ( )
inline

◆ is_event()

bool datarecord::is_event ( )
inline

◆ is_event_data()

bool datarecord::is_event_data ( )
inline

◆ is_phantom()

bool datarecord::is_phantom ( )
inline

◆ needs_sorting()

bool datarecord::needs_sorting ( )
inline

◆ output() [1/2]

bool datarecord::output ( )
inline

◆ output() [2/2]

void datarecord::output ( bool  in)
inline

◆ phantom_rec()

void datarecord::phantom_rec ( )
inline

◆ pos() [1/2]

int datarecord::pos ( )
inline

◆ pos() [2/2]

void datarecord::pos ( int  pos_)
inline

◆ rate() [1/2]

double datarecord::rate ( )
inline

◆ rate() [2/2]

void datarecord::rate ( double  value)
inline

◆ schedule()

void datarecord::schedule ( std::vector< rec_ptr > &  thisi,
double  maxtime,
bool  put_ev_first,
const unsigned int  maxpos,
double  Fn 
)

◆ ss() [1/2]

unsigned short datarecord::ss ( )
inline

◆ ss() [2/2]

void datarecord::ss ( int  ss_)
inline

◆ ss_infusion()

bool datarecord::ss_infusion ( )

◆ ss_int_infusion()

bool datarecord::ss_int_infusion ( )
inline

◆ steady()

void datarecord::steady ( odeproblem prob,
reclist thisi,
double  Fn,
LSODA solver 
)

◆ steady_bolus()

void datarecord::steady_bolus ( odeproblem prob,
LSODA solver 
)

◆ steady_infusion()

void datarecord::steady_infusion ( odeproblem prob,
reclist thisi,
LSODA solver 
)

◆ steady_zero()

void datarecord::steady_zero ( odeproblem prob,
LSODA solver 
)

◆ time() [1/2]

double datarecord::time ( )
inline

◆ time() [2/2]

void datarecord::time ( double  time_)
inline

◆ unarm()

void datarecord::unarm ( )
inline

◆ unarmed()

bool datarecord::unarmed ( )
inline

Member Data Documentation

◆ Addl

unsigned int datarecord::Addl

number of additional doses

◆ Amt

double datarecord::Amt

record dosing amount value

◆ Armed

bool datarecord::Armed

only armed records are actually executed

◆ Cmt

short int datarecord::Cmt

record compartment number

◆ Evid

unsigned short int datarecord::Evid

record event ID

◆ Fromdata

bool datarecord::Fromdata

is this record from the original data set?

◆ Id

double datarecord::Id

record ID value

◆ Ii

double datarecord::Ii

record inter-dose interval value

◆ Output

bool datarecord::Output

should this record be included in output?

◆ Pos

int datarecord::Pos

record position number

◆ Rate

double datarecord::Rate

record infusion rate value

◆ Ss

unsigned short int datarecord::Ss

record steady-state indicator

◆ Time

double datarecord::Time

record time


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