collection.h File Reference

File containing I/O types and the collection class. More...

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <sstream>
#include <o2scl/misc.h>
#include <o2scl/err_hnd.h>
#include <o2scl/test_mgr.h>
#include <o2scl/text_file.h>
#include <o2scl/file_format.h>
#include <o2scl/file_detect.h>
#include <o2scl/ovector_tlate.h>
#include <o2scl/omatrix_tlate.h>
#include <o2scl/ovector_cx_tlate.h>
#include <o2scl/omatrix_cx_tlate.h>

Go to the source code of this file.


Detailed Description

New update todos:

Idea for future:
Figure out what to do with templated matrix and vector output. What might be ideal is a "vector_io" type which will input or output a generic vector of any type.

Definition in file collection.h.


Data Structures

struct  collection_entry
struct  pointer_output
 A pointer output structure. More...
struct  pointer_input
 A pointer input structure. More...
class  io_base
 I/O base class. More...
class  io_manager
 Manage I/O type information. More...
class  io_type_info
 User interface to provide I/O type information. More...
class  collection
 Collection of objects. More...
class  collection::iterator
 An iterator for stepping through a collection. More...
class  collection::type_iterator
 An iterator for stepping through the entries in a collection of a particular type. More...
class  cinput
 Class to control object input. More...
class  coutput
 Class to control object output. More...
struct  coutput::ltptr
 Order the pointers by numeric value. More...
class  io_vtlate
 A template for adding I/O classes. More...
class  io_tlate
 A template for adding I/O classes. More...
class  bool_io_type
 I/O object for bool variables. More...
class  char_io_type
 I/O object for char variables. More...
class  double_io_type
 I/O object for double variables. More...
class  int_io_type
 I/O object for int variables. More...
class  long_io_type
 I/O object for long variables. More...
class  string_io_type
 I/O object for string variables. More...
class  word_io_type
 I/O object for words. More...

Functions

int operator== (const collection::iterator &i1, const collection::iterator &i2)
 Equality comparison for two iterators.
int operator!= (const collection::iterator &i1, const collection::iterator &i2)
 Inequality comparison for two iterators.
int operator== (const collection::type_iterator &i1, const collection::type_iterator &i2)
 Equality comparison for two iterators.
int operator!= (const collection::type_iterator &i1, const collection::type_iterator &i2)
 Inequality comparison for two iterators.

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page