roadrunner
2.6.0
Fast simulator for SBML models
rrIniKey.h
1
#ifndef rrIniKeyH
2
#define rrIniKeyH
3
#include <vector>
4
#include <fstream>
5
#include <string>
6
#include <complex>
7
#include "rrExporter.h"
8
#include "rrStringUtils.h"
9
#include "rrIniSection.h"
10
11
namespace
rr
12
{
13
20
class
RR_DECLSPEC IniKey
21
{
22
protected
:
23
void
SetupKey(
const
std::string& key);
24
25
public
:
26
std::string mKey;
27
std::string mValue;
28
std::string mComment;
29
30
IniKey(
const
std::string& key =
""
);
31
~IniKey(){}
32
void
ReKey(
const
std::string& key);
33
std::string AsString()
const
;
34
int
AsBool()
const
;
35
int
AsInt()
const
;
36
double
AsFloat()
const
;
37
std::complex<double> AsComplex()
const
;
38
friend
std::ostream& operator<<(std::ostream& stream,
const
IniKey& aKey);
39
};
41
}
42
43
#endif
Generated by
1.9.1