35 #ifndef __EST_FEATURED_H__ 36 #define __EST_FEATURED_H__ 69 int f_Int(
const char *name,
int def)
const 70 {
return p_features?p_features->
I(name, def):def; }
71 int f_Int(
const char *name)
const 72 {
return p_features?p_features->
I(name):0; }
73 int f_I(
const char *name,
int def)
const 74 {
return f_Int(name, def);}
75 int f_I(
const char *name)
const 83 float f_Float(
const char *name,
float def)
const 84 {
return p_features?p_features->
F(name, def):def; }
86 {
return p_features?p_features->
F(name):0.0; }
87 float f_F(
const char *name,
float def)
const 89 float f_F(
const char *name)
const 98 {
return p_features?p_features->
S(name, def):def; }
115 {
return f_Val(name, def);}
117 {
return f_Val(name);}
127 {
return p_features && p_features->
present(name); }
130 {
if (p_features) p_features->
remove(name); }
139 {
if (p_features) ip.
i.
begin(*p_features);}
143 {
return ip.
i != 0; }
void f_set_path(const EST_String name, float val)
void point_to_first(IPointer_feat &ip) const
void f_set_path(const EST_String name, EST_Val val)
EST_String f_S(const char *name) const
EST_Features::RwEntries i
const EST_Val & f_V(const char *name) const
void copy_features(const EST_Featured &f)
void f_set_path(const EST_String name, const char *val)
void set_val(const EST_String &name, const EST_Val &sval)
EST_TKVI< EST_String, EST_Val > & points_at(const IPointer_feat &ip)
EST_TRwStructIterator< EST_Featured, IPointer_feat, FeatEntry > RwFeatEntries
const EST_Val & f_V(const char *name, const EST_Val &def) const
const EST_Val & f_Val(const char *name, const EST_Val &def) const
void set(const EST_String &name, int ival)
EST_String f_S(const char *name, const EST_String &def) const
float f_Float(const char *name, float def) const
EST_TStructIterator< EST_Featured, IPointer_feat, FeatEntry > FeatEntries
void set_path(const EST_String &name, const EST_Val &sval)
int f_Int(const char *name) const
const EST_String S(const EST_String &path) const
void begin(Container &over)
Set the iterator ready to run over this container.
int f_present(const EST_String name) const
void f_set(const EST_String name, const char *val)
Templated Key-Value Item. Serves as the items in the list of the EST_TKVL class.
void ensure_features(void)
void f_remove(const EST_String name)
int f_I(const char *name, int def) const
void remove(const EST_String &name)
void f_set_path(const EST_String name, int val)
int f_I(const char *name) const
int present(const EST_String &name) const
void f_set(const EST_String name, float val)
float f_F(const char *name) const
int f_Int(const char *name, int def) const
void f_set(const EST_Features &f)
int I(const EST_String &path) const
float f_Float(const char *name) const
void f_set_val(const EST_String name, EST_Val val)
bool points_to_something(const IPointer_feat &ip) const
EST_String f_String(const char *name) const
void move_pointer_forwards(IPointer_feat &ip) const
EST_TKVI< EST_String, EST_Val > FeatEntry
EST_String f_String(const char *name, const EST_String &def) const
static const EST_String Empty
Constant empty string.
float F(const EST_String &path) const
void f_set(const EST_String name, int val)
float f_F(const char *name, float def) const