#include <structure_file_reader.h>
Public Types | |
| typedef std::vector< PDBAtom > | chain_type |
Public Member Functions | |
| StructureFileReader (std::string const &filename) | |
| StructureFileReader (std::istream &stream) | |
| virtual | ~StructureFileReader ()=0 |
| Virtual Destructor. | |
| virtual std::string | get_header ()=0 |
| Get the header from the structure file, if any. | |
| virtual std::vector< char > | get_chain_ids ()=0 |
| Get a vector of the chain IDs in the structure file. | |
| virtual std::auto_ptr< chain_type > | get_chain (char const id= ' ')=0 |
| virtual std::auto_ptr< chain_type > | get_next_chain ()=0 |
| Get the next chain (sequentially) from the structure file. | |
Protected Member Functions | |
| std::istream & | stream () |
| Give direct access to the stream to derived classes. | |
|
|
|
|
|
Open a new StructureFileReader. |
|
|
Create a StructureFile from an input stream. |
|
|
Virtual Destructor.
|
|
|
Get a chain corresponding to a particular chain ID. If a chain ID is omitted, this method returns the first chain in the file. |
|
|
Get a vector of the chain IDs in the structure file.
|
|
|
Get the header from the structure file, if any.
|
|
|
Get the next chain (sequentially) from the structure file.
|
|
|
Give direct access to the stream to derived classes.
|
1.3.6