ArcGIS Procedural Runtime  3.2.10650
Object.h
1 /*
2  COPYRIGHT (c) 2012-2024 Esri R&D Center Zurich
3  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
4  Unpublished material - all rights reserved under the
5  Copyright Laws of the United States and applicable international
6  laws, treaties, and conventions.
7 
8  For additional information, contact:
9  Environmental Systems Research Institute, Inc.
10  Attn: Contracts and Legal Services Department
11  380 New York Street
12  Redlands, California, 92373
13  USA
14 
15  email: contracts@esri.com
16 */
17 
18 #ifndef PRT_OBJECT_H
19 #define PRT_OBJECT_H
20 
21 #include "prt/prt.h"
22 #include "prt/Status.h"
23 
24 #include <cstddef>
25 
26 
27 namespace prt {
28 
29 
35 class PRT_EXPORTS_API Object {
36 public:
40  void destroy() const;
41 
55  virtual char* toXML(char* result, size_t* resultSize, Status* stat = 0) const = 0;
56 
68  char* toXMLDocument(char* result, size_t* resultSize, Status* stat = 0) const;
69 
70 protected:
71  Object() { }
72  Object(const Object&) { }
73  virtual ~Object() { }
74 };
75 
76 
77 } /* namespace prt */
78 
79 
80 #endif /* PRT_OBJECT_H */
Definition: Object.h:35
Status
Definition: Status.h:31
The Procedural Runtime API namespace. The prt namespace contains the top level entry points into the ...
Definition: Annotation.h:24