Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::FieldDefinition< T > Class Template Reference

Field definition implementation. Defines name, id and data type of a field. More...

#include <FieldDefinition.hpp>

Public Types

using value_type = T
 

Public Member Functions

constexpr const std::string & getFieldName () const noexcept
 
constexpr int getFieldID () const noexcept
 
template<FieldValueType U>
constexpr bool operator== (const FieldDefinition< U > &other) const noexcept
 

Friends

class FieldDefinitionTestFactory< T >
 
template<geometry::AnyGeometry G>
class VectorLayer
 

Detailed Description

template<FieldValueType T>
class fishnet::FieldDefinition< T >

Field definition implementation. Defines name, id and data type of a field.

Note
constructors are private, only accessible by friends
Template Parameters
Tfield value type

Member Typedef Documentation

◆ value_type

template<FieldValueType T>
using fishnet::FieldDefinition< T >::value_type = T

Member Function Documentation

◆ getFieldID()

template<FieldValueType T>
constexpr int fishnet::FieldDefinition< T >::getFieldID ( ) const
inlineconstexprnoexcept

◆ getFieldName()

template<FieldValueType T>
constexpr const std::string & fishnet::FieldDefinition< T >::getFieldName ( ) const
inlineconstexprnoexcept

◆ operator==()

template<FieldValueType T>
template<FieldValueType U>
constexpr bool fishnet::FieldDefinition< T >::operator== ( const FieldDefinition< U > &  other) const
inlineconstexprnoexcept

Friends And Related Symbol Documentation

◆ FieldDefinitionTestFactory< T >

template<FieldValueType T>
friend class FieldDefinitionTestFactory< T >
friend

◆ VectorLayer

template<FieldValueType T>
template<geometry::AnyGeometry G>
friend class VectorLayer
friend

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