29 #include "YUIException.h" 72 case YD_HORIZ:
return hor;
73 case YD_VERT:
return vert;
88 case YD_HORIZ:
return hor;
89 case YD_VERT:
return vert;
Author: Stefan Hundhammer sh@suse.de
const T & operator[](YUIDimension dim) const
Same as above for const objects.
Exception class for "value other than YD_HORIZ or YD_VERT used for dimension".
Template class for two-dimensional entities, such as.
YBothDim()
Default constructor (calls T default constructor for both values)
YBothDim(T hor, T vert)
Constructor with explicit initialization for both values.
T & operator[](YUIDimension dim)
operator[] for alternative access via myVar[ YD_HORIZ ] Please note that this returns a non-const ref...