Tucano  0.1
A library for rapid prototyping with modern OpenGL and GLSL
rply.hpp File Reference
#include <cassert>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  t_ply_argument_
 
struct  t_ply_property_
 
struct  t_ply_element_
 
struct  t_ply_idriver
 
struct  t_ply_odriver
 
struct  t_ply_
 

Macros

#define RPLY_VERSION   "RPly 1.1.3"
 
#define RPLY_COPYRIGHT   "Copyright (C) 2003-2013 Diego Nehab, 2014 Thiago Perrotta"
 
#define RPLY_AUTHORS   "Diego Nehab, Thiago Perrotta"
 
#define PLY_INT8_MIN   INT8_MIN
 
#define PLY_INT8_MAX   INT8_MAX
 
#define PLY_INT16_MIN   INT16_MIN
 
#define PLY_INT16_MAX   INT16_MAX
 
#define PLY_INT32_MIN   INT32_MIN
 
#define PLY_INT32_MAX   INT32_MAX
 
#define PLY_UINT8_MAX   UINT8_MAX
 
#define PLY_UINT16_MAX   UINT16_MAX
 
#define PLY_UINT32_MAX   UINT32_MAX
 
#define BWORD(p)   (p->buffer + p->buffer_token)
 
#define BLINE(p)   (p->buffer + p->buffer_token)
 
#define BFIRST(p)   (p->buffer + p->buffer_first)
 
#define BSIZE(p)   (p->buffer_last - p->buffer_first)
 
#define BSKIP(p, s)   (p->buffer_first += s)
 

Typedefs

typedef int8_t t_ply_int8
 
typedef int16_t t_ply_int16
 
typedef int32_t t_ply_int32
 
typedef uint8_t t_ply_uint8
 
typedef uint16_t t_ply_uint16
 
typedef uint32_t t_ply_uint32
 
typedef struct t_ply_p_ply
 
typedef struct t_ply_element_p_ply_element
 
typedef struct t_ply_property_p_ply_property
 
typedef struct t_ply_argument_p_ply_argument
 
typedef void(* p_ply_error_cb) (p_ply ply, const char *message)
 
typedef int(* p_ply_read_cb) (p_ply_argument argument)
 
typedef int(* p_ply_ihandler) (p_ply ply, double *value)
 
typedef int(* p_ply_ichunk) (p_ply ply, void *anydata, size_t size)
 
typedef t_ply_idriverp_ply_idriver
 
typedef int(* p_ply_ohandler) (p_ply ply, double value)
 
typedef int(* p_ply_ochunk) (p_ply ply, void *anydata, size_t size)
 
typedef t_ply_odriverp_ply_odriver
 

Enumerations

enum  e_ply_storage_mode { PLY_BIG_ENDIAN, PLY_LITTLE_ENDIAN, PLY_ASCII, PLY_DEFAULT }
 
enum  e_ply_type {
  PLY_INT8, PLY_UINT8, PLY_INT16, PLY_UINT16,
  PLY_INT32, PLY_UIN32, PLY_FLOAT32, PLY_FLOAT64,
  PLY_CHAR, PLY_UCHAR, PLY_SHORT, PLY_USHORT,
  PLY_INT, PLY_UINT, PLY_FLOAT, PLY_DOUBLE,
  PLY_LIST
}
 
enum  e_ply_io_mode { PLY_READ, PLY_WRITE }
 

Functions

int ply_get_ply_user_data (p_ply ply, void **pdata, long *idata)
 
p_ply ply_open (const char *name, p_ply_error_cb error_cb, long idata, void *pdata)
 
int ply_read_header (p_ply ply)
 
long ply_set_read_cb (p_ply ply, const char *element_name, const char *property_name, p_ply_read_cb read_cb, void *pdata, long idata)
 
int ply_get_argument_element (p_ply_argument argument, p_ply_element *element, long *instance_index)
 
int ply_get_argument_property (p_ply_argument argument, p_ply_property *property, long *length, long *value_index)
 
int ply_get_argument_user_data (p_ply_argument argument, void **pdata, long *idata)
 
double ply_get_argument_value (p_ply_argument argument)
 
int ply_read (p_ply ply)
 
p_ply_element ply_get_next_element (p_ply ply, p_ply_element last)
 
const char * ply_get_next_comment (p_ply ply, const char *last)
 
const char * ply_get_next_obj_info (p_ply ply, const char *last)
 
int ply_get_element_info (p_ply_element element, const char **name, long *ninstances)
 
