12#ifndef __CODAC2_TSLICE_H__
13#define __CODAC2_TSLICE_H__
25 using codac::Interval;
29 class AbstractSlicedTube;
35 explicit TSlice(
const Interval& tdomain);
36 TSlice(
const TSlice& tslice,
const Interval& tdomain);
37 const Interval& t0_tf()
const;
39 const std::map<const AbstractSlicedTube*,std::shared_ptr<AbstractSlice>>& slices()
const;
40 bool operator==(
const TSlice& x)
const;
41 bool operator!=(
const TSlice& x)
const;
42 friend std::ostream& operator<<(std::ostream& os,
const TSlice& x);
46 void set_tdomain(
const Interval& tdomain);
49 std::map<const AbstractSlicedTube*,std::shared_ptr<AbstractSlice>> _slices;