IMP logo

IMP::TextInput Class Reference


Detailed Description

A TextInput can be implicitly constructed from a C++ stream, a Python filelike object or a path to a file. As a result, those can be passed directly to functions which take a TextInput as an argument.
    IMP::atom::read_pdb("path/to/file.pdb", m);
    IMP::atom::read_pdb(my_fstream, m);
See also:
TextOutput

Public Member Functions

std::string get_name () const
 TextInput (std::istream &out, std::string name="C++ stream")
 TextInput (std::string file_name)

The documentation for this class was generated from the following files:

Generated on Mon Mar 8 23:08:46 2010 for IMP by doxygen 1.5.8