p_ply_property ply_get_next_property (p_ply_element element, p_ply_property last)
 
int ply_get_property_info (p_ply_property property, const char **name, e_ply_type *type, e_ply_type *length_type, e_ply_type *value_type)
 
p_ply ply_create (const char *name, e_ply_storage_mode storage_mode, p_ply_error_cb error_cb, long idata, void *pdata)
 
int ply_add_element (p_ply ply, const char *name, long ninstances)
 
int ply_add_property (p_ply ply, const char *name, e_ply_type type, e_ply_type length_type, e_ply_type value_type)
 
int ply_add_list_property (p_ply ply, const char *name, e_ply_type length_type, e_ply_type value_type)
 
int ply_add_scalar_property (p_ply ply, const char *name, e_ply_type type)
 
int ply_add_comment (p_ply ply, const char *comment)
 
int ply_add_obj_info (p_ply ply, const char *obj_info)
 
int ply_write_header (p_ply ply)
 
int ply_write (p_ply ply, double value)
 
int ply_close (p_ply ply)
 
static int ply_read_word (p_ply ply)
 
static int ply_check_word (p_ply ply)
 
static void ply_finish_word (p_ply ply, size_t size)
 
static int ply_read_line (p_ply ply)
 
static int ply_check_line (p_ply ply)
 
static int ply_read_chunk (p_ply ply, void *anybuffer, size_t size)
 
static int ply_read_chunk_reverse (p_ply ply, void *anybuffer, size_t size)
 
static int ply_write_chunk (p_ply ply, void *anybuffer, size_t size)
 
static int ply_write_chunk_reverse (p_ply ply, void *anybuffer, size_t size)
 
static void ply_reverse (void *anydata, size_t size)
 
static int ply_find_string (const char *item, const char *const list[])
 
static p_ply_element ply_find_element (p_ply ply, const char *name)
 
static p_ply_property ply_find_property (p_ply_element element, const char *name)
 
static int ply_read_header_magic (p_ply ply)
 
static int ply_read_header_format (p_ply ply)
 
static int ply_read_header_comment (p_ply ply)
 
static int ply_read_header_obj_info (p_ply ply)
 
static int ply_read_header_property (p_ply ply)
 
static int ply_read_header_element (p_ply ply)
 
static void ply_error_cb (p_ply ply, const char *message)
 
static void ply_ferror (p_ply ply, const char *fmt,...)
 
static void ply_init (p_ply ply)
 
static void ply_element_init (p_ply_element element)
 
static void ply_property_init (p_ply_property property)
 
static p_ply ply_alloc (void)
 
static p_ply_element ply_grow_element (p_ply ply)
 
static p_ply_property ply_grow_property (p_ply ply, p_ply_element element)
 
static void * ply_grow_array (p_ply ply, void **pointer, long *nmemb, long size)
 
static e_ply_storage_mode ply_arch_endian (void)
 
static int ply_type_check (void)
 
static int ply_read_element (p_ply ply, p_ply_element element, p_ply_argument argument)
 
static int ply_read_property (p_ply ply, p_ply_element element, p_ply_property property, p_ply_argument argument)
 
static int ply_read_list_property (p_ply ply, p_ply_element element, p_ply_property property, p_ply_argument argument)
 
static int ply_read_scalar_property (p_ply ply, p_ply_element element, p_ply_property property, p_ply_argument argument)
 
static int BREFILL (p_ply ply)
 
static int iascii_int8 (p_ply ply, double *value)
 
static int iascii_uint8 (p_ply ply, double *value)
 
static int iascii_int16 (p_ply ply, double *value)
 
static int iascii_uint16 (p_ply ply, double *value)
 
static int iascii_int32 (p_ply ply, double *value)
 
static int iascii_uint32 (p_ply ply, double *value)
 
static int iascii_float32 (p_ply ply, double *value)
 
static int iascii_float64 (p_ply ply, double *value)
 
static int ibinary_int8 (p_ply ply, double *value)
 
static int ibinary_uint8 (p_ply ply, double *value)
 
static int ibinary_int16 (p_ply ply, double *value)
 
static int ibinary_uint16 (p_ply ply, double *value)
 
static int ibinary_int32 (p_ply ply, double *value)
 
static int ibinary_uint32 (p_ply ply, double *value)
 
static int ibinary_float32 (p_ply ply, double *value)
 
static int ibinary_float64 (p_ply ply, double *value)
 
static int oascii_int8 (p_ply ply, double value)
 
