LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
Class for handling PDB Remarks. More...
#include <pdb_remarks.hpp>
Public Member Functions | |
int | numberOf (void) const |
int | size (void) const |
std::string | get (const int i) const |
Access the ith remark. | |
void | add (const std::string s) |
Add a remark. | |
void | add (const std::vector< std::string > &s) |
Add multiple remarks. | |
void | erase (const int i) |
Erase the ith remark. | |
std::string & | operator[] (const int i) |
Access the ith remark. | |
const std::string & | operator[] (const int i) const |
Access the ith remark. | |
std::vector< std::string > | allRemarks (void) const |
Returns a copy of the remarks vector. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Remarks &r) |
Output the Remark(s) in PDB format. | |
Class for handling PDB Remarks.
This class just manages a vector of strings, but it will truncate/pad the input strings to the appropriate length for a PDB file and then output them with record numbers.