Skip to content

Commit

Permalink
Support Date. Corresponding data.frame type is POSIXct
Browse files Browse the repository at this point in the history
  • Loading branch information
dpavlushko committed Dec 7, 2015
1 parent 5f702c6 commit d753d0f
Show file tree
Hide file tree
Showing 12 changed files with 275 additions and 354 deletions.
3 changes: 2 additions & 1 deletion libarcobjects/arcobjects_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ namespace arcobject
eNone = 0,
eInt,
eDouble,
eDate,
eString,
eGeometry_point,
eGeometry_multipoint,
Expand All @@ -67,7 +68,7 @@ namespace arcobject
column_t(ct e, const wchar_t* n, void* ptr):t(e),name(n),vals(ptr),sr(L"", 0){}
virtual ~column_t(){ }
static std::vector<int>& get_ints(column_t &c) { ATLASSERT(c.t == eInt); return *static_cast<std::vector<int>*>(c.vals); }
static std::vector<double>& get_doubles(column_t &c) { ATLASSERT(c.t == eDouble); return *static_cast<std::vector<double>*>(c.vals); }
static std::vector<double>& get_doubles(column_t &c) { ATLASSERT(c.t == eDouble || c.t == eDate); return *static_cast<std::vector<double>*>(c.vals); }
static std::vector<std::string>& get_strings(column_t &c) { ATLASSERT(c.t == eString); return *static_cast<std::vector<std::string>*>(c.vals); }
static std::vector<std::vector<double>>& get_points(column_t &c) { ATLASSERT(c.t == eGeometry_point); return *static_cast<std::vector<std::vector<double>>*>(c.vals); }
static std::vector<std::vector<byte>>& get_shapes(column_t &c)
Expand Down
Binary file modified libarcobjects/libarcobjects.lib
Binary file not shown.
4 changes: 2 additions & 2 deletions package/arc/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: arcgisbinding
Version: 1.0.0.115
Date: 2015-10-22
Version: 1.0.0.117
Date: 2015-11-21
Title: Bindings for ArcGIS
Author: Esri
Maintainer: Esri <R_bridge@esri.com>
Expand Down

0 comments on commit d753d0f

Please sign in to comment.