Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
TypeCode.h
Go to the documentation of this file.
1 #ifndef QPID_FRAMING_TYPECODE_H
2 #define QPID_FRAMING_TYPECODE_H
3 /*
4  *
5  * Licensed to the Apache Software Foundation (ASF) under one
6  * or more contributor license agreements. See the NOTICE file
7  * distributed with this work for additional information
8  * regarding copyright ownership. The ASF licenses this file
9  * to you under the Apache License, Version 2.0 (the
10  * "License"); you may not use this file except in compliance
11  * with the License. You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing,
16  * software distributed under the License is distributed on an
17  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18  * KIND, either express or implied. See the License for the
19  * specific language governing permissions and limitations
20  * under the License.
21  *
22  */
23 
28 
29 
30 #include <iosfwd>
31 #include "qpid/sys/IntegerTypes.h"
32 
33 namespace qpid {
34 namespace framing {
35 
36 enum TypeCode {
69  TYPE_CODE_MAP = 0xa8,
79 };
80 
82 bool isTypeCode(uint8_t t);
83 
86 
88 const char* typeName(TypeCode t);
89 
90 std::ostream& operator<<(std::ostream&, TypeCode);
91 
92 
93 }} // namespace qpid::framing
94 
95 #endif
qpid::framing::TYPE_CODE_BIN64
@ TYPE_CODE_BIN64
Definition: TypeCode.h:50
qpid::framing::TYPE_CODE_BIN32
@ TYPE_CODE_BIN32
Definition: TypeCode.h:45
qpid::framing::TYPE_CODE_STR8
@ TYPE_CODE_STR8
Definition: TypeCode.h:62
qpid::framing::TYPE_CODE_BIN40
@ TYPE_CODE_BIN40
Definition: TypeCode.h:73
qpid::framing::TYPE_CODE_BIT
@ TYPE_CODE_BIT
Definition: TypeCode.h:78
qpid::framing::TYPE_CODE_STR8_LATIN
@ TYPE_CODE_STR8_LATIN
Definition: TypeCode.h:61
qpid::framing::TYPE_CODE_DATETIME
@ TYPE_CODE_DATETIME
Definition: TypeCode.h:54
qpid::framing::TYPE_CODE_STR16_UTF16
@ TYPE_CODE_STR16_UTF16
Definition: TypeCode.h:67
qpid::framing::TypeCode
TypeCode
Definition: TypeCode.h:36
qpid::framing::TYPE_CODE_DOUBLE
@ TYPE_CODE_DOUBLE
Definition: TypeCode.h:53
qpid::framing::TYPE_CODE_BIN256
@ TYPE_CODE_BIN256
Definition: TypeCode.h:57
qpid::framing::TYPE_CODE_BIN8
@ TYPE_CODE_BIN8
Definition: TypeCode.h:37
qpid::framing::TYPE_CODE_BIN16
@ TYPE_CODE_BIN16
Definition: TypeCode.h:42
qpid::framing::TYPE_CODE_INT32
@ TYPE_CODE_INT32
Definition: TypeCode.h:46
qpid::framing::TYPE_CODE_BOOLEAN
@ TYPE_CODE_BOOLEAN
Definition: TypeCode.h:41
qpid::framing::TYPE_CODE_VBIN32
@ TYPE_CODE_VBIN32
Definition: TypeCode.h:68
qpid::framing::TYPE_CODE_ARRAY
@ TYPE_CODE_ARRAY
Definition: TypeCode.h:71
qpid
This file was automatically generated from the AMQP specification.
Definition: arg.h:33
qpid::framing::typeName
const char * typeName(TypeCode t)
qpid::framing::TYPE_CODE_LIST
@ TYPE_CODE_LIST
Definition: TypeCode.h:70
qpid::framing::TYPE_CODE_INT64
@ TYPE_CODE_INT64
Definition: TypeCode.h:51
uint8_t
unsigned char uint8_t
Definition: IntegerTypes.h:30
qpid::framing::TYPE_CODE_DEC64
@ TYPE_CODE_DEC64
Definition: TypeCode.h:76
qpid::framing::TYPE_CODE_BIN128
@ TYPE_CODE_BIN128
Definition: TypeCode.h:55
qpid::framing::isTypeCode
bool isTypeCode(uint8_t t)
True if t is a valid TypeCode value.
qpid::framing::TYPE_CODE_UINT8
@ TYPE_CODE_UINT8
Definition: TypeCode.h:39
qpid::framing::typeCode
TypeCode typeCode(uint8_t)
Throw exception if not a valid TypeCode.
qpid::framing::TYPE_CODE_STRUCT32
@ TYPE_CODE_STRUCT32
Definition: TypeCode.h:72
qpid::framing::TYPE_CODE_INT8
@ TYPE_CODE_INT8
Definition: TypeCode.h:38
qpid::framing::TYPE_CODE_BIN1024
@ TYPE_CODE_BIN1024
Definition: TypeCode.h:59
qpid::framing::TYPE_CODE_DEC32
@ TYPE_CODE_DEC32
Definition: TypeCode.h:74
qpid::framing::operator<<
std::ostream & operator<<(std::ostream &, TypeCode)
IntegerTypes.h
qpid::framing::TYPE_CODE_UUID
@ TYPE_CODE_UUID
Definition: TypeCode.h:56
qpid::framing::TYPE_CODE_CHAR_UTF32
@ TYPE_CODE_CHAR_UTF32
Definition: TypeCode.h:49
qpid::framing::TYPE_CODE_STR16_LATIN
@ TYPE_CODE_STR16_LATIN
Definition: TypeCode.h:65
qpid::framing::TYPE_CODE_UINT32
@ TYPE_CODE_UINT32
Definition: TypeCode.h:47
qpid::framing::TYPE_CODE_UINT16
@ TYPE_CODE_UINT16
Definition: TypeCode.h:44
qpid::framing::TYPE_CODE_STR16
@ TYPE_CODE_STR16
Definition: TypeCode.h:66
qpid::framing::TYPE_CODE_INT16
@ TYPE_CODE_INT16
Definition: TypeCode.h:43
qpid::framing::TYPE_CODE_MAP
@ TYPE_CODE_MAP
Definition: TypeCode.h:69
qpid::framing::TYPE_CODE_STR8_UTF16
@ TYPE_CODE_STR8_UTF16
Definition: TypeCode.h:63
qpid::framing::TYPE_CODE_VBIN8
@ TYPE_CODE_VBIN8
Definition: TypeCode.h:60
qpid::framing::TYPE_CODE_UINT64
@ TYPE_CODE_UINT64
Definition: TypeCode.h:52
qpid::framing::TYPE_CODE_CHAR
@ TYPE_CODE_CHAR
Definition: TypeCode.h:40
qpid::framing::TYPE_CODE_BIN72
@ TYPE_CODE_BIN72
Definition: TypeCode.h:75
qpid::framing::TYPE_CODE_BIN512
@ TYPE_CODE_BIN512
Definition: TypeCode.h:58
qpid::framing::TYPE_CODE_VBIN16
@ TYPE_CODE_VBIN16
Definition: TypeCode.h:64
qpid::framing::TYPE_CODE_FLOAT
@ TYPE_CODE_FLOAT
Definition: TypeCode.h:48
qpid::framing::TYPE_CODE_VOID
@ TYPE_CODE_VOID
Definition: TypeCode.h:77

Qpid C++ API Reference
Generated on Sat Sep 11 2021 for Qpid C++ Client API by doxygen 1.8.17