CPP Device Virtualization API Reference for Oracle Internet of Things Cloud Service Client Software Library. Release 21.1.1.0.0-3. E92477-09
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
ExternalObject.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
3  *
4  * This software is dual-licensed to you under the MIT License (MIT) and
5  * the Universal Permissive License (UPL). See the LICENSE file in the root
6  * directory for license terms. You may choose either license, or both.
7  */
8 
9 #pragma once
10 
11 #include <string>
12 #include "iotcs_storage_object.h"
13 
20 namespace iotdcl {
22  public:
26  virtual ~ExternalObject();
27 
32  ExternalObject(const std::string& uri);
33 
38  virtual const std::string& getURI() const;
39  protected:
40  ExternalObject() {};
41  std::string *uri;
42  iotcs_storage_object_handle storage_object_handle;
43  };
44 };
virtual const std::string & getURI() const
Get the URI value.
virtual ~ExternalObject()
Destructor.
Definition: ExternalObject.hpp:21