1 #ifndef _ots_TableGroupKey_h_
2 #define _ots_TableGroupKey_h_
19 unsigned int key(
void)
const;
20 bool isInvalid(
void)
const;
21 std::string toString(
void)
const;
25 bool operator==(
unsigned int key)
const;
27 bool operator!=(
unsigned int key)
const;
32 friend std::ostream& operator<<(std::ostream& out,
const TableGroupKey& key)
34 out << key.toString();
39 static std::string getFullGroupString(
const std::string& groupName,
const TableGroupKey& key);
40 static void getGroupNameAndKey(
const std::string& fullGroupString, std::string& groupName,
TableGroupKey& key);
41 static unsigned int getDefaultKey(
void);
42 static unsigned int getInvalidKey(
void);
45 static const unsigned int INVALID;
46 static const unsigned int DEFAULT;