static int oascii_uint8 (p_ply ply, double value)
 
static int oascii_int16 (p_ply ply, double value)
 
static int oascii_uint16 (p_ply ply, double value)
 
static int oascii_int32 (p_ply ply, double value)
 
static int oascii_uint32 (p_ply ply, double value)
 
static int oascii_float32 (p_ply ply, double value)
 
static int oascii_float64 (p_ply ply, double value)
 
static int obinary_int8 (p_ply ply, double value)
 
static int obinary_uint8 (p_ply ply, double value)
 
static int obinary_int16 (p_ply ply, double value)
 
static int obinary_uint16 (p_ply ply, double value)
 
static int obinary_int32 (p_ply ply, double value)
 
static int obinary_uint32 (p_ply ply, double value)
 
static int obinary_float32 (p_ply ply, double value)
 
static int obinary_float64 (p_ply ply, double value)
 

Variables

const int WORDSIZE = 256
 
const int LINESIZE = 1024
 
const int BUFFERSIZE = (8*1024)
 
static const char *const ply_storage_mode_list []
 
static const char *const ply_type_list []
 
static t_ply_idriver ply_idriver_ascii
 
static t_ply_idriver ply_idriver_binary
 
static t_ply_idriver ply_idriver_binary_reverse
 
static t_ply_odriver ply_odriver_ascii
 
static t_ply_odriver ply_odriver_binary
 
static t_ply_odriver ply_odriver_binary_reverse
 

Macro Definition Documentation

#define BFIRST (   p)    (p->buffer + p->buffer_first)
#define BLINE (   p)    (p->buffer + p->buffer_token)
#define BSIZE (   p)    (p->buffer_last - p->buffer_first)
#define BSKIP (   p,
 
)    (p->buffer_first += s)
#define BWORD (   p)    (p->buffer + p->buffer_token)
#define PLY_INT16_MAX   INT16_MAX
#define PLY_INT16_MIN   INT16_MIN
#define PLY_INT32_MAX   INT32_MAX
#define PLY_INT32_MIN   INT32_MIN
#define PLY_INT8_MAX   INT8_MAX
#define PLY_INT8_MIN   INT8_MIN
#define PLY_UINT16_MAX   UINT16_MAX
#define PLY_UINT32_MAX   UINT32_MAX
#define PLY_UINT8_MAX   UINT8_MAX
#define RPLY_AUTHORS   "Diego Nehab, Thiago Perrotta"
#define RPLY_COPYRIGHT   "Copyright (C) 2003-2013 Diego Nehab, 2014 Thiago Perrotta"
#define RPLY_VERSION   "RPly 1.1.3"

Typedef Documentation

typedef struct t_ply_* p_ply
typedef struct t_ply_element_* p_ply_element
typedef void(* p_ply_error_cb) (p_ply ply, const char *message)
typedef int(* p_ply_ichunk) (p_ply ply, void *anydata, size_t size)
typedef int(* p_ply_ihandler) (p_ply ply, double *value)
typedef int(* p_ply_ochunk) (p_ply ply, void *anydata, size_t size)
typedef int(* p_ply_ohandler) (p_ply ply, double value)
typedef int(* p_ply_read_cb) (p_ply_argument argument)
typedef int16_t t_ply_int16
typedef int32_t t_ply_int32
typedef int8_t t_ply_int8
typedef uint16_t t_ply_uint16
typedef uint32_t t_ply_uint32
typedef uint8_t t_ply_uint8

Enumeration Type Documentation

Enumerator
PLY_READ 
PLY_WRITE 
Enumerator
PLY_BIG_ENDIAN 
PLY_LITTLE_ENDIAN 
PLY_ASCII 
PLY_DEFAULT 
enum e_ply_type
Enumerator
PLY_INT8 
PLY_UINT8 
PLY_INT16 
PLY_UINT16 
PLY_INT32 
PLY_UIN32 
PLY_FLOAT32 
PLY_FLOAT64 
PLY_CHAR 
PLY_UCHAR 
PLY_SHORT 
PLY_USHORT 
PLY_INT 
PLY_UINT 
PLY_FLOAT 
PLY_DOUBLE 
PLY_LIST 

Function Documentation

static int BREFILL ( p_ply  ply)
static
static int iascii_float32 ( p_ply  ply,
double *  value 
)
static
static int iascii_float64 ( p_ply  ply,
double *  value 
)
static
static int iascii_int16 ( p_ply  ply,
double *  value 
)
static
static int iascii_int32 ( p_ply  ply,
double *  value 
)
static
static int iascii_int8 ( p_ply  ply,
double *  value 
)
static
static int iascii_uint16 ( p_ply  ply,
double *  value 
)
static
static int iascii_uint32 ( p_ply  ply,
double *  value 
)
static
static int iascii_uint8 ( p_ply  ply,
double *  value 
)
static
static int ibinary_float32 ( p_ply  ply,
double *  value 
)
static
static int ibinary_float64 ( p_ply  ply,
double *  value 
)
static
static int ibinary_int16 ( p_ply  ply,
double *  value 
)
static
static int ibinary_int32 ( p_ply  ply,
double *  value 
)
static
static int ibinary_int8 ( p_ply  ply,
double *  value 
)
static
static int ibinary_uint16 ( p_ply  ply,
double *  value 
)
static
static int ibinary_uint32 ( p_ply  ply,
double *  value 
)
static
static int ibinary_uint8 ( p_ply  ply,
double *  value 
)
static
static int oascii_float32 ( p_ply  ply,
double  value 
)
static
static int oascii_float64 ( p_ply  ply,
double  value 
)
static
static int oascii_int16 ( p_ply  ply,
double  value 
)
static
static int oascii_int32 ( p_ply  ply,
double  value 
)
static
static int oascii_int8 ( p_ply  ply,
double  value 
)
static
static int oascii_uint16 ( p_ply  ply,
double  value 
)
static
static int oascii_uint32 ( p_ply  ply,
double  value 
)
static
static int oascii_uint8 ( p_ply  ply,
double  value 
)
static
static int obinary_float32 ( p_ply  ply,
double  value 
)
static
static int obinary_float64 ( p_ply  ply,
double  value 
)
static
static int obinary_int16 ( p_ply  ply,
double  value 
)
static
static int obinary_int32 ( p_ply  ply,
double  value 
)
static
static int obinary_int8 ( p_ply  ply,
double  value 
)
static
static int obinary_uint16 ( p_ply  ply,
double  value 
)
static
static int obinary_uint32 ( p_ply  ply,
double  value 
)
static
static int obinary_uint8 ( p_ply  ply,
double  value 
)
static
int ply_add_comment ( p_ply  ply,
const char *  comment 
)
inline
int ply_add_element ( p_ply  ply,
const char *  name,
long  ninstances 
)
inline
int ply_add_list_property ( p_ply  ply,
const char *  name,
e_ply_type  length_type,
e_ply_type  value_type 
)
inline
int ply_add_obj_info ( p_ply  ply,
const char *  obj_info 
)
inline
int ply_add_property ( p_ply  ply,
const char *  name,
e_ply_type  type,
e_ply_type  length_type,
e_ply_type  value_type 
)
inline
int ply_add_scalar_property ( p_ply  ply,
const char *  name,
e_ply_type  type 
)
inline
static p_ply ply_alloc ( void  )
static
static e_ply_storage_mode ply_arch_endian ( void  )
static
static int ply_check_line ( p_ply  ply)
static
static int ply_check_word ( p_ply  ply)
static
int ply_close ( p_ply  ply)
inline
p_ply ply_create ( const char *  name,
e_ply_storage_mode  storage_mode,
p_ply_error_cb  error_cb,
long  idata,
void *  pdata 
)
inline
static void ply_element_init ( p_ply_element  element)
static
static void ply_error_cb ( p_ply  ply,
const char *  message 
)
static
static void ply_ferror ( p_ply  ply,
const char *  fmt,
  ... 
)
static
static p_ply_element ply_find_element ( p_ply  ply,
const char *  name 
)
static
static p_ply_property ply_find_property ( p_ply_element  element,
const char *  name 
)
static
static int ply_find_string ( const char *  item,
const char *const  list[] 
)
static
static void ply_finish_word ( p_ply  ply,
size_t  size 
)
static
int ply_get_argument_element ( p_ply_argument  argument,
p_ply_element element,
long *  instance_index 
)
inline
int ply_get_argument_property ( p_ply_argument  argument,
p_ply_property property,
long *  length,
long *  value_index 
)
inline
int ply_get_argument_user_data ( p_ply_argument  argument,
void **  pdata,
long *  idata 
)
inline
double ply_get_argument_value ( p_ply_argument  argument)
inline
int ply_get_element_info ( p_ply_element  element,
const char **  name,
long *  ninstances 
)
inline
const char * ply_get_next_comment ( p_ply  ply,
const char *  last 
)
inline
p_ply_element ply_get_next_element ( p_ply  ply,
p_ply_element  last 
)
inline
const char * ply_get_next_obj_info ( p_ply  ply,
const char *  last 
)
inline
p_ply_property ply_get_next_property ( p_ply_element  element,
p_ply_property  last 
)
inline
int ply_get_ply_user_data ( p_ply  ply,
void **  pdata,
long *  idata 
)
inline
int ply_get_property_info ( p_ply_property  property,
const char **  name,
e_ply_type type,
e_ply_type length_type,
e_ply_type value_type 
)
inline
static void * ply_grow_array ( p_ply  ply,
void **  pointer,
long *  nmemb,
long  size 
)
static
static p_ply_element ply_grow_element ( p_ply  ply)
static
static p_ply_property ply_grow_property ( p_ply  ply,
p_ply_element  element 
)
static
static void ply_init ( p_ply  ply)
static
p_ply ply_open ( const char *  name,
p_ply_error_cb  error_cb,
long  idata,
void *  pdata 
)
inline
static void ply_property_init ( p_ply_property  property)
static
int ply_read ( p_ply  ply)
inline
static int ply_read_chunk ( p_ply  ply,
void *  anybuffer,
size_t  size 
)
static
static int ply_read_chunk_reverse ( p_ply  ply,
void *  anybuffer,
size_t  size 
)
static
static int ply_read_element ( p_ply  ply,
p_ply_element  element,
p_ply_argument  argument 
)
static
int ply_read_header ( p_ply  ply)
inline
static int ply_read_header_comment ( p_ply  ply)
static
static int ply_read_header_element ( p_ply  ply)
static
static int ply_read_header_format ( p_ply  ply)
static
static int ply_read_header_magic ( p_ply  ply)
static
static int ply_read_header_obj_info ( p_ply  ply)
static
static int ply_read_header_property ( p_ply  ply)
static
static int ply_read_line ( p_ply  ply)
static
static int ply_read_list_property ( p_ply  ply,
p_ply_element  element,
p_ply_property  property,
p_ply_argument  argument 
)
static
static int ply_read_property ( p_ply  ply,
p_ply_element  element,
p_ply_property  property,
p_ply_argument  argument 
)
static
static int ply_read_scalar_property ( p_ply  ply,
p_ply_element  element,
p_ply_property  property,
p_ply_argument  argument 
)
static
static int ply_read_word ( p_ply  ply)
static
static void ply_reverse ( void *  anydata,
size_t  size 
)
static
long ply_set_read_cb ( p_ply  ply,
const char *  element_name,
const char *  property_name,
p_ply_read_cb  read_cb,
void *  pdata,
long  idata 
)
inline
static int ply_type_check ( void  )
static
int ply_write ( p_ply  ply,
double  value 
)
inline
static int ply_write_chunk ( p_ply  ply,
void *  anybuffer,
size_t  size 
)
static
static int ply_write_chunk_reverse ( p_ply  ply,
void *  anybuffer,
size_t  size 
)
static
int ply_write_header ( p_ply  ply)
inline

