CCF
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tpcc::District Struct Reference

#include <tpcc_tables.h>

Classes

struct  Key
 

Public Member Functions

Key get_key ()
 

Public Attributes

int32_t id
 
int32_t w_id
 
float tax
 
float ytd
 
int32_t next_o_id
 
std::array< char, MAX_NAME+1 > name = {0}
 
std::array< char, Address::MAX_STREET+1 > street_1 = {0}
 
std::array< char, Address::MAX_STREET+1 > street_2 = {0}
 
std::array< char, Address::MAX_CITY+1 > city = {0}
 
std::array< char, Address::STATE+1 > state = {0}
 
std::array< char, Address::ZIP+1 > zip = {0}
 

Static Public Attributes

static constexpr float MIN_TAX = 0
 
static constexpr float MAX_TAX = 0.2000f
 
static constexpr float INITIAL_YTD = 30000.00
 
static const int INITIAL_NEXT_O_ID = 3001
 
static const int MIN_NAME = 6
 
static const int MAX_NAME = 10
 
static const int NUM_PER_WAREHOUSE = 10
 

Member Function Documentation

◆ get_key()

Key tpcc::District::get_key ( )
inline

Member Data Documentation

◆ city

std::array<char, Address::MAX_CITY + 1> tpcc::District::city = {0}

◆ id

int32_t tpcc::District::id

◆ INITIAL_NEXT_O_ID

const int tpcc::District::INITIAL_NEXT_O_ID = 3001
static

◆ INITIAL_YTD

constexpr float tpcc::District::INITIAL_YTD = 30000.00
staticconstexpr

◆ MAX_NAME

const int tpcc::District::MAX_NAME = 10
static

◆ MAX_TAX

constexpr float tpcc::District::MAX_TAX = 0.2000f
staticconstexpr

◆ MIN_NAME

const int tpcc::District::MIN_NAME = 6
static

◆ MIN_TAX

constexpr float tpcc::District::MIN_TAX = 0
staticconstexpr

◆ name

std::array<char, MAX_NAME + 1> tpcc::District::name = {0}

◆ next_o_id

int32_t tpcc::District::next_o_id

◆ NUM_PER_WAREHOUSE

const int tpcc::District::NUM_PER_WAREHOUSE = 10
static

◆ state

std::array<char, Address::STATE + 1> tpcc::District::state = {0}

◆ street_1

std::array<char, Address::MAX_STREET + 1> tpcc::District::street_1 = {0}

◆ street_2

std::array<char, Address::MAX_STREET + 1> tpcc::District::street_2 = {0}

◆ tax

float tpcc::District::tax

◆ w_id

int32_t tpcc::District::w_id

◆ ytd

float tpcc::District::ytd

◆ zip

std::array<char, Address::ZIP + 1> tpcc::District::zip = {0}

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