Public Member Functions | Protected Attributes

ParameterHistoryMgr Class Reference

handles parameter history More...

#include <fit.h>

Inheritance diagram for ParameterHistoryMgr:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ParameterHistoryMgr (Ftk *F)
bool push_param_history (const std::vector< realt > &aa)
void clear_param_history ()
int get_param_history_size () const
void load_param_history (int item_nr, bool relative)
bool has_param_history_rel_item (int rel_nr) const
bool can_undo () const
std::string param_history_info () const
const std::vector< realt > & get_item (int n) const
int get_active_nr () const

Protected Attributes

FtkF_

Detailed Description

handles parameter history

Definition at line 90 of file fit.h.


Member Function Documentation

void ParameterHistoryMgr::load_param_history ( int  item_nr,
bool  relative 
)

loads vector of parameters from the history "relative" is used for undo/redo commands if history is not empty and current parameters are different from the ones pointed by param_hist_ptr_ (but have the same size), load_param_history(-1, true), i.e undo, will load the parameters pointed by param_hist_ptr_

Definition at line 581 of file fit.cpp.


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

Generated on Mon Jul 18 2011 17:25:28 for Fityk by Doxygen 1.7.1