Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

sobj_cvt.c File Reference


Detailed Description

Simple object conversion methods.

Methods for converting instances of simple objects to native types.

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include "sobject_p.h"

Include dependency graph for sobj_cvt.c:

Include dependency graph

Functions

bool sobj_to_bool (struct sobj *sobj, bool *error)
 Convert a simple object to bool.
int sobj_to_int (struct sobj *sobj, bool *error)
 Convert a simple object to int.
long sobj_to_long (struct sobj *sobj, bool *error)
 Convert a simple object to long.
long long sobj_to_long_long (struct sobj *sobj, bool *error)
 Convert a simple object to long long.
unsigned sobj_to_unsigned (struct sobj *sobj, bool *error)
 Convert a simple object to unsigned.
unsigned long sobj_to_unsigned_long (struct sobj *sobj, bool *error)
 Convert a simple object to unsigned long.
unsigned long long sobj_to_unsigned_long_long (struct sobj *sobj, bool *error)
 Convert a simple object to unsigned long long.
int8_t sobj_to_int8_t (struct sobj *sobj, bool *error)
 Convert a simple object to int8_t.
int16_t sobj_to_int16_t (struct sobj *sobj, bool *error)
 Convert a simple object to int16_t.
int32_t sobj_to_int32_t (struct sobj *sobj, bool *error)
 Convert a simple object to int32_t.
int64_t sobj_to_int64_t (struct sobj *sobj, bool *error)
 Convert a simple object to int64_t.
intmax_t sobj_to_intmax_t (struct sobj *sobj, bool *error)
 Convert a simple object to intmax_t.
uint8_t sobj_to_uint8_t (struct sobj *sobj, bool *error)
 Convert a simple object to uint8_t.
uint16_t sobj_to_uint16_t (struct sobj *sobj, bool *error)
 Convert a simple object to uint16_t.
uint32_t sobj_to_uint32_t (struct sobj *sobj, bool *error)
 Convert a simple object to uint32_t.
uint64_t sobj_to_uint64_t (struct sobj *sobj, bool *error)
 Convert a simple object to uint64_t.
uintmax_t sobj_to_uintmax_t (struct sobj *sobj, bool *error)
 Convert a simple object to uintmax_t.
size_t sobj_to_size_t (struct sobj *sobj, bool *error)
 Convert a simple object to size_t.
ptrdiff_t sobj_to_ptrdiff_t (struct sobj *sobj, bool *error)
 Convert a simple object to ptrdiff_t.
float sobj_to_float (struct sobj *sobj, bool *error)
 Convert a simple object to float.
double sobj_to_double (struct sobj *sobj, bool *error)
 Convert a simple object to double.
size_t sobj_to_string (struct sobj *sobj, char *buffer, ptrdiff_t buffer_size)
 Convert a simple object to a string.
char * sobj_str (struct sobj *sobj, struct sobj_env *env)
 Create a string representation of a simple object.

Generated on Sat Jul 23 16:05:00 2005 for sobject by  doxygen 1.3.9.1