GEOSX
Static Public Member Functions | List of all members
geos::TypeRegex< T, ENABLE > Struct Template Reference

Extension point for custom types to provide a validation regexp to schema. Do not use directly to obtain a type regex, rtTypes::getTypeRegex< T >() should be used instead. More...

#include <DataTypes.hpp>

Static Public Member Functions

static Regex get ()
 Get the type's regex (default implementation returns nothing). More...
 

Detailed Description

template<typename T, typename ENABLE = void>
struct geos::TypeRegex< T, ENABLE >

Extension point for custom types to provide a validation regexp to schema. Do not use directly to obtain a type regex, rtTypes::getTypeRegex< T >() should be used instead.

Template Parameters
Tthe type for which the regex is defined
ENABLEused to conditionally enable partial specializations

Specializations should define the following method:

static string get();

Definition at line 545 of file DataTypes.hpp.

Member Function Documentation

◆ get()

template<typename T , typename ENABLE = void>
static Regex geos::TypeRegex< T, ENABLE >::get ( )
inlinestatic

Get the type's regex (default implementation returns nothing).

Returns
The Regex associated with T.

Definition at line 551 of file DataTypes.hpp.


The documentation for this struct was generated from the following file:
geos::TypeRegex::get
static Regex get()
Get the type's regex (default implementation returns nothing).
Definition: DataTypes.hpp:551