Concept checking class to validate that a template parameter is a model of the Field Value concept.
More...
#include <openvrml/field_value.h>
Public Member Functions |
void | constraints () |
| Validate that T is a model of the Field Value concept.
|
Detailed Description
template<typename T>
struct openvrml::FieldValueConcept< T >
Concept checking class to validate that a template parameter is a model of the Field Value concept.
A Field Value is a concrete type that inherits field_value
and holds a value for a field of a node.
- Refinement of
- Default Constructible, Copy Constructible, Assignable, Equality Comparable
- Associated types
-
- Notation
T | A type that is a model of Field Value |
v | A reference of type field_value & |
- Definitions
- Valid expressions
- In addition to the expressions defined in Assignable and EqualityComparable, the following expressions must be valid.
Name | Expression | Type requirements | Return type |
Downcast | static_cast<T &>(v) | | T & |
- Models
-
- Template Parameters
-
T | the type to validate against this concept. |
Member Function Documentation
Validate that T is a model of the Field Value concept.