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

#include <tpcc_tables.h>

Classes

struct  Key
 

Public Member Functions

Key get_key ()
 

Public Attributes

int32_t id
 
float tax
 
float ytd
 
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_STREET+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 = 300000.00f
 
static const int MIN_NAME = 6
 
static const int MAX_NAME = 10
 
static const int MAX_WAREHOUSE_ID = 100
 

Member Function Documentation

◆ get_key()

Key tpcc::Warehouse::get_key ( )
inline

Member Data Documentation

◆ city

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

◆ id

int32_t tpcc::Warehouse::id

◆ INITIAL_YTD

constexpr float tpcc::Warehouse::INITIAL_YTD = 300000.00f
staticconstexpr

◆ MAX_NAME

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

◆ MAX_TAX

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

◆ MAX_WAREHOUSE_ID

const int tpcc::Warehouse::MAX_WAREHOUSE_ID = 100
static

◆ MIN_NAME

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

◆ MIN_TAX

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

◆ name

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

◆ state

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

◆ street_1

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

◆ street_2

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

◆ tax

float tpcc::Warehouse::tax

◆ ytd

float tpcc::Warehouse::ytd

◆ zip

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

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