7 #ifndef CLIENT_CLASS_DEF_PARSER_H 8 #define CLIENT_CLASS_DEF_PARSER_H 110 bool append_error_position =
true,
111 bool check_dependencies =
true);
123 const uint16_t family);
137 virtual boost::shared_ptr<OptionDataListParser>
138 createOptionDataListParser(
const uint16_t address_family,
169 bool check_dependencies =
true);
175 #endif // CLIENT_CLASS_DEF_PARSER_H Parser for a single client class definition.
void parse(ExpressionPtr &expression, isc::data::ConstElementPtr expression_cfg, uint16_t family, isc::eval::EvalContext::CheckDefined check_defined=isc::eval::EvalContext::acceptAll, isc::eval::EvalContext::ParserType parser_type=isc::eval::EvalContext::PARSER_BOOL)
Parses an expression configuration element into an Expression.
virtual ~ClientClassDefParser()
Virtual destructor.
boost::shared_ptr< CfgOptionDef > CfgOptionDefPtr
Non-const pointer.
expression is expected to evaluate to bool
Parser for a logical expression.
boost::shared_ptr< ClientClassDictionary > ClientClassDictionaryPtr
Defines a pointer to a ClientClassDictionary.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-lfc.
ParserType
Specifies what type of expression the parser is expected to see.
boost::shared_ptr< ClientClassDefParser > ClientClassDefParserPtr
Defines a pointer to a ClientClassDefParser.
std::function< bool(const ClientClass &)> CheckDefined
Type of the check defined function.
Defines classes for storing client class definitions.
Parser for a list of client class definitions.
boost::shared_ptr< Expression > ExpressionPtr
static bool acceptAll(const ClientClass &client_class)
Accept all client class names.