}
}
+ virtual ~OCHeaderOption(){}
+
+ OCHeaderOption(const OCHeaderOption&) = default;
+
+ OCHeaderOption(OCHeaderOption&&) = default;
+
+ OCHeaderOption& operator=(const OCHeaderOption&) = default;
+
+ OCHeaderOption& operator=(OCHeaderOption&&) = default;
+
/**
* API to get Option ID
* @return unsigned integer option ID
class OCRepresentation
{
public:
- OCRepresentation();
+ OCRepresentation(): m_interfaceType(InterfaceType::None){}
+
+ OCRepresentation(OCRepresentation&&) = default;
+
+ OCRepresentation(const OCRepresentation&) = default;
+
+ OCRepresentation& operator=(const OCRepresentation&) = default;
+
+ OCRepresentation& operator=(OCRepresentation&&) = default;
+
+ virtual ~OCRepresentation(){}
+
std::string getJSONRepresentation() const;
void addChild(const OCRepresentation&);
friend class ListenOCContainer;
public:
typedef std::shared_ptr<OCResource> Ptr;
+
+ OCResource(OCResource&&) = default;
+ OCResource& operator=(OCResource&&) = default;
+
/**
* Virtual destructor
*/
{
}
+ OCResourceRequest(OCResourceRequest&&) = default;
+ OCResourceRequest& operator=(OCResourceRequest&&) = default;
/**
* Virtual destructor
*/
{
}
+ OCResourceResponse(OCResourceResponse&&) = default;
+ OCResourceResponse& operator=(OCResourceResponse&&) = default;
virtual ~OCResourceResponse(void) {}
/**
namespace OC
{
- OCRepresentation::OCRepresentation()
- :m_interfaceType(InterfaceType::None)
- { }
std::string OCRepresentation::getJSONRepresentation() const
{
if(empty())