Variable Documentation

const int BUFFERSIZE = (8*1024)
const int LINESIZE = 1024
t_ply_idriver ply_idriver_ascii
static
Initial value:
= {
},
NULL,
"ascii input"
}
static int iascii_int8(p_ply ply, double *value)
Definition: rply.hpp:718
static int iascii_float64(p_ply ply, double *value)
Definition: rply.hpp:774
static int iascii_uint16(p_ply ply, double *value)
Definition: rply.hpp:742
static int iascii_int16(p_ply ply, double *value)
Definition: rply.hpp:734
static int iascii_int32(p_ply ply, double *value)
Definition: rply.hpp:750
static int iascii_uint8(p_ply ply, double *value)
Definition: rply.hpp:726
static int iascii_uint32(p_ply ply, double *value)
Definition: rply.hpp:758
static int iascii_float32(p_ply ply, double *value)
Definition: rply.hpp:766
t_ply_idriver ply_idriver_binary
static
Initial value:
= {
},
"binary input"
}
static int ibinary_uint16(p_ply ply, double *value)
Definition: rply.hpp:803
static int ibinary_int32(p_ply ply, double *value)
Definition: rply.hpp:810
static int ibinary_uint8(p_ply ply, double *value)
Definition: rply.hpp:789
static int ibinary_uint32(p_ply ply, double *value)
Definition: rply.hpp:817
static int ply_read_chunk(p_ply ply, void *anybuffer, size_t size)
Definition: rply.hpp:1663
static int ibinary_float64(p_ply ply, double *value)
Definition: rply.hpp:831
static int ibinary_float32(p_ply ply, double *value)
Definition: rply.hpp:824
static int ibinary_int16(p_ply ply, double *value)
Definition: rply.hpp:796
static int ibinary_int8(p_ply ply, double *value)
Definition: rply.hpp:782
t_ply_idriver ply_idriver_binary_reverse
static
Initial value:
= {
},
"reverse binary input"
}
static int ibinary_uint16(p_ply ply, double *value)
Definition: rply.hpp:803
static int ply_read_chunk_reverse(p_ply ply, void *anybuffer, size_t size)
Definition: rply.hpp:1709
static int ibinary_int32(p_ply ply, double *value)
Definition: rply.hpp:810
static int ibinary_uint8(p_ply ply, double *value)
Definition: rply.hpp:789
static int ibinary_uint32(p_ply ply, double *value)
Definition: rply.hpp:817
static int ibinary_float64(p_ply ply, double *value)
Definition: rply.hpp:831
static int ibinary_float32(p_ply ply, double *value)
Definition: rply.hpp:824
static int ibinary_int16(p_ply ply, double *value)
Definition: rply.hpp:796
static int ibinary_int8(p_ply ply, double *value)
Definition: rply.hpp:782
t_ply_odriver ply_odriver_ascii
static
Initial value:
= {
},
NULL,
"ascii output"
}
static int oascii_int32(p_ply ply, double value)
Definition: rply.hpp:858
static int oascii_int16(p_ply ply, double value)
Definition: rply.hpp:848
static int oascii_int8(p_ply ply, double value)
Definition: rply.hpp:838
static int oascii_float32(p_ply ply, double value)
Definition: rply.hpp:868
static int oascii_uint16(p_ply ply, double value)
Definition: rply.hpp:853
static int oascii_float64(p_ply ply, double value)
Definition: rply.hpp:873
static int oascii_uint32(p_ply ply, double value)
Definition: rply.hpp:863
static int oascii_uint8(p_ply ply, double value)
Definition: rply.hpp:843
t_ply_odriver ply_odriver_binary
static
Initial value:
= {
},
"binary output"
}
static int obinary_uint32(p_ply ply, double value)
Definition: rply.hpp:908
static int obinary_int8(p_ply ply, double value)
Definition: rply.hpp:878
static int obinary_int16(p_ply ply, double value)
Definition: rply.hpp:890
static int obinary_uint8(p_ply ply, double value)
Definition: rply.hpp:884
static int obinary_int32(p_ply ply, double value)
Definition: rply.hpp:902
static int obinary_uint16(p_ply ply, double value)
Definition: rply.hpp:896
static int ply_write_chunk(p_ply ply, void *anybuffer, size_t size)
Definition: rply.hpp:1682
static int obinary_float64(p_ply ply, double value)
Definition: rply.hpp:920
static int obinary_float32(p_ply ply, double value)
Definition: rply.hpp:914
t_ply_odriver ply_odriver_binary_reverse
static
Initial value:
= {
},
"reverse binary output"
}
static int ply_write_chunk_reverse(p_ply ply, void *anybuffer, size_t size)
Definition: rply.hpp:1701
static int obinary_uint32(p_ply ply, double value)
Definition: rply.hpp:908
static int obinary_int8(p_ply ply, double value)
Definition: rply.hpp:878
static int obinary_int16(p_ply ply, double value)
Definition: rply.hpp:890
static int obinary_uint8(p_ply ply, double value)
Definition: rply.hpp:884
static int obinary_int32(p_ply ply, double value)
Definition: rply.hpp:902
static int obinary_uint16(p_ply ply, double value)
Definition: rply.hpp:896
static int obinary_float64(p_ply ply, double value)
Definition: rply.hpp:920
static int obinary_float32(p_ply ply, double value)
Definition: rply.hpp:914
const char* const ply_storage_mode_list[]
static
Initial value:
= {
"binary_big_endian", "binary_little_endian", "ascii", NULL
}
const char* const ply_type_list[]
static
Initial value:
= {
"int8", "uint8", "int16", "uint16",
"int32", "uint32", "float32", "float64",
"char", "uchar", "short", "ushort",
"int", "uint", "float", "double",
"list", NULL
}
const int WORDSIZE = 256