0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Enumerations | Functions
SystemVariable.h File Reference

Declarations for SystemVariable. More...

#include <Common/Serializable.h>
#include <Common/String.h>
#include <vector>
Include dependency graph for SystemVariable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Hypertable::SystemVariable::Spec
 Holds a variable code and boolean value. More...
 

Namespaces

 Hypertable
 Hypertable definitions
 
 Hypertable::SystemVariable
 

Enumerations

enum  Hypertable::SystemVariable::Code { Hypertable::SystemVariable::READONLY = 0, Hypertable::SystemVariable::COUNT = 1 }
 Enumeration for variable codes. More...
 

Functions

const char * Hypertable::SystemVariable::code_to_string (int var_code)
 Converts variable code to variable string. More...
 
int Hypertable::SystemVariable::string_to_code (const std::string &var_string)
 Converts variable string to variable code. More...
 
bool Hypertable::SystemVariable::default_value (int var_code)
 Returns default value for given variable. More...
 
std::string Hypertable::SystemVariable::specs_to_string (const std::vector< Spec > &specs)
 Returns a textual representation of variable specifications. More...
 
size_t Hypertable::SystemVariable::encoded_length_specs (const std::vector< Spec > &specs)
 Returns encoded length of variable specs vector. More...
 
void Hypertable::SystemVariable::encode_specs (const std::vector< Spec > &specs, uint8_t **bufp)
 Encodes a vector of variable specs. More...
 
void Hypertable::SystemVariable::decode_specs (std::vector< Spec > &specs, const uint8_t **bufp, size_t *remainp)
 Decodes a vector of variable specs. More...
 

Detailed Description

Declarations for SystemVariable.

This file contains the namespace SystemVariable which includes an enum and conversion functions for representing system variables.

Definition in file SystemVariable.h.