Skip to content
Snippets Groups Projects
Commit 9befe6ab authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

simplify mem.*: there was no need for overloadeding mem_store

parent 2b55bc7d
No related branches found
No related tags found
No related merge requests found
...@@ -290,9 +290,6 @@ namespace NOlm { ...@@ -290,9 +290,6 @@ namespace NOlm {
} }
} }
void mem_store( POld fd, int k ) { mem_store( (POlo)fd, k ); }
void mem_store( POlc fc, int k ) { mem_store( (POlo)fc, k ); }
//! Remove selected files from online memory. //! Remove selected files from online memory.
void mem_del() void mem_del()
{ {
......
//************************************************************************************************** //**************************************************************************************************
//* FRIDA: fast reliable interactive data analysis //* FRIDA: fast reliable interactive data analysis
//* (C) Joachim Wuttke 1990-, v2(C++) 2001- //* (C) Joachim Wuttke 1990-, v2(C++) 2001-
//* http://apps.jcns.fz-juelich.de/frida //* http://apps.jcns.fz-juelich.de/frida
//************************************************************************************************** //**************************************************************************************************
//! \file mem.hpp //! \file mem.hpp
...@@ -16,11 +16,9 @@ namespace NOlm { ...@@ -16,11 +16,9 @@ namespace NOlm {
POld mem_get_D( int k ); POld mem_get_D( int k );
POlc mem_get_C( int k ); POlc mem_get_C( int k );
int mem_size(); int mem_size();
// Modify online memory (file selection is changed accordingly): // Modify online memory (file selection is changed accordingly):
void mem_store( POlo olo, int k=-1 ); void mem_store( POlo olo, int k=-1 );
void mem_store( POld old, int k=-1 );
void mem_store( POlc olc, int k=-1 );
void mem_del(); void mem_del();
void mem_del( int k ); void mem_del( int k );
void mem_xchange(); void mem_xchange();
...@@ -57,12 +55,12 @@ namespace NOlm { ...@@ -57,12 +55,12 @@ namespace NOlm {
int size() const; int size() const;
}; };
//! Bit values of 'mode' parameter in IterateO constructor. //! Bit values of 'mode' parameter in IterateO constructor.
const int IterALL = 1; ///< select all online files const int IterALL = 1; ///< select all online files
const int IterTOL = 2; ///< tolerate empty selection const int IterTOL = 2; ///< tolerate empty selection
//! Iterate over data files in selection. //! Iterate over data files in selection.
class IterateD : public IterateO { class IterateD : public IterateO {
public: public:
POld operator()(); POld operator()();
int size() const; int size() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment