BALL::PDBRecords Class Reference

#include <BALL/FORMAT/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 Stringreference
typedef StringReference
typedef const Stringconst_reference
typedef const StringConstReference
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 ()

PDBRecordsoperator= (const PDBRecords &rhs)

ConstIterator begin () const
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< Stringrecords_
 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.

Definition at line 29 of file PDBRecords.h.


Member Typedef Documentation

Definition at line 37 of file PDBRecords.h.

Definition at line 46 of file PDBRecords.h.

Definition at line 41 of file PDBRecords.h.

Definition at line 36 of file PDBRecords.h.

Definition at line 47 of file PDBRecords.h.

Definition at line 40 of file PDBRecords.h.

Definition at line 48 of file PDBRecords.h.

Definition at line 49 of file PDBRecords.h.

Definition at line 35 of file PDBRecords.h.

Definition at line 34 of file PDBRecords.h.

Definition at line 45 of file PDBRecords.h.

Definition at line 44 of file PDBRecords.h.

Definition at line 39 of file PDBRecords.h.

Definition at line 38 of file PDBRecords.h.

Definition at line 50 of file PDBRecords.h.

Definition at line 51 of file PDBRecords.h.

Definition at line 42 of file PDBRecords.h.

Definition at line 43 of file PDBRecords.h.


Constructor & Destructor Documentation

BALL::PDBRecords::PDBRecords (  ) 
BALL::PDBRecords::PDBRecords ( const PDBRecords pdbi  ) 
virtual BALL::PDBRecords::~PDBRecords (  )  [virtual]

Member Function Documentation

Reference BALL::PDBRecords::at ( SizeType  n  )  throw (std::out_of_range) [inline]

Definition at line 144 of file PDBRecords.h.

ConstReference BALL::PDBRecords::at ( SizeType  n  )  const throw (std::out_of_range) [inline]

Definition at line 142 of file PDBRecords.h.

ConstReference BALL::PDBRecords::back (  )  const [inline]

Definition at line 110 of file PDBRecords.h.

Reference BALL::PDBRecords::back (  )  [inline]

Definition at line 108 of file PDBRecords.h.

Iterator BALL::PDBRecords::begin (  )  [inline]

Definition at line 78 of file PDBRecords.h.

ConstIterator BALL::PDBRecords::begin (  )  const [inline]

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

Definition at line 76 of file PDBRecords.h.

SizeType BALL::PDBRecords::capacity (  )  const [inline]

Definition at line 96 of file PDBRecords.h.

void BALL::PDBRecords::clear (  )  [inline]

Definition at line 100 of file PDBRecords.h.

bool BALL::PDBRecords::empty (  )  const [inline]

Definition at line 98 of file PDBRecords.h.

Iterator BALL::PDBRecords::end (  )  [inline]

Definition at line 82 of file PDBRecords.h.

ConstIterator BALL::PDBRecords::end (  )  const [inline]

Definition at line 80 of file PDBRecords.h.

Iterator BALL::PDBRecords::erase ( Iterator  first,
Iterator  last 
) [inline]

Definition at line 122 of file PDBRecords.h.

Iterator BALL::PDBRecords::erase ( Iterator  pos  )  [inline]

Definition at line 120 of file PDBRecords.h.

ConstReference BALL::PDBRecords::front (  )  const [inline]

Definition at line 106 of file PDBRecords.h.

Reference BALL::PDBRecords::front (  )  [inline]

Definition at line 104 of file PDBRecords.h.

void BALL::PDBRecords::insert ( Iterator  pos,
SizeType  n,
ConstReference  value 
) [inline]

Definition at line 116 of file PDBRecords.h.

void BALL::PDBRecords::insert ( Iterator  pos,
ConstReference  value 
) [inline]

Definition at line 114 of file PDBRecords.h.

SizeType BALL::PDBRecords::max_size (  )  const [inline]

Definition at line 94 of file PDBRecords.h.

bool BALL::PDBRecords::operator!= ( const PDBRecords rhs  )  const [inline]

Definition at line 126 of file PDBRecords.h.

bool BALL::PDBRecords::operator< ( const PDBRecords rhs  )  const [inline]

Definition at line 128 of file PDBRecords.h.

bool BALL::PDBRecords::operator<= ( const PDBRecords rhs  )  const [inline]

Definition at line 132 of file PDBRecords.h.

PDBRecords& BALL::PDBRecords::operator= ( const PDBRecords rhs  ) 

Assignment

bool BALL::PDBRecords::operator== ( const PDBRecords rhs  )  const [inline]

Definition at line 124 of file PDBRecords.h.

bool BALL::PDBRecords::operator> ( const PDBRecords rhs  )  const [inline]

Definition at line 130 of file PDBRecords.h.

bool BALL::PDBRecords::operator>= ( const PDBRecords rhs  )  const [inline]

Definition at line 134 of file PDBRecords.h.

Reference BALL::PDBRecords::operator[] ( SizeType  n  )  [inline]

Definition at line 140 of file PDBRecords.h.

ConstReference BALL::PDBRecords::operator[] ( SizeType  n  )  const [inline]

Definition at line 138 of file PDBRecords.h.

void BALL::PDBRecords::pop_back (  )  [inline]

Definition at line 118 of file PDBRecords.h.

void BALL::PDBRecords::push_back ( ConstReference  x  )  [inline]

Definition at line 112 of file PDBRecords.h.

ReverseIterator BALL::PDBRecords::rbegin (  )  [inline]

Definition at line 86 of file PDBRecords.h.

ConstReverseIterator BALL::PDBRecords::rbegin (  )  const [inline]

Definition at line 84 of file PDBRecords.h.

ReverseIterator BALL::PDBRecords::rend (  )  [inline]

Definition at line 90 of file PDBRecords.h.

ConstReverseIterator BALL::PDBRecords::rend (  )  const [inline]

Definition at line 88 of file PDBRecords.h.

void BALL::PDBRecords::resize ( SizeType  sz,
ValueType  c = ValueType() 
) [inline]

Definition at line 102 of file PDBRecords.h.

SizeType BALL::PDBRecords::size (  )  const [inline]

Definition at line 92 of file PDBRecords.h.

void BALL::PDBRecords::swap ( PDBRecords rhs  )  [inline]

Definition at line 136 of file PDBRecords.h.


Member Data Documentation

std::vector<String> BALL::PDBRecords::records_ [protected]

The PDB record buffer.

Definition at line 149 of file PDBRecords.h.

Generated by  doxygen 1.6.3