mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@4165 1feff8c3-07ed-0310-ac33-dd36852eb9cd
44 lines
1.9 KiB
C++
44 lines
1.9 KiB
C++
#if !defined(DUMPER_H_INCLUDED)
|
|
#define DUMPER_H_INCLUDED
|
|
#include <set> // std::set
|
|
#include <string> // std::string
|
|
#include <list> // std::list
|
|
#include <vector> // std::vector
|
|
#include "StorageBinList.h"
|
|
class CParser;
|
|
|
|
class dumper
|
|
{
|
|
public:
|
|
dumper(void);
|
|
dumper(CParser & parser);
|
|
~dumper(void);
|
|
bool Read(CParser & parser);
|
|
void SetAll(bool tf);
|
|
std::string get_file_name(void) { return(this->file_name); };
|
|
bool get_append(void) { return(this->append); };
|
|
bool Get_bool_solution(void) { return(this->binList.Get_solution().Get_defined()); };
|
|
bool Get_bool_pp_assemblage(void) { return(this->binList.Get_pp_assemblage().Get_defined()); };
|
|
bool Get_bool_exchange(void) { return(this->binList.Get_exchange().Get_defined()); };
|
|
bool Get_bool_surface(void) { return(this->binList.Get_surface().Get_defined()); };
|
|
bool Get_bool_s_s_assemblage(void) { return(this->binList.Get_s_s_assemblage().Get_defined()); };
|
|
bool Get_bool_gas_phase(void) { return(this->binList.Get_gas_phase().Get_defined()); };
|
|
bool Get_bool_kinetics(void) { return(this->binList.Get_kinetics().Get_defined()); };
|
|
bool Get_bool_any(void);
|
|
|
|
std::set < int > & Get_solution(void) { return(this->binList.Get_solution().Get_numbers()); };
|
|
std::set < int > & Get_pp_assemblage(void) { return(this->binList.Get_pp_assemblage().Get_numbers()); };
|
|
std::set < int > & Get_exchange(void) { return(this->binList.Get_exchange().Get_numbers()); };
|
|
std::set < int > & Get_surface(void) { return(this->binList.Get_surface().Get_numbers()); };
|
|
std::set < int > & Get_s_s_assemblage(void) { return(this->binList.Get_s_s_assemblage().Get_numbers()); };
|
|
std::set < int > & Get_gas_phase(void) { return(this->binList.Get_gas_phase().Get_numbers()); };
|
|
std::set < int > & Get_kinetics(void) { return(this->binList.Get_kinetics().Get_numbers()); };
|
|
protected:
|
|
std::string file_name;
|
|
bool append;
|
|
bool on;
|
|
StorageBinList binList;
|
|
};
|
|
|
|
#endif // !defined(DUMPER_H_INCLUDED)
|