MnaOpSchema
Namespace: MNALIB · Library: MNA Library
#include <mna/mna_op_schema.h>
class MNALIB::MnaOpSchema
Contract declaring an operation's expected inputs, outputs, and attributes.
Operation schema for graph validation.
Public Methods
validate(node, errors)
Validate that a node conforms to this schema.
Parameters:
-
node : const MnaNode & Node to validate.
-
errors : *QStringList ** Optional list of validation error messages.
Returns:
- bool — True if the node conforms to the schema.
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>