io::write_utils Namespace Reference

Utilities for writing sequences to a io::writer. More...


Functions

fstring make_element_name (const fstring &seq_name, int element_num)
fstring make_seq_length_name (const fstring &seq_name)
template<class Itr>
void write_value_seq (io::writer &writer, const rutz::fstring &name, Itr begin, Itr end, bool skip_count=false)
template<class Itr>
void write_value_obj_seq (io::writer &writer, const rutz::fstring &name, Itr begin, Itr end, bool skip_count=false)
template<class Itr>
void write_object_seq (io::writer &writer, const rutz::fstring &name, Itr begin, Itr end, bool skip_count=false)
 A generic interface for handling containers, sequences, etc. of objects.
template<class Itr>
int compute_seq_length (Itr begin, Itr end)


Detailed Description

Utilities for writing sequences to a io::writer.

Function Documentation

template<class Itr>
void io::write_utils::write_value_obj_seq ( io::writer writer,
const rutz::fstring name,
Itr  begin,
Itr  end,
bool  skip_count = false 
) [inline]

A generic interface for handling containers, sequences, etc. of objects of rutz::value subtypes

Definition at line 82 of file writeutils.h.

References io::writer::write_value(), and io::writer::write_value_obj().

Referenced by Trial::write_to().

template<class Itr>
void io::write_utils::write_value_seq ( io::writer writer,
const rutz::fstring name,
Itr  begin,
Itr  end,
bool  skip_count = false 
) [inline]

A generic interface for handling containers, sequences, etc. of value types.

Definition at line 59 of file writeutils.h.

References io::writer::write_value().

Referenced by CloneFace::write_to().


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:19 2008 by Doxygen version 1.5.5.