Implementation of the CMSProperties interface that delegates to a decaf::util::Properties object.
More...
#include <src/main/activemq/util/ActiveMQProperties.h>
Implementation of the CMSProperties interface that delegates to a decaf::util::Properties object.
- Since
- 2.0
◆ ActiveMQProperties()
| activemq::util::ActiveMQProperties::ActiveMQProperties |
( |
| ) |
|
◆ ~ActiveMQProperties()
| virtual activemq::util::ActiveMQProperties::~ActiveMQProperties |
( |
| ) |
|
|
virtual |
◆ clear()
| virtual void activemq::util::ActiveMQProperties::clear |
( |
| ) |
|
|
inlinevirtual |
◆ clone()
| virtual CMSProperties* activemq::util::ActiveMQProperties::clone |
( |
| ) |
const |
|
virtual |
◆ copy()
| virtual void activemq::util::ActiveMQProperties::copy |
( |
const CMSProperties * |
source | ) |
|
|
virtual |
◆ getProperties() [1/2]
◆ getProperties() [2/2]
◆ getProperty() [1/2]
| virtual const char* activemq::util::ActiveMQProperties::getProperty |
( |
const std::string & |
name | ) |
const |
|
inlinevirtual |
Looks up the value for the given property.
- Parameters
-
| name | The name of the property to be looked up. |
- Returns
- the value of the property with the given name, if it exists. If it does not exist, returns NULL.
Implements cms::CMSProperties.
References decaf::util::Properties::getProperty().
◆ getProperty() [2/2]
| virtual std::string activemq::util::ActiveMQProperties::getProperty |
( |
const std::string & |
name, |
|
|
const std::string & |
defaultValue |
|
) |
| const |
|
inlinevirtual |
Looks up the value for the given property.
- Parameters
-
| name | the name of the property to be looked up. |
| defaultValue | The value to be returned if the given property does not exist. |
- Returns
- The value of the property specified by
name, if it exists, otherwise the defaultValue.
Implements cms::CMSProperties.
References decaf::util::Properties::getProperty().
◆ hasProperty()
| virtual bool activemq::util::ActiveMQProperties::hasProperty |
( |
const std::string & |
name | ) |
const |
|
inlinevirtual |
◆ isEmpty()
| virtual bool activemq::util::ActiveMQProperties::isEmpty |
( |
| ) |
const |
|
inlinevirtual |
◆ propertyNames()
| virtual std::vector<std::string> activemq::util::ActiveMQProperties::propertyNames |
( |
| ) |
const |
|
inlinevirtual |
◆ remove()
| virtual std::string activemq::util::ActiveMQProperties::remove |
( |
const std::string & |
name | ) |
|
|
inlinevirtual |
Removes the property with the given name.
If the property existed in the collection then it is removed and returned, otherwise an empty string is returned.
- Parameters
-
| name | the name of the property to be removed. |
- Returns
- the value that was removed from the Properties, or empty string.
Implements cms::CMSProperties.
References decaf::util::Properties::remove().
◆ setProperties()
◆ setProperty()
| virtual void activemq::util::ActiveMQProperties::setProperty |
( |
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
|
inlinevirtual |
◆ size()
| virtual int activemq::util::ActiveMQProperties::size |
( |
| ) |
const |
|
inlinevirtual |
◆ toArray()
| virtual std::vector<std::pair<std::string, std::string> > activemq::util::ActiveMQProperties::toArray |
( |
| ) |
const |
|
inlinevirtual |
◆ toString()
| virtual std::string activemq::util::ActiveMQProperties::toString |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: