BALL::PDBRecords Class Reference

PDB record class. More...

#include <PDBRecords.h>

List of all members.


Public Types

typedef std::vector< String >
::iterator
Iterator
typedef std::vector< String >
::iterator
iterator
typedef std::vector< String >
::const_iterator
ConstIterator
typedef std::vector< String >
::const_iterator
const_iterator
typedef std::vector< String >
::reverse_iterator
ReverseIterator
typedef std::vector< String >
::reverse_iterator
reverse_iterator
typedef std::vector< String >
::const_reverse_iterator
ConstReverseIterator
typedef std::vector< String >
::const_reverse_iterator
const_reverse_iterator
typedef String value_type
typedef String ValueType
typedef String & reference
typedef String & Reference
typedef const String & const_reference
typedef const String & ConstReference
typedef std::vector< String >
::difference_type
difference_type
typedef std::vector< String >
::difference_type
DifferenceType
typedef std::vector< String >
::size_type
size_type
typedef std::vector< String >
::size_type
SizeType

Public Member Functions

Constructors and Destructor
PDBRecords ()
PDBRecords (const PDBRecords &pdbi)
virtual ~PDBRecords ()
PDBRecords & operator= (const PDBRecords &rhs)
Assignment.
ConstIterator begin () const
STL container compatibility interface.
Iterator begin ()
ConstIterator end () const
Iterator end ()
ConstReverseIterator rbegin () const
ReverseIterator rbegin ()
ConstReverseIterator rend () const
ReverseIterator rend ()
SizeType size () const
SizeType max_size () const
SizeType capacity () const
bool empty () const
void clear ()
void resize (SizeType sz, ValueType c=ValueType())
Reference front ()
ConstReference front () const
Reference back ()
ConstReference back () const
void push_back (ConstReference x)
void insert (Iterator pos, ConstReference value)
void insert (Iterator pos, SizeType n, ConstReference value)
void pop_back ()
Iterator erase (Iterator pos)
Iterator erase (Iterator first, Iterator last)
bool operator== (const PDBRecords &rhs) const
bool operator!= (const PDBRecords &rhs) const
bool operator< (const PDBRecords &rhs) const
bool operator> (const PDBRecords &rhs) const
bool operator<= (const PDBRecords &rhs) const
bool operator>= (const PDBRecords &rhs) const
void swap (PDBRecords &rhs)
ConstReference operator[] (SizeType n) const
Reference operator[] (SizeType n)
ConstReference at (SizeType n) const throw (std::out_of_range)
Reference at (SizeType n) throw (std::out_of_range)

Protected Attributes

std::vector< String > records_
The PDB record buffer.

Detailed Description

PDB record class.

This class contains PDB records in an undigested format and provides some means of digesting this format. It is meant to capture all records not parsed by GenericPDBFile and PDBFile.

The class fulfills the requirements of an STL container and behaves mostly like the vector of Strings it actually is.

Member Function Documentation

ConstIterator BALL::PDBRecords::begin ( ) const

STL container compatibility interface.

These methods just wrap the corresponding methods of std::vector. Refer to STL documentation for details.


Generated on Thu Aug 6 18:30:30 2009 for BALL by doxygen 1.5.8