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:
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. |
|