CTinyVector< Datatype, Sizetype, DefaultResizeStep > Class Template Reference

#include <TinyVector.H>

List of all members.

Public Member Functions

 CTinyVector (const Sizetype MaxSize=DefaultResizeStep)
 CTinyVector (const Datatype *Feld, const Sizetype Size)
 CTinyVector (const CTinyVector< Datatype > &tv)
void reset (void)
void resize (const Sizetype new_size)
void optisize (void)
void append (const Datatype value)
void fast_append (const Datatype value)
Datatype last (void) const
void copy_from (const Datatype *Feld, const Sizetype Size)
void copy_from (const CTinyVector< Datatype > &tv)
void optisized_copy_from (const Datatype *Feld, const Sizetype Size)
void optisized_copy_from (const CTinyVector< Datatype > &tv)
const CTinyVector< Datatype > & operator= (const CTinyVector< Datatype > &tv)

Private Types

typedef AutoStructArray
< Datatype, Sizetype >::Type 
Ancestor


Detailed Description

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
class CTinyVector< Datatype, Sizetype, DefaultResizeStep >

Type constraints

Definition at line 181 of file TinyVector.H.


Member Typedef Documentation

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
typedef AutoStructArray<Datatype,Sizetype>::Type CTinyVector< Datatype, Sizetype, DefaultResizeStep >::Ancestor [private]

Definition at line 184 of file TinyVector.H.


Constructor & Destructor Documentation

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
CTinyVector< Datatype, Sizetype, DefaultResizeStep >::CTinyVector ( const Sizetype  MaxSize = DefaultResizeStep  )  [inline, explicit]

Definition at line 186 of file TinyVector.H.

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
CTinyVector< Datatype, Sizetype, DefaultResizeStep >::CTinyVector ( const Datatype *  Feld,
const Sizetype  Size 
) [inline]

Definition at line 189 of file TinyVector.H.

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
CTinyVector< Datatype, Sizetype, DefaultResizeStep >::CTinyVector ( const CTinyVector< Datatype > &  tv  )  [inline]

Definition at line 196 of file TinyVector.H.


Member Function Documentation

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::reset ( void   )  [inline]

Definition at line 203 of file TinyVector.H.

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::resize ( const Sizetype  new_size  )  [inline]

Definition at line 207 of file TinyVector.H.

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::optisize ( void   )  [inline]

Definition at line 222 of file TinyVector.H.

Referenced by CRelation::optisize().

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::append ( const Datatype  value  )  [inline]

Definition at line 228 of file TinyVector.H.

Referenced by CRelation::combine(), and CRelation::multi_combine_main().

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::fast_append ( const Datatype  value  )  [inline]

Definition at line 241 of file TinyVector.H.

Referenced by CRelation::combine(), CRelation::convert_Relation_to_sparse(), and CRelation::multi_combine_main().

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
Datatype CTinyVector< Datatype, Sizetype, DefaultResizeStep >::last ( void   )  const [inline]

Definition at line 245 of file TinyVector.H.

Referenced by CRelation::largest_factor_in_Relation().

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::copy_from ( const Datatype *  Feld,
const Sizetype  Size 
) [inline]

Definition at line 255 of file TinyVector.H.

Referenced by CRelation::combine(), and CRelation::multi_combine_main().

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::copy_from ( const CTinyVector< Datatype > &  tv  )  [inline]

Definition at line 269 of file TinyVector.H.

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::optisized_copy_from ( const Datatype *  Feld,
const Sizetype  Size 
) [inline]

Definition at line 290 of file TinyVector.H.

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
void CTinyVector< Datatype, Sizetype, DefaultResizeStep >::optisized_copy_from ( const CTinyVector< Datatype > &  tv  )  [inline]

Definition at line 300 of file TinyVector.H.

template<typename Datatype, typename Sizetype = int, Sizetype DefaultResizeStep = 32>
const CTinyVector<Datatype>& CTinyVector< Datatype, Sizetype, DefaultResizeStep >::operator= ( const CTinyVector< Datatype > &  tv  )  [inline]

Definition at line 305 of file TinyVector.H.


The documentation for this class was generated from the following file:
Generated on Wed Nov 7 23:31:31 2007 for Qsieve by  doxygen 1.5.4