mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
Fixed warnings and errors in Unix. Updated Makefile for class only versions. git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/branches/ErrorHandling@5728 1feff8c3-07ed-0310-ac33-dd36852eb9cd
47 lines
901 B
C++
47 lines
901 B
C++
#if !defined(CHARTHANDLER_H_INCLUDED)
|
|
#define CHARTHANDLER_H_INCLUDED
|
|
#if defined MULTICHART
|
|
#include <vector>
|
|
#include <map>
|
|
#include <string>
|
|
#include "Parser.h"
|
|
#include "ChartObject.h"
|
|
#include "PHRQ_base.h"
|
|
#include "Phreeqc_class.h"
|
|
|
|
class ChartHandler: public PHRQ_base
|
|
{
|
|
|
|
public:
|
|
ChartHandler(PHRQ_io *io = NULL);
|
|
~ChartHandler();
|
|
|
|
size_t Get_chart_count()
|
|
{
|
|
return this->chart_map.size();
|
|
}
|
|
ChartObject * Get_current_chart()
|
|
{
|
|
return this->current_chart;
|
|
}
|
|
bool Get_timer()
|
|
{
|
|
return timer;
|
|
}
|
|
bool Read(PHREEQC_PTR_ARG_COMMA CParser &parser);
|
|
void Punch_user_graph(PHREEQC_PTR_ARG);
|
|
bool End_timer();
|
|
bool dump(std::ostream & oss, unsigned int indent);
|
|
protected:
|
|
std::map<int, ChartObject *> chart_map;
|
|
int current_chart_n_user;
|
|
ChartObject * current_chart;
|
|
bool u_g_defined;
|
|
bool timer;
|
|
|
|
public:
|
|
|
|
};
|
|
#endif // MULTICHART
|
|
#endif // !defined(CHARTHANDLER_H_INCLUDED)
|