ArcGIS Procedural Runtime  3.2.10650
Annotation.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_ANNOTATION_H_
19 #define PRT_ANNOTATION_H_
20 
21 #include "prt/prt.h"
22 #include "prt/Object.h"
23 
24 namespace prt {
25 
26 
40 };
41 
42 
43 class PRT_EXPORTS_API AnnotationArgument : public Object {
44 public:
45  virtual AnnotationArgumentType getType() const = 0;
46  virtual const wchar_t* getKey() const = 0;
47  virtual bool getBool() const = 0;
48  virtual double getFloat() const = 0;
49  virtual const wchar_t* getStr() const = 0;
50 
51 protected:
52  virtual ~AnnotationArgument() { }
53 };
54 
55 
56 class PRT_EXPORTS_API Annotation : public Object {
57 public:
58  virtual const wchar_t* getName() const = 0;
59  virtual size_t getNumArguments() const = 0;
60  virtual const AnnotationArgument* getArgument(size_t i) const = 0;
61 
62 protected:
63  virtual ~Annotation() { }
64 };
65 
66 
67 } // namespace prt
68 
69 
70 #endif /* PRT_ANNOTATION_H_ */
Boolean array type.
Definition: Annotation.h:37
Float type.
Definition: Annotation.h:33
Integer type.
Definition: Annotation.h:35
String array type.
Definition: Annotation.h:39
Definition: Annotation.h:43
Boolean type.
Definition: Annotation.h:32
AnnotationArgumentType
Definition: Annotation.h:30
Void type.
Definition: Annotation.h:31
Definition: Object.h:35
Definition: Annotation.h:56
Unknown type.
Definition: Annotation.h:36
String type.
Definition: Annotation.h:34
The Procedural Runtime API namespace. The prt namespace contains the top level entry points into the ...
Definition: Annotation.h:24
Float array type.
Definition: Annotation.h:38