42#include "EST_Option.h"
43#include "EST_util_class.h"
47# define __STRINGIZE(X) #X
48# define DATA __STRINGIZE(DATAC)
74 kvl.add_item(
"street",
"South Bbridge");
75 kvl.add_item(
"city",
"Edinburgh");
76 kvl.add_item(
"post code",
"EH1 1HN");
77 kvl.add_item(
"country",
"United Kingdom");
85 kvl.add_item(
"country",
"Scotland", 1);
90 kvl.change_val(
"country",
"Caledonia");
119 if (
kvl.present(
"state"))
128 for (p=
kvl.head(); p != 0; p=p->next())
134 kvl.change_val(p,
"Scotland");
138 kvl.change_key(p,
"Nation");
178 op.add_fitem(
"length", 39.78);
183 op.add_fitem(
"length", 39.78);
185 if (
al.present(
"-l"))
EST_read_status load(const EST_String &filename, const EST_String &comment=";")
float fval(const EST_String &rkey, int m=1) const
int override_fval(const EST_String rkey, const float rval)
add to end of list or overwrite. If rval is empty, do nothing
int ival(const EST_String &rkey, int m=1) const
const V & val(const K &rkey, bool m=0) const
return value according to key (const)