|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TPINTEGERVECTOR_P2_H
6 #define TPINTEGERVECTOR_P2_H
static size_t size_for(const T &)
tell how much space the object will take in the INT vector, so it can be reserved
TPIntegerVectorStorage_p2 * m_storage
TPIntegerVectorStorage_p2()
const_iterator begin() const
void push_double(const double &val)
double next_double(const_iterator &iter) const
TPObjRef next_TPObjRef(const_iterator &iter) const
void reserve(size_t new_size)
void push_vTPObjRef(const std::vector< TPObjRef > &val)
value_type & operator[](size_t idx)
TPIntegerVector_p2 IsAnIntVect
void grow(const size_t diff=1)
static size_t size_for_ref()
void push_int(const int &val)
float next_float(const_iterator &iter) const
std::string next_string(const_iterator &iter) const
const value_type & operator[](size_t idx) const
std::vector< position_type > m_endPos
void _store_bytes(const void *, size_t len)
static size_t size_for_blob(size_t blobsize)
void resize(size_t new_size)
const_iterator end() const
TPIntegerVector_p2(TPIntegerVectorStorage_p2 *storage, int idx)
TPIntegerVector_p2 operator[](int idx)
void push_string(const std::string &)
store std::string (assuming 8-bit chars). Uses push_chars()
Storage implementation for TP converters producing TP representation as series of ints.
std::vector< value_type > m_data
void next_vTPObjRef(const_iterator &iter, std::vector< TPObjRef > &vect) const
TPIntegerVector_p2::value_type value_type
const value_type * const_iterator
friend class TPIntegerVector_p2
void next_chars(const_iterator &iter, char *buff, size_t bufflen) const
size_t next_blob_size(const const_iterator &iter) const
return the size of the next blob, in bytes
void push_bytes(const void *s, size_t len)
store blob of a given size (will write out the size)
void push_back(const value_type &val)
void push_float(const float &val)
TPIntegerVector_p2 back()
unsigned startPos() const
void next_bytes(const_iterator &iter, void *buff, size_t bufflen) const
void push_TPObjRef(const TPObjRef &val)
void push_chars(const char *const)
store zero-terminated C string (does not write out the size)
const value_type & next(const_iterator &iter) const
int next_int(const_iterator &iter) const
unsigned reserved() const
static size_t size_for(const char *)
size_t next_string_size(const const_iterator &iter) const
return the size of the next string/chars