SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
validator.hpp File Reference

File containing the primary RelationValidator template, plus the fold that runs one validator per declared relation. More...

Include dependency graph for validator.hpp:
This graph shows which files directly or indirectly include this file:

Classes

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. More...
 

Namespaces

namespace  serif
 
namespace  serif::discretization
 
namespace  serif::discretization::domain
 
namespace  serif::discretization::domain::schema
 
namespace  serif::discretization::domain::schema::validation
 

Detailed Description

File containing the primary RelationValidator template, plus the fold that runs one validator per declared relation.

Author
Emily M. Boudreaux
Note
Every relation kind is validated by an explicit specialization of RelationValidator, and those specializations live in sibling headers (inscribed.hpp, connected.hpp, boundary.hpp). Under headers, instantiating SchemaRelationValidator in a translation unit that has not yet seen all of those specializations is ill-formed with no diagnostic required. That is why validate_schema lives in all.hpp, which includes this header and every specialization. Include all.hpp, not this header, to validate a mesh.