1 #ifndef __PBIO_API__PBIO__STRUCT_STORAGE_H_3e4a45e14b2b47dba8d3c32883c6a631
2 #define __PBIO_API__PBIO__STRUCT_STORAGE_H_3e4a45e14b2b47dba8d3c32883c6a631
6 #include "ComplexObject.h"
7 #include "StructStorageFields.h"
12 class StructStorage :
public ComplexObject
17 const DHPtr &dll_handle,
20 int64_t get_int64(
const int field_id)
const;
22 double get_double(
const int field_id)
const;
24 void* get_pointer(
const int field_id)
const;
32 StructStorage::StructStorage(
33 const DHPtr &dll_handle,
35 ComplexObject(dll_handle, impl)
41 int64_t StructStorage::get_int64(
const int field_id)
const
43 void* exception = NULL;
45 int64_t
const result = _dll_handle->StructStorage_get_int64(_impl, field_id, &exception);
47 checkException(exception, *_dll_handle);
53 double StructStorage::get_double(
const int field_id)
const
55 void* exception = NULL;
57 double const result = _dll_handle->StructStorage_get_double(_impl, field_id, &exception);
59 checkException(exception, *_dll_handle);
65 void* StructStorage::get_pointer(
const int field_id)
const
67 void* exception = NULL;
69 void*
const result = _dll_handle->StructStorage_get_pointer(_impl, field_id, &exception);
71 checkException(exception, *_dll_handle);
81 #endif // __PBIO_API__PBIO__STRUCT_STORAGE_H_3e4a45e14b2b47dba8d3c32883c6a631