User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Tuples


Various fixed sized containers.

These classes let you aggregate objects together without generating a new class. They have a hash method as so can be used to generate keys for hash tables. This saves on typing, but can make code difficult to follow, so use with caution.

Normal classes:

 PairC Pair of homogenious objects
 Tuple2C Class containing two other arbitrary classes
 Tuple3C Class containing 3 other classes.
 Tuple4C Class containing 4 other classes.

Normal functions:

 operator<<(ostream &,const PairC &)
 operator>>(istream &,PairC &)
 operator <<(ostream &,const Tuple2C &)
 operator >>(istream &,Tuple2C &)
 operator <<(BinOStreamC &,const Tuple2C &)
 operator >>(BinIStreamC &,Tuple2C &)
 operator <<(ostream &,const Tuple3C &)
 operator >>(istream &,Tuple3C &)
 operator <<(BinOStreamC &,const Tuple3C &)
 operator >>(BinIStreamC &,Tuple3C &)
 operator <<(ostream &,const Tuple4C &)
 operator >>(istream &,Tuple4C &)
 operator <<(BinOStreamC &,const Tuple4C &)
 operator >>(BinIStreamC &,Tuple4C &)

Advanced classes:

 TFVectorC Fixed size vector.

Advanced functions:

 operator >>(istream &,TFVectorC &)
 operator <<(ostream &,const TFVectorC &)
 TFVector2(const DataT &,const DataT &) Create a 2d vector.
 TFVector3(const DataT &,const DataT &,const DataT &) Create a 3d vector.
 TFVector4(const DataT &,const DataT &,const DataT &,const DataT &) Create a 3d vector.
 SetZero(TFVectorC &) Set vector to zero.
 operator *(const DataT &,const TFVectorC &)
 operator <<(ostream &,const TFVectorC &) Specialise byte vectors so they're treated as numerical values.
 operator >>(istream &,TFVectorC &) Specialise byte vectors so they're treated as numerical values.
 operator <<(ostream &,const TFVectorC &) Specialise byte vectors so they're treated as numerical values.
 operator >>(istream &,TFVectorC &) Specialise byte vectors so they're treated as numerical values.
Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 10:00:52 2002