![]() |
ATLAS Offline Software
|
#include <TPIntegerVector_p2.h>
Public Types | |
| typedef unsigned int | value_type |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
| typedef TPIntegerVector_p2 | IsAnIntVect |
Public Member Functions | |
| TPIntegerVector_p2 (TPIntegerVectorStorage_p2 *storage, int idx) | |
| unsigned | size () const |
| unsigned | reserved () const |
| void | resize (size_t new_size) |
| void | reserve (size_t new_size) |
| void | grow (const size_t diff=1) |
| value_type & | operator[] (size_t idx) |
| const value_type & | operator[] (size_t idx) const |
| void | push_back (const value_type &val) |
| void | push_int (const int &val) |
| void | push_float (const float &val) |
| void | push_double (const double &val) |
| void | push_chars (const char *const) |
| store zero-terminated C string (does not write out the size) More... | |
| void | push_string (const std::string &) |
| store std::string (assuming 8-bit chars). Uses push_chars() More... | |
| void | push_bytes (const void *s, size_t len) |
| store blob of a given size (will write out the size) More... | |
| void | push_TPObjRef (const TPObjRef &val) |
| void | push_vTPObjRef (const std::vector< TPObjRef > &val) |
| size_t | next_string_size (const const_iterator &iter) const |
| return the size of the next string/chars More... | |
| size_t | next_blob_size (const const_iterator &iter) const |
| return the size of the next blob, in bytes More... | |
| const value_type & | next (const_iterator &iter) const |
| int | next_int (const_iterator &iter) const |
| float | next_float (const_iterator &iter) const |
| double | next_double (const_iterator &iter) const |
| TPObjRef | next_TPObjRef (const_iterator &iter) const |
| std::string | next_string (const_iterator &iter) const |
| void | next_chars (const_iterator &iter, char *buff, size_t bufflen) const |
| void | next_bytes (const_iterator &iter, void *buff, size_t bufflen) const |
| void | next_vTPObjRef (const_iterator &iter, std::vector< TPObjRef > &vect) const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
Static Public Member Functions | |
| template<typename T > | |
| static size_t | size_for (const T &) |
| tell how much space the object will take in the INT vector, so it can be reserved More... | |
| static size_t | size_for (const char *) |
| static size_t | size_for_ref () |
| static size_t | size_for_blob (size_t blobsize) |
Protected Member Functions | |
| unsigned | startPos () const |
| bool | lastElement () const |
| void | _store_bytes (const void *, size_t len) |
Protected Attributes | |
| TPIntegerVectorStorage_p2 * | m_storage |
| unsigned int | m_position |
Definition at line 21 of file TPIntegerVector_p2.h.
Definition at line 26 of file TPIntegerVector_p2.h.
Definition at line 28 of file TPIntegerVector_p2.h.
| typedef value_type* TPIntegerVector_p2::iterator |
Definition at line 25 of file TPIntegerVector_p2.h.
| typedef unsigned int TPIntegerVector_p2::value_type |
Definition at line 24 of file TPIntegerVector_p2.h.
|
inline |
Definition at line 30 of file TPIntegerVector_p2.h.
|
protected |
|
inline |
Definition at line 92 of file TPIntegerVector_p2.h.
|
inline |
Definition at line 95 of file TPIntegerVector_p2.h.
|
inline |
Definition at line 93 of file TPIntegerVector_p2.h.
|
inline |
Definition at line 96 of file TPIntegerVector_p2.h.
| void TPIntegerVector_p2::grow | ( | const size_t | diff = 1 | ) |
|
protected |
| const value_type& TPIntegerVector_p2::next | ( | const_iterator & | iter | ) | const |
| size_t TPIntegerVector_p2::next_blob_size | ( | const const_iterator & | iter | ) | const |
return the size of the next blob, in bytes
| void TPIntegerVector_p2::next_bytes | ( | const_iterator & | iter, |
| void * | buff, | ||
| size_t | bufflen | ||
| ) | const |
| void TPIntegerVector_p2::next_chars | ( | const_iterator & | iter, |
| char * | buff, | ||
| size_t | bufflen | ||
| ) | const |
| double TPIntegerVector_p2::next_double | ( | const_iterator & | iter | ) | const |
| float TPIntegerVector_p2::next_float | ( | const_iterator & | iter | ) | const |
| int TPIntegerVector_p2::next_int | ( | const_iterator & | iter | ) | const |
| std::string TPIntegerVector_p2::next_string | ( | const_iterator & | iter | ) | const |
| size_t TPIntegerVector_p2::next_string_size | ( | const const_iterator & | iter | ) | const |
return the size of the next string/chars
| TPObjRef TPIntegerVector_p2::next_TPObjRef | ( | const_iterator & | iter | ) | const |
| void TPIntegerVector_p2::next_vTPObjRef | ( | const_iterator & | iter, |
| std::vector< TPObjRef > & | vect | ||
| ) | const |
| value_type& TPIntegerVector_p2::operator[] | ( | size_t | idx | ) |
| const value_type& TPIntegerVector_p2::operator[] | ( | size_t | idx | ) | const |
| void TPIntegerVector_p2::push_back | ( | const value_type & | val | ) |
| void TPIntegerVector_p2::push_bytes | ( | const void * | s, |
| size_t | len | ||
| ) |
store blob of a given size (will write out the size)
store zero-terminated C string (does not write out the size)
| void TPIntegerVector_p2::push_double | ( | const double & | val | ) |
| void TPIntegerVector_p2::push_float | ( | const float & | val | ) |
| void TPIntegerVector_p2::push_int | ( | const int & | val | ) |
| void TPIntegerVector_p2::push_string | ( | const std::string & | ) |
store std::string (assuming 8-bit chars). Uses push_chars()
| void TPIntegerVector_p2::reserve | ( | size_t | new_size | ) |
| unsigned TPIntegerVector_p2::reserved | ( | ) | const |
| void TPIntegerVector_p2::resize | ( | size_t | new_size | ) |
| unsigned TPIntegerVector_p2::size | ( | ) | const |
|
static |
|
static |
tell how much space the object will take in the INT vector, so it can be reserved
|
static |
|
static |
|
protected |
|
protected |
Definition at line 105 of file TPIntegerVector_p2.h.
|
protected |
Definition at line 104 of file TPIntegerVector_p2.h.
1.8.18