activemq-cpp-3.6.0
Main Page
Namespaces
Data Structures
Files
File List
Globals
CompositeData.h
Go to the documentation of this file.
1
/*
2
* Licensed to the Apache Software Foundation (ASF) under one or more
3
* contributor license agreements. See the NOTICE file distributed with
4
* this work for additional information regarding copyright ownership.
5
* The ASF licenses this file to You under the Apache License, Version 2.0
6
* (the "License"); you may not use this file except in compliance with
7
* the License. You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
18
#ifndef _ACTIVEMQ_UTIL_COMPOSITEDATA_H_
19
#define _ACTIVEMQ_UTIL_COMPOSITEDATA_H_
20
21
#include <
activemq/util/Config.h
>
22
#include <
decaf/util/Properties.h
>
23
#include <
decaf/util/LinkedList.h
>
24
#include <
decaf/net/URI.h
>
25
#include <
decaf/net/URISyntaxException.h
>
26
27
namespace
activemq {
28
namespace
util {
29
30
using
decaf::util::LinkedList
;
31
using
decaf::net::URI
;
32
using
decaf::util::Properties
;
33
39
class
AMQCPP_API
CompositeData
{
40
private
:
41
42
std::string host;
43
std::string scheme;
44
std::string path;
45
LinkedList<URI>
components;
46
Properties
parameters;
47
std::string fragment;
48
49
public
:
50
51
CompositeData
();
52
virtual
~
CompositeData
();
53
54
LinkedList<URI>
&
getComponents
() {
55
return
components;
56
}
57
const
LinkedList<URI>
&
getComponents
()
const
{
58
return
components;
59
}
60
61
void
setComponents
(
const
LinkedList<URI>
& components) {
62
this->components = components;
63
}
64
65
std::string
getFragment
()
const
{
66
return
fragment;
67
}
68
69
void
setFragment
(
const
std::string& fragment) {
70
this->fragment = fragment;
71
}
72
73
const
Properties
&
getParameters
()
const
{
74
return
parameters;
75
}
76
77
void
setParameters
(
const
Properties
& parameters) {
78
this->parameters = parameters;
79
}
80
81
std::string
getScheme
()
const
{
82
return
scheme;
83
}
84
85
void
setScheme
(
const
std::string& scheme) {
86
this->scheme = scheme;
87
}
88
89
std::string
getPath
()
const
{
90
return
path;
91
}
92
93
void
setPath
(
const
std::string& path) {
94
this->path = path;
95
}
96
97
std::string
getHost
()
const
{
98
return
host;
99
}
100
101
void
setHost
(
const
std::string& host) {
102
this->host = host;
103
}
104
108
URI
toURI()
const
;
109
110
};
111
112
}}
113
114
#endif
/* _ACTIVEMQ_UTIL_COMPOSITEDATA_H_ */
src
main
activemq
util
CompositeData.h
Generated on Mon Mar 4 2013 10:25:45 for activemq-cpp-3.6.0 by
1.8.1.2