SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::domain::schema::validation::SchemaRelationValidator< SchemaT, relation::lists::RelationList< RelationTs... > > Struct Template Reference

Fold that runs one validator per declared relation in a schema. This specialization is for a RelationList of arbitrary length. More...

#include <validator.hpp>

Static Public Member Functions

static SchemaValidationResult validate (const mesh::MeshTopology &topology)
 Validate a mesh against a schema, running one validator per declared relation in the schema.
 

Detailed Description

template<IsSchema SchemaT, IsRelation... RelationTs>
struct serif::discretization::domain::schema::validation::SchemaRelationValidator< SchemaT, relation::lists::RelationList< RelationTs... > >

Fold that runs one validator per declared relation in a schema. This specialization is for a RelationList of arbitrary length.

Template Parameters
SchemaTThe schema type to validate.
RelationTsThe list of relations to validate.

Member Function Documentation

◆ validate()

template<IsSchema SchemaT, IsRelation... RelationTs>
static SchemaValidationResult serif::discretization::domain::schema::validation::SchemaRelationValidator< SchemaT, relation::lists::RelationList< RelationTs... > >::validate ( const mesh::MeshTopology & topology)
inlinestaticnodiscard

Validate a mesh against a schema, running one validator per declared relation in the schema.

Parameters
topologyThe mesh topology to validate against the schema.
Returns
The result of validating the schema against the mesh topology.

The documentation for this struct was generated from the following file: