#include <inttypes.h>#include <stdarg.h>#include <string.h>#include <sstream>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | c2numpy_writer |
Macros | |
| #define | C2NUMPY_CHECK_ITEM |
| #define | C2NUMPY_INCREMENT_ITEM |
Functions | |
| const char * | c2numpy_descr (c2numpy_type type) |
| int | c2numpy_init (c2numpy_writer *writer, const std::string outputFilePrefix, int32_t numRowsPerFile) |
| int | c2numpy_addcolumn (c2numpy_writer *writer, const std::string name, c2numpy_type type) |
| int | c2numpy_open (c2numpy_writer *writer) |
| int | c2numpy_bool (c2numpy_writer *writer, int8_t data) |
| int | c2numpy_int (c2numpy_writer *writer, int64_t data) |
| int | c2numpy_intc (c2numpy_writer *writer, int data) |
| int | c2numpy_intp (c2numpy_writer *writer, size_t data) |
| int | c2numpy_int8 (c2numpy_writer *writer, int8_t data) |
| int | c2numpy_int16 (c2numpy_writer *writer, int16_t data) |
| int | c2numpy_int32 (c2numpy_writer *writer, int32_t data) |
| int | c2numpy_int64 (c2numpy_writer *writer, int64_t data) |
| int | c2numpy_uint8 (c2numpy_writer *writer, uint8_t data) |
| int | c2numpy_uint16 (c2numpy_writer *writer, uint16_t data) |
| int | c2numpy_uint32 (c2numpy_writer *writer, uint32_t data) |
| int | c2numpy_uint64 (c2numpy_writer *writer, uint64_t data) |
| int | c2numpy_float (c2numpy_writer *writer, double data) |
| int | c2numpy_float32 (c2numpy_writer *writer, float data) |
| int | c2numpy_float64 (c2numpy_writer *writer, double data) |
| int | c2numpy_string (c2numpy_writer *writer, const char *data) |
| int | c2numpy_close (c2numpy_writer *writer) |
Variables | |
| const char * | C2NUMPY_VERSION = "1.2" |
| #define C2NUMPY_CHECK_ITEM |
| #define C2NUMPY_INCREMENT_ITEM |
| enum c2numpy_type |
Definition at line 29 of file c2numpy.h.
| int c2numpy_addcolumn | ( | c2numpy_writer * | writer, |
| const std::string | name, | ||
| c2numpy_type | type | ||
| ) |
Definition at line 158 of file c2numpy.h.
| int c2numpy_bool | ( | c2numpy_writer * | writer, |
| int8_t | data | ||
| ) |
Definition at line 242 of file c2numpy.h.
| int c2numpy_close | ( | c2numpy_writer * | writer | ) |
| const char* c2numpy_descr | ( | c2numpy_type | type | ) |
Definition at line 71 of file c2numpy.h.
| int c2numpy_float | ( | c2numpy_writer * | writer, |
| double | data | ||
| ) |
Definition at line 338 of file c2numpy.h.
| int c2numpy_float32 | ( | c2numpy_writer * | writer, |
| float | data | ||
| ) |
Definition at line 354 of file c2numpy.h.
| int c2numpy_float64 | ( | c2numpy_writer * | writer, |
| double | data | ||
| ) |
Definition at line 362 of file c2numpy.h.
| int c2numpy_init | ( | c2numpy_writer * | writer, |
| const std::string | outputFilePrefix, | ||
| int32_t | numRowsPerFile | ||
| ) |
| int c2numpy_int | ( | c2numpy_writer * | writer, |
| int64_t | data | ||
| ) |
Definition at line 250 of file c2numpy.h.
| int c2numpy_int16 | ( | c2numpy_writer * | writer, |
| int16_t | data | ||
| ) |
Definition at line 282 of file c2numpy.h.
| int c2numpy_int32 | ( | c2numpy_writer * | writer, |
| int32_t | data | ||
| ) |
Definition at line 290 of file c2numpy.h.
| int c2numpy_int64 | ( | c2numpy_writer * | writer, |
| int64_t | data | ||
| ) |
Definition at line 298 of file c2numpy.h.
| int c2numpy_int8 | ( | c2numpy_writer * | writer, |
| int8_t | data | ||
| ) |
Definition at line 274 of file c2numpy.h.
| int c2numpy_intc | ( | c2numpy_writer * | writer, |
| int | data | ||
| ) |
Definition at line 258 of file c2numpy.h.
| int c2numpy_intp | ( | c2numpy_writer * | writer, |
| size_t | data | ||
| ) |
Definition at line 266 of file c2numpy.h.
| int c2numpy_open | ( | c2numpy_writer * | writer | ) |
Definition at line 165 of file c2numpy.h.
| int c2numpy_string | ( | c2numpy_writer * | writer, |
| const char * | data | ||
| ) |
Definition at line 394 of file c2numpy.h.
| int c2numpy_uint16 | ( | c2numpy_writer * | writer, |
| uint16_t | data | ||
| ) |
Definition at line 314 of file c2numpy.h.
| int c2numpy_uint32 | ( | c2numpy_writer * | writer, |
| uint32_t | data | ||
| ) |
Definition at line 322 of file c2numpy.h.
| int c2numpy_uint64 | ( | c2numpy_writer * | writer, |
| uint64_t | data | ||
| ) |
Definition at line 330 of file c2numpy.h.
| int c2numpy_uint8 | ( | c2numpy_writer * | writer, |
| uint8_t | data | ||
| ) |
Definition at line 306 of file c2numpy.h.
1.8.11