Vector.h File Reference


Detailed Description

Simple array-like container class.

Implemented as a general purpose abstract base-class SAbstractVector, with the concrete class SVector layered on top and templatized on the array type.

#include <support/SupportDefs.h>
#include <support/Value.h>
#include <support/TypeFuncs.h>
#include <support/Debug.h>
#include <support/Flattenable.h>
#include <ErrorMgr.h>

Go to the source code of this file.

Classes

class  SAbstractVector
 Abstract type-independent implementation of a vector (array). More...
class  SVector
 Templatized vector (array) container class. More...

Functions

template<class TYPE>
SValue BArrayAsValue (const TYPE *, size_t)
template<class TYPE>
status_t BArrayConstruct (TYPE *, const SValue &, size_t)
template<class TYPE>
void BMoveAfter (SVector< TYPE > *to, SVector< TYPE > *from, size_t count=1)
void BMoveAfter (SAbstractVector *to, SAbstractVector *from, size_t count)
template<class TYPE>
void BMoveBefore (SVector< TYPE > *to, SVector< TYPE > *from, size_t count=1)
void BMoveBefore (SAbstractVector *to, SAbstractVector *from, size_t count)
template<class TYPE>
void BSwap (SVector< TYPE > &v1, SVector< TYPE > &v2)
void BSwap (SAbstractVector &v1, SAbstractVector &v2)


Function Documentation

SValue BArrayAsValue const TYPE *  ,
size_t 
[inline]
 

status_t BArrayConstruct TYPE *  ,
const SValue ,
size_t 
[inline]