[ 
https://issues.apache.org/jira/browse/GEODE-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16100168#comment-16100168
 ] 

ASF subversion and git services commented on GEODE-3019:
--------------------------------------------------------

Commit 5dcff096e23c3dde5e1d9fc681782413720cc5ee in geode-native's branch 
refs/heads/develop from [~eburghardt]
[ https://git-wip-us.apache.org/repos/asf?p=geode-native.git;h=5dcff09 ]

GEODE-3019: Refactor Struct class

- Using std::string now
- Now returns const std::string&
- getFieldName now throws an OutOfRangeException
- added a unit test for Struct class
- Made getFieldIndex const.
- Using std::exceptions exclusively now.
- Added try catch block in the integration test.
- Actually added unit test, file and all


> Refactor Struct
> ---------------
>
>                 Key: GEODE-3019
>                 URL: https://issues.apache.org/jira/browse/GEODE-3019
>             Project: Geode
>          Issue Type: Task
>          Components: native client
>            Reporter: Jacob S. Barrett
>
> Refactor Struct (geode/Struct.hpp):
> * Replace {{char *}} with {{std::string}}
> * Replace {{m_fieldname}} type with {{std::unordered_map<std::string, 
> int32_t>}}
> * Add vector for index to field name lookup.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to