Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET
Apache Qpid Documentation
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
qmf
SchemaMethod.h
Go to the documentation of this file.
1
#ifndef QMF_SCHEMA_METHOD_H
2
#define QMF_SCHEMA_METHOD_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
24
#include "
qmf/ImportExport.h
"
25
#include "
qpid/sys/IntegerTypes.h
"
26
#include "
qmf/Handle.h
"
27
#include "
qmf/SchemaTypes.h
"
28
#include <string>
29
30
namespace
qmf {
31
32
#ifndef SWIG
33
template
<
class
>
class
PrivateImplRef;
34
#endif
35
36
class
SchemaMethodImpl;
37
class
SchemaProperty;
38
39
class
QMF_CLASS_EXTERN
SchemaMethod
:
public
qmf::Handle
<SchemaMethodImpl> {
40
public
:
41
QMF_EXTERN
SchemaMethod
(SchemaMethodImpl* impl = 0);
42
QMF_EXTERN
SchemaMethod(
const
SchemaMethod&);
43
QMF_EXTERN
SchemaMethod& operator=(
const
SchemaMethod&);
44
QMF_EXTERN
~SchemaMethod();
45
46
QMF_EXTERN
SchemaMethod(
const
std::string&,
const
std::string& o=
""
);
47
48
QMF_EXTERN
void
setDesc(
const
std::string&);
49
QMF_EXTERN
void
addArgument(
const
SchemaProperty
&);
50
51
QMF_EXTERN
const
std::string& getName()
const
;
52
QMF_EXTERN
const
std::string& getDesc()
const
;
53
QMF_EXTERN
uint32_t
getArgumentCount()
const
;
54
QMF_EXTERN
SchemaProperty
getArgument(
uint32_t
)
const
;
55
56
#ifndef SWIG
57
private
:
58
friend
class
qmf::PrivateImplRef<SchemaMethod>;
59
friend
struct
SchemaMethodImplAccess;
60
#endif
61
};
62
63
}
64
65
#endif
Qpid C++ API Reference
Generated on Mon Feb 11 2013 for Qpid C++ Client API by
1.8.1.1