ArcGIS Procedural Runtime  3.2.10650
Table.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 SRC_PRTX_TABLE_H_
19 #define SRC_PRTX_TABLE_H_
20 
21 
22 
23 #include "prtx/prtx.h"
24 #include "prtx/Content.h"
25 
26 #include <vector>
27 #include <memory>
28 #include <string>
29 
30 namespace prtx {
31 
32 
33 class Table;
34 typedef std::shared_ptr<Table> TablePtr;
35 typedef std::vector<TablePtr> TablePtrVector;
36 
37 class PRTX_EXPORTS_API Table : public Content {
38 public:
39  virtual ~Table();
40 
41  virtual size_t getColumnsCount() const = 0;
42  virtual size_t getRowsCount() const = 0;
43  virtual size_t getCellsCount() const = 0;
44 
45  virtual std::shared_ptr<std::vector<std::shared_ptr<std::wstring>>> getCellsAsStrings() const = 0;
46  virtual std::shared_ptr<std::vector<double>> getCellsAsFloats() const = 0;
47 
48 protected:
49  Table();
50 };
51 
52 }
53 
54 #endif /* SRC_PRTX_TABLE_H_ */
Definition: Content.h:40
The Procedural Runtime eXtension namespace. The prtx namespace contains the tools to extend the Proce...
Definition: AnnotationBuilder.h:35
Definition: Table.h:37