dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

lout::container::typed::Vector< T > Class Template Reference

Typed version of container::untyped::Vector. More...

#include <container.hh>

Inheritance diagram for lout::container::typed::Vector< T >:
[legend]
Collaboration diagram for lout::container::typed::Vector< T >:
[legend]

Public Member Functions

 Vector (int initSize, bool ownerOfObjects)
 
void put (T *newElement, int newPos=-1)
 
void insert (T *newElement, int pos)
 
void insertSorted (T *newElement)
 
void remove (int pos)
 
T * get (int pos) const
 
int size () const
 
void clear ()
 
void sort ()
 
int bsearch (T *key, bool mustExist)
 
- Public Member Functions inherited from lout::container::typed::Collection< T >
 Collection ()
 
 ~Collection ()
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
Iterator< T > iterator ()
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More...
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
virtual int hashValue ()
 Return a hash value for the object. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Additional Inherited Members

- Protected Attributes inherited from lout::container::typed::Collection< T >
untyped::Collectionbase
 

Detailed Description

template<class T>
class lout::container::typed::Vector< T >

Typed version of container::untyped::Vector.

Definition at line 399 of file container.hh.

Constructor & Destructor Documentation

◆ Vector()

template<class T>
lout::container::typed::Vector< T >::Vector ( int  initSize,
bool  ownerOfObjects 
)
inline

Definition at line 402 of file container.hh.

Member Function Documentation

◆ bsearch()

template<class T>
int lout::container::typed::Vector< T >::bsearch ( T *  key,
bool  mustExist 
)
inline

Definition at line 417 of file container.hh.

◆ clear()

template<class T>
void lout::container::typed::Vector< T >::clear ( )
inline

Definition at line 415 of file container.hh.

◆ get()

template<class T>
T* lout::container::typed::Vector< T >::get ( int  pos) const
inline

◆ insert()

template<class T>
void lout::container::typed::Vector< T >::insert ( T *  newElement,
int  pos 
)
inline

Definition at line 407 of file container.hh.

◆ insertSorted()

template<class T>
void lout::container::typed::Vector< T >::insertSorted ( T *  newElement)
inline

Definition at line 409 of file container.hh.

◆ put()

template<class T>
void lout::container::typed::Vector< T >::put ( T *  newElement,
int  newPos = -1 
)
inline

◆ remove()

template<class T>
void lout::container::typed::Vector< T >::remove ( int  pos)
inline

Definition at line 411 of file container.hh.

◆ size()

◆ sort()

template<class T>
void lout::container::typed::Vector< T >::sort ( )
inline

Definition at line 416 of file container.hh.


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