mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
equilibrium_phases_read_raw has duplicate lines. git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@3724 1feff8c3-07ed-0310-ac33-dd36852eb9cd
56 lines
1.8 KiB
C++
56 lines
1.8 KiB
C++
#if !defined(STORAGEBINLIST_H_INCLUDED)
|
|
#define STORAGEBINLIST_H_INCLUDED
|
|
#include <set> // std::set
|
|
#include <string> // std::string
|
|
#include <list> // std::list
|
|
#include <vector> // std::vector
|
|
#include "Parser.h"
|
|
class StorageBinListItem
|
|
{
|
|
public:
|
|
StorageBinListItem(void);
|
|
~StorageBinListItem(void);
|
|
void Set_defined(bool tf) { this->defined = tf; };
|
|
bool Get_defined(void) { return(this->defined); };
|
|
void Augment(std::string token);
|
|
std::set < int > &Get_numbers(void) { return(this->numbers); };
|
|
void Clear(void) { this->numbers.clear(); };
|
|
protected:
|
|
std::set < int > numbers;
|
|
bool defined;
|
|
};
|
|
class StorageBinList
|
|
{
|
|
public:
|
|
StorageBinList(void);
|
|
StorageBinList(CParser & parser);
|
|
~StorageBinList(void);
|
|
bool Read(CParser & parser);
|
|
void SetAll(bool tf);
|
|
|
|
StorageBinListItem & Get_solution(void) { return(this->solution); };
|
|
StorageBinListItem & Get_pp_assemblage(void) { return(this->pp_assemblage); };
|
|
StorageBinListItem & Get_exchange(void) { return(this->exchange); };
|
|
StorageBinListItem & Get_surface(void) { return(this->surface); };
|
|
StorageBinListItem & Get_s_s_assemblage(void) { return(this->s_s_assemblage); };
|
|
StorageBinListItem & Get_gas_phase(void) { return(this->gas_phase); };
|
|
StorageBinListItem & Get_kinetics(void) { return(this->kinetics); };
|
|
StorageBinListItem & Get_mix(void) { return(this->mix); };
|
|
StorageBinListItem & Get_reaction(void) { return(this->reaction); };
|
|
StorageBinListItem & Get_temperature(void) { return(this->temperature); };
|
|
protected:
|
|
StorageBinListItem solution;
|
|
StorageBinListItem pp_assemblage;
|
|
StorageBinListItem exchange;
|
|
StorageBinListItem surface;
|
|
StorageBinListItem s_s_assemblage;
|
|
StorageBinListItem gas_phase;
|
|
StorageBinListItem kinetics;
|
|
StorageBinListItem mix;
|
|
StorageBinListItem reaction;
|
|
StorageBinListItem temperature;
|
|
};
|
|
|
|
|
|
#endif // !defined(STORAGEBINLIST_H_INCLUDED)
|