TeoCCl library  0.1.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
teo::Queue Class Reference

#include <queue.hpp>

Public Member Functions

 Queue ()
 
virtual ~Queue ()
 
int freeAll ()
 
teoQueueDatanewData (void *data, size_t data_length)
 
teoQueueDatanewData (std::string data)
 
template<typename T >
teoQueueDatanewData (const T &data)
 
int freeData (teoQueueData *qd)
 
teoQueueDataadd (void *data, size_t data_length)
 
teoQueueDataadd (const std::string &data)
 
template<typename T >
teoQueueDataadd (const T &data)
 
teoQueueDataaddTop (void *data, size_t data_length)
 
teoQueueDataaddTop (std::string data)
 
template<typename T >
teoQueueDataaddTop (const T &data)
 
teoQueueDataaddAfter (void *data, size_t data_length, teoQueueData *after)
 
teoQueueDataaddAfter (std::string data, teoQueueData *after)
 
template<typename T >
teoQueueDataaddAfter (const T &data, teoQueueData *after)
 
teoQueueDataremove (teoQueueData *qd)
 
int del (teoQueueData *qd)
 
int delFirst ()
 
int delLast ()
 
teoQueueDatamoveToTop (teoQueueData *qd)
 
teoQueueDatamoveToEnd (teoQueueData *qd)
 
teoQueueDataput (teoQueueData *qd)
 
size_t size ()
 
teoQueueIteratoriterator ()
 
teoQueueDataiteratorNext (teoQueueIterator *it)
 
teoQueueDataiteratorPrev (teoQueueIterator *it)
 
teoQueueDataiteratorElement (teoQueueIterator *it)
 
teoQueueIteratoriteratorElement (teoQueueIterator *it, Queue *q=NULL)
 
int iteratorFree (teoQueueIterator *it)
 
int foreach (teoQueueForeachFunction callback, void *user_data=NULL)
 

Static Public Member Functions

template<typename T >
static T getData (void *data)
 

Constructor & Destructor Documentation

teo::Queue::Queue ( )
inline

References teoQueueNew().

virtual teo::Queue::~Queue ( )
inlinevirtual

References teoQueueDestroy().

Member Function Documentation

teoQueueData* teo::Queue::add ( void *  data,
size_t  data_length 
)
inline

References teoQueueAdd().

Referenced by add().

teoQueueData* teo::Queue::add ( const std::string &  data)
inline

References add().

template<typename T >
teoQueueData* teo::Queue::add ( const T &  data)
inline

References add().

teoQueueData* teo::Queue::addAfter ( void *  data,
size_t  data_length,
teoQueueData after 
)
inline

References teoQueueAddAfter().

Referenced by addAfter().

teoQueueData* teo::Queue::addAfter ( std::string  data,
teoQueueData after 
)
inline

References addAfter().

template<typename T >
teoQueueData* teo::Queue::addAfter ( const T &  data,
teoQueueData after 
)
inline

References addAfter().

teoQueueData* teo::Queue::addTop ( void *  data,
size_t  data_length 
)
inline

References teoQueueAddTop().

Referenced by addTop().

teoQueueData* teo::Queue::addTop ( std::string  data)
inline

References addTop().

template<typename T >
teoQueueData* teo::Queue::addTop ( const T &  data)
inline

References addTop().

int teo::Queue::del ( teoQueueData qd)
inline

References teoQueueDelete().

int teo::Queue::delFirst ( )
inline

References teoQueueDeleteFirst().

int teo::Queue::delLast ( )
inline

References teoQueueDeleteLast().

int teo::Queue::foreach ( teoQueueForeachFunction  callback,
void *  user_data = NULL 
)
inline

References teoQueueForeach().

int teo::Queue::freeAll ( )
inline

References teoQueueFree().

int teo::Queue::freeData ( teoQueueData qd)
inline
template<typename T >
static T teo::Queue::getData ( void *  data)
inlinestatic
teoQueueIterator* teo::Queue::iterator ( )
inline

References teoQueueIteratorNew().

teoQueueData* teo::Queue::iteratorElement ( teoQueueIterator it)
inline
teoQueueIterator* teo::Queue::iteratorElement ( teoQueueIterator it,
Queue q = NULL 
)
inline
int teo::Queue::iteratorFree ( teoQueueIterator it)
inline
teoQueueData* teo::Queue::iteratorNext ( teoQueueIterator it)
inline
teoQueueData* teo::Queue::iteratorPrev ( teoQueueIterator it)
inline
teoQueueData* teo::Queue::moveToEnd ( teoQueueData qd)
inline

References teoQueueMoveToEnd().

teoQueueData* teo::Queue::moveToTop ( teoQueueData qd)
inline

References teoQueueMoveToTop().

teoQueueData* teo::Queue::newData ( void *  data,
size_t  data_length 
)
inline

References teoQueueNewData().

Referenced by newData().

teoQueueData* teo::Queue::newData ( std::string  data)
inline

References newData().

template<typename T >
teoQueueData* teo::Queue::newData ( const T &  data)
inline

References newData().

teoQueueData* teo::Queue::put ( teoQueueData qd)
inline

References teoQueuePut().

teoQueueData* teo::Queue::remove ( teoQueueData qd)
inline

References teoQueueRemove().

size_t teo::Queue::size ( )
inline

References teoQueueSize().


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