Module Qpid::Proton::Codec
In: lib/codec/data.rb
lib/codec/mapping.rb

@private

Classes and Modules

Class Qpid::Proton::Codec::Data
Class Qpid::Proton::Codec::Mapping

Constants

DataError = ::TypeError
NULL = Mapping.new(Cproton::PN_NULL, "null", [NilClass])
BOOL = Mapping.new(Cproton::PN_BOOL, "bool", [TrueClass, FalseClass])
UBYTE = Mapping.new(Cproton::PN_UBYTE, "ubyte")
BYTE = Mapping.new(Cproton::PN_BYTE, "byte")
USHORT = Mapping.new(Cproton::PN_USHORT, "ushort")
SHORT = Mapping.new(Cproton::PN_SHORT, "short")
UINT = Mapping.new(Cproton::PN_UINT, "uint")
INT = Mapping.new(Cproton::PN_INT, "int")
CHAR = Mapping.new(Cproton::PN_CHAR, "char")
ULONG = Mapping.new(Cproton::PN_ULONG, "ulong")
LONG = Mapping.new(Cproton::PN_LONG, "long", [Integer])
TIMESTAMP = Mapping.new(Cproton::PN_TIMESTAMP, "timestamp", [Date, Time])
FLOAT = Mapping.new(Cproton::PN_FLOAT, "float")
DOUBLE = Mapping.new(Cproton::PN_DOUBLE, "double", [Float])
DECIMAL32 = Mapping.new(Cproton::PN_DECIMAL32, "decimal32")
DECIMAL64 = Mapping.new(Cproton::PN_DECIMAL64, "decimal64")
DECIMAL128 = Mapping.new(Cproton::PN_DECIMAL128, "decimal128")
UUID = Mapping.new(Cproton::PN_UUID, "uuid")
BINARY = Mapping.new(Cproton::PN_BINARY, "binary")
STRING = Mapping.new(Cproton::PN_STRING, "string", [::String, Types::UTFString, Types::BinaryString])
SYMBOL = Mapping.new(Cproton::PN_SYMBOL, "symbol", [::Symbol])
DESCRIBED = Mapping.new(Cproton::PN_DESCRIBED, "described", [Types::Described])
ARRAY = Mapping.new(Cproton::PN_ARRAY, "array", [Types::UniformArray])
LIST = Mapping.new(Cproton::PN_LIST, "list", [::Array])
MAP = Mapping.new(Cproton::PN_MAP, "map", [::Hash])

[Validate]