libdap++
Updated for version 3.8.2
|
#include <Keywords2.h>
Public Types | |
typedef string | keyword |
typedef string | keyword_value |
typedef set< keyword_value > | value_set_t |
Public Member Functions | |
virtual keyword_value | get_keyword_value (const keyword &kw) const |
virtual list< keyword > | get_keywords () const |
virtual bool | has_keyword (const keyword &kw) const |
virtual bool | is_known_keyword (const string &s) const |
Keywords () | |
virtual string | parse_keywords (const string &ce) |
virtual | ~Keywords () |
Manage keywords for libdap. These are passed in to the library using the constraint expression - in fact they are an extension of the CE and this class implements the parsing needed to remove them from the CE so that the ConstraintExpression evaluator can parse it (because the keywords are not identifiers in the DDS, they will cause a parse error.
Definition at line 49 of file Keywords2.h.
typedef string libdap::Keywords::keyword |
Definition at line 52 of file Keywords2.h.
typedef string libdap::Keywords::keyword_value |
Definition at line 53 of file Keywords2.h.
typedef set<keyword_value> libdap::Keywords::value_set_t |
Definition at line 54 of file Keywords2.h.
libdap::Keywords::Keywords | ( | ) |
Definition at line 42 of file Keywords2.cc.
|
virtual |
Definition at line 57 of file Keywords2.cc.
|
virtual |
Look at the parsed keywords for the value associated with a given keyword.
k |
Definition at line 160 of file Keywords2.cc.
|
virtual |
Get a list of the strings that make up the set of current keywords for this request.
Definition at line 133 of file Keywords2.cc.
|
virtual |
Lookup a keyword_kind and return true if it has been set for this request, otherwise return false.
kw | Keyword |
Definition at line 150 of file Keywords2.cc.
|
virtual |
Is the word one of the known keywords for this version of libdap?
s | As a string, including the value |
Definition at line 123 of file Keywords2.cc.
|
virtual |
Parse the constraint expression, removing all keywords. As a side effect, return the remaining CE.
ce |
Definition at line 173 of file Keywords2.cc.
References libdap::www2id().