Aegis  4.25.D505
Defines | Functions
/home/archives/aegis/branch.4/branch.25/delta28933.505/libaegis/io.h File Reference
#include <common/ac/time.h>
#include <libaegis/meta_type.h>
#include <libaegis/output.h>

Go to the source code of this file.

Defines

#define INTEGER_NOT_SET   0
#define REAL_NOT_SET   0.0
#define TIME_NOT_SET   (time_t)0

Functions

void boolean_write (output::pointer, const char *, bool, int)
void boolean_write_xml (output::pointer, const char *, bool, int)
void string_write (output::pointer op, const char *name, string_ty *value)
void string_write (output::pointer op, const char *name, const nstring &value)
void string_write_xml (output::pointer op, const char *name, string_ty *value)
void string_write_xml (output::pointer op, const char *name, const nstring &value)
void integer_write (output::pointer, const char *, long, int)
void integer_write_xml (output::pointer, const char *, long, int)
void real_write (output::pointer, const char *, double, int)
void real_write_xml (output::pointer, const char *, double, int)
void time_write (output::pointer, const char *, time_t, int)
void time_write_xml (output::pointer, const char *, time_t, int)
void io_comment_append (sub_context_ty *, const char *)
void io_comment_emit (output::pointer)

Define Documentation

#define INTEGER_NOT_SET   0

Definition at line 30 of file io.h.

#define REAL_NOT_SET   0.0

Definition at line 31 of file io.h.

#define TIME_NOT_SET   (time_t)0

Definition at line 32 of file io.h.


Function Documentation

void boolean_write ( output::pointer  ,
const char *  ,
bool  ,
int   
)
void boolean_write_xml ( output::pointer  ,
const char *  ,
bool  ,
int   
)
void integer_write ( output::pointer  ,
const char *  ,
long  ,
int   
)
void integer_write_xml ( output::pointer  ,
const char *  ,
long  ,
int   
)
void io_comment_append ( sub_context_ty ,
const char *   
)
void real_write ( output::pointer  ,
const char *  ,
double  ,
int   
)
void real_write_xml ( output::pointer  ,
const char *  ,
double  ,
int   
)
void string_write ( output::pointer  op,
const char *  name,
string_ty value 
)

The string_write function is used to write aout a name value pair to the given output stream, in a format suitable for reading by the meta-date parser.

Parameters:
opThe output stream to write on.
nameThe name of the field.
valueThe value of the field.
void string_write ( output::pointer  op,
const char *  name,
const nstring value 
)

The string_write function is used to write aout a name value pair to the given output stream, in a format suitable for reading by the meta-date parser.

Parameters:
opThe output stream to write on.
nameThe name of the field.
valueThe value of the field.
void string_write_xml ( output::pointer  op,
const char *  name,
string_ty value 
)

The string_write _xmlfunction is used to write out an XML element and its value.

Parameters:
opThe output stream to write on.
nameThe name of the elsement.
valueThe value of the elsement.
void string_write_xml ( output::pointer  op,
const char *  name,
const nstring value 
)

The string_write_xml function is used to write out an XML element and its value.

Parameters:
opThe output stream to write on.
nameThe name of the elsement.
valueThe value of the elsement.
void time_write ( output::pointer  ,
const char *  ,
time_t  ,
int   
)
void time_write_xml ( output::pointer  ,
const char *  ,
time_t  ,
int   
)