1 #ifndef QPID_MESSAGING_ADDRESS_H 2 #define QPID_MESSAGING_ADDRESS_H 24 #include "qpid/messaging/ImportExport.h" 26 #include "qpid/messaging/exceptions.h" 27 #include "qpid/types/Variant.h" 125 QPID_MESSAGING_EXTERN
Address();
126 QPID_MESSAGING_EXTERN Address(
const std::string& address);
127 QPID_MESSAGING_EXTERN Address(
const std::string& name,
const std::string& subject,
128 const qpid::types::Variant::Map& options,
const std::string& type =
"");
129 QPID_MESSAGING_EXTERN Address(
const Address& address);
130 QPID_MESSAGING_EXTERN ~Address();
131 QPID_MESSAGING_EXTERN Address& operator=(
const Address&);
132 QPID_MESSAGING_EXTERN
const std::string& getName()
const;
133 QPID_MESSAGING_EXTERN
void setName(
const std::string&);
134 QPID_MESSAGING_EXTERN
const std::string& getSubject()
const;
135 QPID_MESSAGING_EXTERN
void setSubject(
const std::string&);
136 QPID_MESSAGING_EXTERN
const qpid::types::Variant::Map& getOptions()
const;
137 QPID_MESSAGING_EXTERN qpid::types::Variant::Map& getOptions();
138 QPID_MESSAGING_EXTERN
void setOptions(
const qpid::types::Variant::Map&);
140 QPID_MESSAGING_EXTERN std::string getType()
const;
149 QPID_MESSAGING_EXTERN
void setType(
const std::string&);
151 QPID_MESSAGING_EXTERN std::string str()
const;
152 QPID_MESSAGING_EXTERN
operator bool()
const;
153 QPID_MESSAGING_EXTERN
bool operator !()
const;
156 friend class AddressImpl;
160 QPID_MESSAGING_EXTERN std::ostream& operator<<(std::ostream& out,
const Address& address);
Definition: Address.h:122