Collective Variables Module - Developer Documentation
Public Member Functions | Friends | List of all members
colvarparse::read_block Class Reference

Helper class to read a block of the type "key { ... }" from a stream and store it in a string. More...

#include <colvarparse.h>

Public Member Functions

 read_block (std::string const &key_in, std::string &data_in)
 

Friends

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

Detailed Description

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


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