00001 #ifndef _CTBrange_HXX
00002 #define _CTBrange_HXX 1
00003
00008
00009
00010
00011
00012
00013
00014
00015
00016 class CTBrange {
00017 public:
00018 CTBrange();
00019 CTBrange(CTBint i_ind);
00020 CTBrange(CTBint i_begin, CTBint i_end);
00021
00022 CTBint Begin() const;
00023 CTBint End() const;
00024
00025 void Begin(CTBint i_begin);
00026 void End(CTBint i_end);
00027
00028 void ToStream(ostream& os) const;
00029 void FromStream(istream& is);
00030
00031 friend bool operator==(const CTBrange& lhs, const CTBrange& rhs);
00032
00033 private:
00034
00035 CTBint mi_begin;
00036 CTBint mi_end;
00037 };
00038
00039 ostream& operator<<(ostream& os, const CTBrange& obj);
00040 istream& operator>>(istream& is, CTBrange& obj);
00041
00042 #if !(defined(CTB__OutLine) || defined(CTBrange__OutLine))
00043 #include "CTBrange.icc"
00044 #endif
00045
00046 #endif