proxygen
StructuredHeadersConstants.h File Reference
#include <unordered_map>
#include <map>
#include <boost/variant.hpp>

Go to the source code of this file.

Classes

class  proxygen::StructuredHeaders::StructuredHeaderItem
 
struct  proxygen::StructuredHeaders::ParameterisedIdentifier
 

Namespaces

 proxygen
 
 proxygen::StructuredHeaders
 

Typedefs

using proxygen::StructuredHeaders::ParameterisedList = std::vector< StructuredHeaders::ParameterisedIdentifier >
 
using proxygen::StructuredHeaders::Dictionary = std::unordered_map< std::string, StructuredHeaderItem >
 

Enumerations

enum  proxygen::StructuredHeaders::DecodeError : uint8_t {
  proxygen::StructuredHeaders::DecodeError::OK = 0, proxygen::StructuredHeaders::DecodeError::VALUE_TOO_LONG = 1, proxygen::StructuredHeaders::DecodeError::INVALID_CHARACTER = 2, proxygen::StructuredHeaders::DecodeError::UNDECODEABLE_BINARY_CONTENT = 3,
  proxygen::StructuredHeaders::DecodeError::UNEXPECTED_END_OF_BUFFER = 4, proxygen::StructuredHeaders::DecodeError::UNPARSEABLE_NUMERIC_TYPE = 5, proxygen::StructuredHeaders::DecodeError::DUPLICATE_KEY = 6
}
 
enum  proxygen::StructuredHeaders::EncodeError : uint8_t {
  proxygen::StructuredHeaders::EncodeError::OK = 0, proxygen::StructuredHeaders::EncodeError::EMPTY_DATA_STRUCTURE = 1, proxygen::StructuredHeaders::EncodeError::BAD_IDENTIFIER = 2, proxygen::StructuredHeaders::EncodeError::BAD_STRING = 3,
  proxygen::StructuredHeaders::EncodeError::ITEM_TYPE_MISMATCH = 4, proxygen::StructuredHeaders::EncodeError::ENCODING_NULL_ITEM = 5
}
 

Variables

static const int proxygen::StructuredHeaders::kMaxValidIntegerLength = 19
 
static const int proxygen::StructuredHeaders::kMaxValidFloatLength = 16
 
static const std::map< DecodeError, std::stringproxygen::StructuredHeaders::decodeErrorDescription
 
static const std::map< EncodeError, std::stringproxygen::StructuredHeaders::encodeErrorDescription