Go to the documentation of this file.
5 #ifndef BALL_FORMAT_PDBRECORDS_H
6 #define BALL_FORMAT_PDBRECORDS_H
11 #ifndef BALL_DATATYPE_HASHMAP_H
15 #ifndef BALL_CONCEPT_PERSISTENCEMANAGER_H
37 typedef std::vector<String>::iterator
Iterator;
38 typedef std::vector<String>::iterator
iterator;
54 typedef std::vector<String>::size_type
SizeType;
103 bool empty()
const {
return records_.empty(); }
111 ConstReference
front()
const {
return records_.front(); }
115 ConstReference
back()
const {
return records_.back(); }
117 void push_back(ConstReference x) { records_.push_back(x); }
143 ConstReference operator [] (
SizeType n)
const {
return records_[n]; }
149 ConstReference
at(
SizeType n)
const {
return records_.at(n); }
179 #endif // BALL_FORMAT_PDBRECORDS_H
ConstReference back() const
Iterator erase(Iterator first, Iterator last)
std::vector< String >::difference_type DifferenceType
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
SizeType capacity() const
void resize(SizeType sz, ValueType c=ValueType())
ConstReference front() const
std::vector< String >::const_reverse_iterator ConstReverseIterator
std::vector< String >::size_type SizeType
void push_back(ConstReference x)
BALL_EXPORT bool operator<(const String &s1, const String &s2)
const typedef String & const_reference
std::vector< String >::difference_type difference_type
const typedef String & ConstReference
ConstReverseIterator rbegin() const
std::vector< String >::iterator Iterator
std::vector< String >::const_iterator ConstIterator
BALL_EXPORT bool operator>(const String &s1, const String &s2)
Iterator erase(Iterator pos)
std::vector< String >::iterator iterator
BALL_EXPORT bool operator>=(const String &s1, const String &s2)
void insert(Iterator pos, SizeType n, ConstReference value)
std::vector< String >::const_iterator const_iterator
void insert(Iterator pos, ConstReference value)
std::vector< String >::reverse_iterator reverse_iterator
std::vector< String >::reverse_iterator ReverseIterator
const BALL_EXTERN_VARIABLE double c
void swap(PDBRecords &rhs)
SizeType max_size() const
ConstReference at(SizeType n) const
BALL_EXPORT bool operator==(const String &s1, const String &s2)
ConstIterator end() const
std::vector< String >::size_type size_type
ConstReverseIterator rend() const
#define BALL_CREATE(name)
BALL_EXPORT bool operator<=(const String &s1, const String &s2)
void clear()
Clear function of the OCI, doing nothing here.
std::vector< String > records_
The PDB record buffer.
std::vector< String >::const_reverse_iterator const_reverse_iterator