taco-db  0.1.0
Namespaces | Macros | Functions
idxtyps.h File Reference
#include "tdb.h"

Go to the source code of this file.

Namespaces

 taco
 

Macros

#define IDXTYP_INVALID   0
 
#define IDXTYP_VOLATILETREE   1
 
#define IDXTYP_BTREE   2
 
#define NUM_IDXTYPS   2
 
#define IDXTYP(indextype)   ((IdxType) CONCAT(IDXTYP_, indextype))
 

Functions

static constexpr bool taco::IdxTypeIsValid (IdxType idxtyp)
 
absl::string_view taco::IdxTypeGetName (IdxType idx)
 
bool taco::IdxTypeIsVolatile (IdxType idx)
 
bool taco::IdxTypeNeedsEqualOperator (IdxType idx)
 
bool taco::IdxTypeNeedsLessOperator (IdxType idx)
 

Macro Definition Documentation

◆ IDXTYP

#define IDXTYP (   indextype)    ((IdxType) CONCAT(IDXTYP_, indextype))

◆ IDXTYP_BTREE

#define IDXTYP_BTREE   2

◆ IDXTYP_INVALID

#define IDXTYP_INVALID   0

◆ IDXTYP_VOLATILETREE

#define IDXTYP_VOLATILETREE   1

◆ NUM_IDXTYPS

#define NUM_IDXTYPS   2