mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@7747 1feff8c3-07ed-0310-ac33-dd36852eb9cd
61 lines
3.2 KiB
C++
61 lines
3.2 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 PHRQ_base
|
|
{
|
|
public:
|
|
dumper(PHRQ_io *io=NULL);
|
|
dumper(CParser & parser, PHRQ_io *io=NULL);
|
|
virtual ~dumper(void);
|
|
bool Read(CParser & parser);
|
|
void SetAll(bool tf);
|
|
std::string Get_file_name(void) { return(this->file_name); };
|
|
void Set_file_name(std::string fn) { this->file_name = fn; };
|
|
bool Get_append(void)const { return(this->append); };
|
|
void Set_append(bool app) { this->append = app; };
|
|
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_ss_assemblage(void) { return(this->binList.Get_ss_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_mix(void) { return(this->binList.Get_mix().Get_defined()); };
|
|
bool Get_bool_reaction(void) { return(this->binList.Get_reaction().Get_defined()); };
|
|
bool Get_bool_temperature(void) { return(this->binList.Get_temperature().Get_defined()); };
|
|
bool Get_bool_pressure(void) { return(this->binList.Get_pressure().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_ss_assemblage(void) { return(this->binList.Get_ss_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()); };
|
|
std::set < int > & Get_mix(void) { return(this->binList.Get_mix().Get_numbers()); };
|
|
std::set < int > & Get_reaction(void) { return(this->binList.Get_reaction().Get_numbers()); };
|
|
std::set < int > & Get_temperature(void) { return(this->binList.Get_temperature().Get_numbers()); };
|
|
std::set < int > & Get_pressure(void) { return(this->binList.Get_pressure().Get_numbers()); };
|
|
bool Get_on(void) { return this->on; };
|
|
void Set_on(bool tf) { this->on = tf; };
|
|
|
|
StorageBinList & Get_StorageBinList(void) { return this->binList; };
|
|
const StorageBinList & Get_StorageBinList(void)const { return this->binList; };
|
|
void Set_StorageBinList(StorageBinList sbl) { this->binList = sbl; };
|
|
protected:
|
|
std::string file_name;
|
|
bool append;
|
|
bool on;
|
|
StorageBinList binList;
|
|
const static std::vector < std::string > vopts;
|
|
};
|
|
|
|
#endif // !defined(DUMPER_H_INCLUDED)
|