OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HitTestTypes Struct Reference

#include <HitTestTypes.h>

Static Public Member Functions

static constexpr int max_num_rowids ()
 
static std::regex get_rowid_regex ()
 

Detailed Description

Definition at line 21 of file HitTestTypes.h.

Member Function Documentation

static std::regex HitTestTypes::get_rowid_regex ( )
inlinestatic

Definition at line 23 of file HitTestTypes.h.

References max_num_rowids(), and to_string().

23  {
24  static_assert(max_num_rowids() < 10, "rowid regex only supports < 10 rowids");
25  return std::regex("^rowid([0-" + std::to_string(max_num_rowids() - 2) + "])?$");
26  }
static constexpr int max_num_rowids()
Definition: HitTestTypes.h:22
std::string to_string(char const *&&v)

+ Here is the call graph for this function:

static constexpr int HitTestTypes::max_num_rowids ( )
inlinestatic

Definition at line 22 of file HitTestTypes.h.

Referenced by get_rowid_regex().

22 { return 3; }

+ Here is the caller graph for this function:


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