Logo Search packages:      
Sourcecode: ocropus version File versions  Download package

colib::objlist< T > Class Template Reference

#include <objlist.h>

List of all members.

Detailed Description

template<class T>
class colib::objlist< T >

Wrapper for narray that makes lists of objects less painful.

Definition at line 41 of file objlist.h.

Public Types

typedef autoref< T > Element

Public Member Functions

void clear ()
void dealloc (int i)
void dealloc ()
T & last ()
int length ()
T * move (int i0)
T & operator() (int i0)
T & operator[] (int i0)
T & pop ()
T * ptr (int i0)
T & push ()
T & ref (int i0)
void resize (int n)

Public Attributes

narray< Elementdata

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

Generated by  Doxygen 1.6.0   Back to index