![]() |
Rosetta Core
2014.16.56682
|
Data type Class to represent one field in PDB file. More...
#include <Field.hh>
Public Member Functions | |
| Field () | |
| various constructors - only for convenience. More... | |
| Field (Size s, Size e) | |
| Field (std::string type_, Size s, Size e) | |
| void | getValueFrom (std::string source) |
| read field value from given string. More... | |
Public Member Functions inherited from utility::Show | |
| virtual | ~Show () |
| virtual void | show (std::ostream &) const |
Static Public Member Functions | |
| static RecordRef & | getRecordCollection () |
| collection builder More... | |
Public Attributes | |
| std::string | type |
| string value of field, type of the field. More... | |
| std::string | value |
| Size | start |
| begining position in line, ending postion in line More... | |
| Size | end |
Static Private Attributes | |
| static RecordRef | PDB_Records_ |
| static holder for collection. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, Field const &F) |
| Debug output. More... | |
Data type Class to represent one field in PDB file.
| core::io::pdb::Field::Field | ( | ) |
various constructors - only for convenience.
Referenced by getRecordCollection().
|
static |
collection builder
check if records table was init, init table otherwise return reference to private static records collection
References Field(), and PDB_Records_.
Referenced by core::io::pdb::PDB_DReader::createRecords(), core::io::pdb::HeaderInformation::fill_header_record(), core::io::pdb::HeaderInformation::fill_wrapped_records(), and core::io::pdb::PDB_DReader::mapStringToRecord().
| void core::io::pdb::Field::getValueFrom | ( | std::string | source | ) |
read field value from given string.
References end, start, and value.
Referenced by core::io::pdb::PDB_DReader::mapStringToRecord().
|
friend |
Debug output.
| Size core::io::pdb::Field::end |
Referenced by getValueFrom(), and core::io::pdb::operator<<().
|
staticprivate |
static holder for collection.
static holder for collection of Fields.
Referenced by getRecordCollection().
| Size core::io::pdb::Field::start |
begining position in line, ending postion in line
Referenced by getValueFrom(), and core::io::pdb::operator<<().
| std::string core::io::pdb::Field::type |
string value of field, type of the field.
This class is intended to be just 'data' type class no need to make it private.
| std::string core::io::pdb::Field::value |
Referenced by getValueFrom(), core::io::pdb::PDB_DReader::mapStringToRecord(), and core::io::pdb::operator<<().
1.8.7