-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathTable.h
39 lines (31 loc) · 987 Bytes
/
Table.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*****************************************************************************/
/**
* @file Table.h
* @author Naohisa Sakamoto
*/
/*****************************************************************************/
#pragma once
#include "Object.h"
#include <kvs/ValueTable>
#include <kvs/Type>
namespace kvs
{
namespace python
{
class Table : public kvs::python::Object
{
public:
static bool Check( const kvs::python::Object& object );
public:
Table( const kvs::ValueTable<kvs::Int32>& array );
Table( const kvs::ValueTable<kvs::Int64>& array );
Table( const kvs::ValueTable<kvs::Real32>& array );
Table( const kvs::ValueTable<kvs::Real64>& array );
Table( const kvs::python::Object& array );
operator kvs::ValueTable<kvs::Int32>() const;
operator kvs::ValueTable<kvs::Int64>() const;
operator kvs::ValueTable<kvs::Real32>() const;
operator kvs::ValueTable<kvs::Real64>() const;
};
} // end of namespace python
} // end of namespace kvs