Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions
Vector< T > Class Template Reference

#include <vector.hpp>

Public Member Functions

 Vector ()
 ~Vector ()
const T & operator[] (UInt32 i) const
T & operator[] (UInt32 i)
const T & front () const
T & front ()
const T & back () const
T & back ()
const T * begin () const
T * begin ()
const T * end () const
T * end ()
void push_back ()
void push_back (const T &x)
void pop_back ()
void clear ()
void resize (UInt32 new_size)
template<typename U >
void resize (UInt32 new_size, const U &value)
void reserve (UInt32 new_capacity)
void swap (Vector *rhs)
bool empty () const
UInt32 size () const
UInt32 capacity () const

Detailed Description

template<typename T>
class grn::dat::Vector< T >

Definition at line 29 of file vector.hpp.

Constructor & Destructor Documentation

Vector ( )
inline

Definition at line 31 of file vector.hpp.

~Vector ( )
inline

Definition at line 32 of file vector.hpp.

Member Function Documentation

const T& back ( ) const
inline

Definition at line 57 of file vector.hpp.

Here is the caller graph for this function:

T& back ( )
inline

Definition at line 61 of file vector.hpp.

const T* begin ( ) const
inline

Definition at line 66 of file vector.hpp.

Here is the caller graph for this function:

T* begin ( )
inline

Definition at line 69 of file vector.hpp.

UInt32 capacity ( ) const
inline

Definition at line 176 of file vector.hpp.

Here is the caller graph for this function:

void clear ( )
inline

Definition at line 97 of file vector.hpp.

Here is the caller graph for this function:

bool empty ( ) const
inline

Definition at line 170 of file vector.hpp.

Here is the caller graph for this function:

const T* end ( ) const
inline

Definition at line 73 of file vector.hpp.

Here is the caller graph for this function:

T* end ( )
inline

Definition at line 76 of file vector.hpp.

const T& front ( ) const
inline

Definition at line 48 of file vector.hpp.

Here is the caller graph for this function:

T& front ( )
inline

Definition at line 52 of file vector.hpp.

const T& operator[] ( UInt32  i) const
inline

Definition at line 39 of file vector.hpp.

T& operator[] ( UInt32  i)
inline

Definition at line 43 of file vector.hpp.

void pop_back ( )
inline

Definition at line 91 of file vector.hpp.

Here is the caller graph for this function:

void push_back ( )
inline

Definition at line 80 of file vector.hpp.

Here is the caller graph for this function:

void push_back ( const T &  x)
inline

Definition at line 85 of file vector.hpp.

void reserve ( UInt32  new_capacity)
inline

Definition at line 127 of file vector.hpp.

Here is the caller graph for this function:

void resize ( UInt32  new_size)
inline

Definition at line 101 of file vector.hpp.

Here is the caller graph for this function:

void resize ( UInt32  new_size,
const U &  value 
)
inline

Definition at line 114 of file vector.hpp.

UInt32 size ( ) const
inline

Definition at line 173 of file vector.hpp.

Here is the caller graph for this function:

void swap ( Vector< T > *  rhs)
inline

Definition at line 156 of file vector.hpp.


The documentation for this class was generated from the following file: