Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Codecs.h
Go to the documentation of this file.
1 #ifndef QPID_AMQP_0_10_CODECS_H
2 #define QPID_AMQP_0_10_CODECS_H
3 
4 /*
5  *
6  * Licensed to the Apache Software Foundation (ASF) under one
7  * or more contributor license agreements. See the NOTICE file
8  * distributed with this work for additional information
9  * regarding copyright ownership. The ASF licenses this file
10  * to you under the Apache License, Version 2.0 (the
11  * "License"); you may not use this file except in compliance
12  * with the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing,
17  * software distributed under the License is distributed on an
18  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19  * KIND, either express or implied. See the License for the
20  * specific language governing permissions and limitations
21  * under the License.
22  *
23  */
24 
26 #include "qpid/types/Variant.h"
27 
28 namespace qpid {
29 namespace framing {
30 class FieldTable;
31 }
32 namespace amqp_0_10 {
38 {
39  public:
41  static void QPID_COMMON_EXTERN encode(const ObjectType&, std::string&);
42  static void QPID_COMMON_EXTERN decode(const std::string&, ObjectType&);
43  static size_t QPID_COMMON_EXTERN encodedSize(const ObjectType&);
44  static const QPID_COMMON_EXTERN std::string contentType;
45  private:
46 };
47 
53 {
54  public:
56  static void QPID_COMMON_EXTERN encode(const ObjectType&, std::string&);
57  static void QPID_COMMON_EXTERN decode(const std::string&, ObjectType&);
58  static size_t QPID_COMMON_EXTERN encodedSize(const ObjectType&);
59  static const QPID_COMMON_EXTERN std::string contentType;
60  private:
61 };
62 
72 QPID_COMMON_EXTERN void translate(const qpid::types::Variant::Map& from, const std::string& efield, const qpid::types::Variant& evalue,
76 
77 }} // namespace qpid::amqp_0_10
78 
79 #endif

Qpid C++ API Reference
Generated on Tue Mar 5 2013 for Qpid C++ Client API by doxygen 1.8.1.1