BSDL Device Tree Compiler
|
Public Member Functions | |
virtual bool | check_property (device_tree *tree, node *n, property *p) |
property_checker (const char *name, string property_name) | |
virtual bool | check (device_tree *tree, node *n, property *p)=0 |
![]() | |
checker (const char *name) | |
virtual bool | check_node (device_tree *tree, node *n) |
bool | check_tree (fdt::device_tree *tree) |
Additional Inherited Members | |
![]() | |
void | report_error (const char *errmsg) |
Abstract base class for simple property checks. This class defines a check method for subclasses, which is invoked only when it finds a property with the matching name. To define simple property checkers, just subclass this and override the check() method.
|
inline |
Constructor. Takes the name of the checker and the name of the property to check.
|
pure virtual |
The check method, which subclasses should implement.
Implemented in dtc::fdt::checking::property_size_checker, dtc::fdt::checking::property_type_checker< property_value::PHANDLE >, dtc::fdt::checking::property_type_checker< property_value::STRING_LIST >, dtc::fdt::checking::property_type_checker< property_value::STRING >, dtc::fdt::checking::property_type_checker< property_value::EMPTY >, and dtc::fdt::checking::property_type_checker< T >.
|
inlinevirtual |
Implementation of the generic property-checking method that checks for a property with the name specified in the constructor
Reimplemented from dtc::fdt::checking::checker.