Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::IFieldDefinition Concept Reference

Defines an Interface for FieldDefinitions, which can be used as generic parameter. More...

#include <FieldDefinition.hpp>

Concept definition

template<class T>
concept fishnet::IFieldDefinition = FieldValueType<typename T::value_type> && std::equality_comparable<T> && requires(const T & fieldDef){
typename T::value_type;
{fieldDef.getFieldName()} -> std::convertible_to<std::string_view>;
{fieldDef.getFieldID()} -> std::integral;
}
Definition FieldType.hpp:10
Defines an Interface for FieldDefinitions, which can be used as generic parameter.
Definition FieldDefinition.hpp:30

Detailed Description

Defines an Interface for FieldDefinitions, which can be used as generic parameter.

Template Parameters
Tfield value type