amqp_types.hpp
#ifndef PROTON_CODEC_AMQP_TYPES_HPP
#define PROTON_CODEC_AMQP_TYPES_HPP
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/
namespace proton {
namespace codec {
// XXX Consider prefixing these with amqp_ and dropping _type, now
// that they're in the codec namespace
typedef bool boolean_type;
typedef uint8_t ubyte_type;
typedef int8_t byte_type;
typedef uint16_t ushort_type;
typedef int16_t short_type;
typedef uint32_t uint_type;
typedef int32_t int_type;
typedef uint64_t ulong_type;
typedef int64_t long_type;
typedef wchar_t char_type;
typedef float float_type;
typedef double double_type;
typedef std::string string_type;
typedef proton::symbol symbol_type;
typedef proton::binary binary_type;
typedef proton::timestamp timestamp_type;
typedef proton::uuid uuid_type;
typedef proton::decimal32 decimal32_type;
typedef proton::decimal64 decimal64_type;
typedef proton::decimal128 decimal128_type;
} // codec
} // proton
#endif // PROTON_CODEC_AMQP_TYPES_HPP
proton::uuid
A 16-byte universally unique identifier.
Definition: uuid.hpp:34
proton::decimal64
64-bit decimal floating point.
Definition: decimal.hpp:51
proton::symbol
A std::string that represents the AMQP symbol type.
Definition: symbol.hpp:30
proton::binary
Arbitrary binary data.
Definition: binary.hpp:34
proton::decimal128
128-bit decimal floating point.
Definition: decimal.hpp:54
proton::decimal32
32-bit decimal floating point.
Definition: decimal.hpp:48
proton::timestamp
A 64-bit timestamp in milliseconds since the Unix epoch.
Definition: timestamp.hpp:30
proton
Type traits for mapping between AMQP and C++ types.
Definition: annotation_key.hpp:28