7 #ifndef CLIENT_CLASS_DEF_PARSER_H
8 #define CLIENT_CLASS_DEF_PARSER_H
102 bool append_error_position =
true);
114 const uint16_t family);
147 #endif // CLIENT_CLASS_DEF_PARSER_H
Parser for a single client class definition.
ClientClassDictionaryPtr parse(isc::data::ConstElementPtr class_def_list, uint16_t family)
Parse configuration entries.
void parse(ClientClassDictionaryPtr &class_dictionary, isc::data::ConstElementPtr client_class_def, uint16_t family, bool append_error_position=true)
Parses an entry that describes 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)
Parses an expression configuration element into an Expression.
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-dhcp-ddns.
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
void checkParametersSupported(const isc::data::ConstElementPtr &class_def_cfg, const uint16_t family)
Iterates over class parameters and checks if they are supported.
static bool acceptAll(const ClientClass &client_class)
Accept all client class names.