BSDL Device Tree Compiler
|
Public Member Functions | |
property_size_checker (const char *name, string property_name, uint32_t bytes) | |
virtual bool | check (device_tree *tree, node *n, property *p) |
![]() | |
virtual bool | check_property (device_tree *tree, node *n, property *p) |
property_checker (const char *name, string property_name) | |
![]() | |
checker (const char *name) | |
virtual bool | check_node (device_tree *tree, node *n) |
bool | check_tree (fdt::device_tree *tree) |
Public Attributes | |
uint32_t | size |
Additional Inherited Members | |
![]() | |
void | report_error (const char *errmsg) |
Check that a property has the correct size.
|
inline |
Constructor, takes the name of the checker, the name of the property to check, and its expected size as arguments.
|
inlinevirtual |
Check, validates that the property has the correct size.
Implements dtc::fdt::checking::property_checker.
uint32_t dtc::fdt::checking::property_size_checker::size |
The expected size of the property.