The class will be exposed as a part of the api.
Change-Id: I18b641ab5cf2dcb070db5bd302ffedb331f887f0
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1500
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
class PrimitiveRequest
{
public:
- explicit PrimitiveRequest(const std::string& resourceUri) :
- m_resourceUri(resourceUri)
- {
- }
+ explicit PrimitiveRequest(const std::string& resourceUri);
PrimitiveRequest& operator=(PrimitiveRequest&) = delete;
- std::string getResourceUri() const
- {
- return m_resourceUri;
- }
+ std::string getResourceUri() const;
private:
std::string m_resourceUri;
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#include "PrimitiveRequest.h"
+#include <PrimitiveRequest.h>
+
+namespace OIC
+{
+ namespace Service
+ {
+
+ PrimitiveRequest::PrimitiveRequest(const std::string& resourceUri) :
+ m_resourceUri{ resourceUri }
+ {
+ }
+
+ std::string PrimitiveRequest::getResourceUri() const
+ {
+ return m_resourceUri;
+ }
+
+ }
+}