Macros | Typedefs | Enumerations | Functions
rply.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RPLY_AUTHORS   "Diego Nehab"
 
#define RPLY_COPYRIGHT   "Copyright (C) 2003-2011 Diego Nehab"
 
#define RPLY_VERSION   "RPly 1.1.1"
 

Typedefs

typedef enum e_ply_storage_mode_ e_ply_storage_mode
 
typedef enum e_ply_type e_ply_type
 
typedef struct t_ply_p_ply
 
typedef struct t_ply_argument_p_ply_argument
 
typedef struct t_ply_element_p_ply_element
 
typedef void(* p_ply_error_cb) (p_ply ply, const char *message)
 
typedef struct t_ply_property_p_ply_property
 
typedef int(* p_ply_read_cb) (p_ply_argument argument)
 

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
}
 

Functions

int ply_add_comment (p_ply ply, const char *comment)
 
int ply_add_element (p_ply ply, const char *name, long ninstances)
 
int ply_add_list_property (p_ply ply, const char *name, e_ply_type length_type, e_ply_type value_type)
 
int ply_add_obj_info (p_ply ply, const char *obj_info)
 
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_scalar_property (p_ply ply, const char *name, e_ply_type type)
 
int ply_close (p_ply ply)
 
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_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_get_element_info (p_ply_element element, const char **name, long *ninstances)
 
const char * ply_get_next_comment (p_ply ply, const char *last)
 
p_ply_element ply_get_next_element (p_ply ply, p_ply_element last)
 
const char * ply_get_next_obj_info (p_ply ply, const char *last)
 
p_ply_property ply_get_next_property (p_ply_element element, p_ply_property last)
 
int ply_get_ply_user_data (p_ply ply, void **pdata, long *idata)
 
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_open (const char *name, p_ply_error_cb error_cb, long idata, void *pdata)
 
int ply_read (p_ply ply)
 
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_write (p_ply ply, double value)
 
int ply_write_header (p_ply ply)
 

Macro Definition Documentation

◆ RPLY_AUTHORS

#define RPLY_AUTHORS   "Diego Nehab"

Definition at line 18 of file rply.h.

◆ RPLY_COPYRIGHT

#define RPLY_COPYRIGHT   "Copyright (C) 2003-2011 Diego Nehab"

Definition at line 17 of file rply.h.

◆ RPLY_VERSION

#define RPLY_VERSION   "RPly 1.1.1"

Definition at line 16 of file rply.h.

Typedef Documentation

◆ e_ply_storage_mode

◆ e_ply_type

typedef enum e_ply_type e_ply_type

◆ p_ply

typedef struct t_ply_* p_ply

Definition at line 24 of file rply.h.

◆ p_ply_argument

Definition at line 27 of file rply.h.

◆ p_ply_element

typedef struct t_ply_element_* p_ply_element

Definition at line 25 of file rply.h.

◆ p_ply_error_cb

typedef void(* p_ply_error_cb) (p_ply ply, const char *message)

Definition at line 52 of file rply.h.

◆ p_ply_property

Definition at line 26 of file rply.h.

◆ p_ply_read_cb

typedef int(* p_ply_read_cb) (p_ply_argument argument)

Definition at line 90 of file rply.h.

Enumeration Type Documentation

◆ e_ply_storage_mode_

Enumerator
PLY_BIG_ENDIAN 
PLY_LITTLE_ENDIAN 
PLY_ASCII 
PLY_DEFAULT 

Definition at line 30 of file rply.h.

◆ e_ply_type

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 

Definition at line 38 of file rply.h.

Function Documentation

◆ ply_add_comment()

int ply_add_comment ( p_ply  ply,
const char *  comment 
)

Definition at line 549 of file rply.c.

◆ ply_add_element()

int ply_add_element ( p_ply  ply,
const char *  name,
long  ninstances 
)

Definition at line 482 of file rply.c.

◆ ply_add_list_property()

int ply_add_list_property ( p_ply  ply,
const char *  name,
e_ply_type  length_type,
e_ply_type  value_type 
)

Definition at line 515 of file rply.c.

◆ ply_add_obj_info()

int ply_add_obj_info ( p_ply  ply,
const char *  obj_info 
)

Definition at line 563 of file rply.c.

◆ ply_add_property()

int ply_add_property ( p_ply  ply,
const char *  name,
e_ply_type  type,
e_ply_type  length_type,
e_ply_type  value_type 
)

Definition at line 541 of file rply.c.

◆ ply_add_scalar_property()

int ply_add_scalar_property ( p_ply  ply,
const char *  name,
e_ply_type  type 
)

Definition at line 497 of file rply.c.

◆ ply_close()

int ply_close ( p_ply  ply)

Definition at line 658 of file rply.c.

◆ ply_create()

p_ply ply_create ( const char *  name,
e_ply_storage_mode  storage_mode,
p_ply_error_cb  error_cb,
long  idata,
void *  pdata 
)

Definition at line 447 of file rply.c.

◆ ply_get_argument_element()

int ply_get_argument_element ( p_ply_argument  argument,
p_ply_element element,
long *  instance_index 
)

Definition at line 743 of file rply.c.

◆ ply_get_argument_property()

int ply_get_argument_property ( p_ply_argument  argument,
p_ply_property property,
long *  length,
long *  value_index 
)

Definition at line 752 of file rply.c.

◆ ply_get_argument_user_data()

int ply_get_argument_user_data ( p_ply_argument  argument,
void **  pdata,
long *  idata 
)

Definition at line 762 of file rply.c.

◆ ply_get_argument_value()

double ply_get_argument_value ( p_ply_argument  argument)

Definition at line 771 of file rply.c.

◆ ply_get_element_info()

int ply_get_element_info ( p_ply_element  element,
const char **  name,
long *  ninstances 
)

Definition at line 696 of file rply.c.

◆ ply_get_next_comment()

const char* ply_get_next_comment ( p_ply  ply,
const char *  last 
)

Definition at line 724 of file rply.c.

◆ ply_get_next_element()

p_ply_element ply_get_next_element ( p_ply  ply,
p_ply_element  last 
)

Definition at line 687 of file rply.c.

◆ ply_get_next_obj_info()

const char* ply_get_next_obj_info ( p_ply  ply,
const char *  last 
)

Definition at line 732 of file rply.c.

◆ ply_get_next_property()

p_ply_property ply_get_next_property ( p_ply_element  element,
p_ply_property  last 
)

Definition at line 704 of file rply.c.

◆ ply_get_ply_user_data()

int ply_get_ply_user_data ( p_ply  ply,
void **  pdata,
long *  idata 
)

Definition at line 777 of file rply.c.

◆ ply_get_property_info()

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 
)

Definition at line 713 of file rply.c.

◆ ply_open()

p_ply ply_open ( const char *  name,
p_ply_error_cb  error_cb,
long  idata,
void *  pdata 
)

Definition at line 355 of file rply.c.

◆ ply_read()

int ply_read ( p_ply  ply)

Definition at line 429 of file rply.c.

◆ ply_read_header()

int ply_read_header ( p_ply  ply)

Definition at line 384 of file rply.c.

◆ ply_set_read_cb()

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 
)

Definition at line 413 of file rply.c.

◆ ply_write()

int ply_write ( p_ply  ply,
double  value 
)

Definition at line 616 of file rply.c.

◆ ply_write_header()

int ply_write_header ( p_ply  ply)

Definition at line 577 of file rply.c.



lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:25