iphreeqc/StorageBinList.h
David L Parkhurst 2b76f04a8b Cleaned up header files to remove unnecessary includes of .h files. Moved includes to source code where possible.
Moved some methods for .h to source files to avoid need for includes.

Debug and Release compile. 

Still need to get class version working. 

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@3868 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2009-12-07 19:49:38 +00:00

59 lines
1.9 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
class CParser;
class StorageBinListItem
{
public:
StorageBinListItem(void);
StorageBinListItem(CParser & parser);
~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)