#include "EST_Features.h"

Go to the source code of this file.
| enum | EST_feat_status { efs_ok =0, efs_not_set =1, efs_error =2 } |
| EST_Val | getVal (const EST_Features &f, const EST_String name, const EST_Val &def, EST_feat_status &status) |
| Return the value as an EST_Val. More... | |
| EST_String | getString (const EST_Features &f, const EST_String name, const EST_String &def, EST_feat_status &status) |
| Return the value as a string. More... | |
| float | getFloat (const EST_Features &f, const EST_String name, float def, EST_feat_status &status) |
| Return the values as a float. More... | |
| int | getInteger (const EST_Features &f, const EST_String name, int def, EST_feat_status &status) |
| Return the values as a float. More... | |
| enum EST_feat_status |
Safe feature access functions.
These functions are guaranteed to return a value even if there is an otherwise fatal error.What happened when we tried to look up a value.
| Enumerator | |
|---|---|
| efs_ok |
All OK, value returned. |
| efs_not_set |
No value for feature, default returned. |
| efs_error |
An error occurred and was caught. |
Definition at line 60 of file EST_features_aux.h.
| EST_Val getVal | ( | const EST_Features & | f, |
| const EST_String | name, | ||
| const EST_Val & | def, | ||
| EST_feat_status & | status | ||
| ) |
Return the value as an EST_Val.
| EST_String getString | ( | const EST_Features & | f, |
| const EST_String | name, | ||
| const EST_String & | def, | ||
| EST_feat_status & | status | ||
| ) |
Return the value as a string.
| float getFloat | ( | const EST_Features & | f, |
| const EST_String | name, | ||
| float | def, | ||
| EST_feat_status & | status | ||
| ) |
Return the values as a float.
| int getInteger | ( | const EST_Features & | f, |
| const EST_String | name, | ||
| int | def, | ||
| EST_feat_status & | status | ||
| ) |
Return the values as a float.