Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

colvarparse::read_block Class Reference

\brief Helper class to read a block of the type "key { ... }" from a stream and store it in a string Useful on restarts, where the file is too big to be loaded in a string by key_lookup; it can only check that the keyword is correct and the block is properly delimited by braces, not skipping other blocks. More...

#include <colvarparse.h>

List of all members.

Public Methods

 read_block (std::string const &key_in, std::string *data_in=NULL)
 ~read_block ()

Friends

std::istream & operator>> (std::istream &is, read_block const &rb)


Detailed Description

\brief Helper class to read a block of the type "key { ... }" from a stream and store it in a string Useful on restarts, where the file is too big to be loaded in a string by key_lookup; it can only check that the keyword is correct and the block is properly delimited by braces, not skipping other blocks.

Definition at line 277 of file colvarparse.h.


Constructor & Destructor Documentation

colvarparse::read_block::read_block std::string const &    key_in,
std::string   data_in = NULL
 

Definition at line 859 of file colvarparse.C.

References data.

colvarparse::read_block::~read_block  
 

Definition at line 866 of file colvarparse.C.


Friends And Related Function Documentation

std::istream& operator>> std::istream &    is,
read_block const &    rb
[friend]
 

Definition at line 870 of file colvarparse.C.


The documentation for this class was generated from the following files:
Generated on Fri Mar 29 02:47:33 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002