![]() |
Trax3 3.1.0
trax track library
|
Functions to stream data in and out. More...
Streaming functions for Interval | |
Streams data out and in. | |
| template<typename Valtype> | |
| std::ostream & | common::operator<< (std::ostream &os, const common::Interval< Valtype > &i) |
| Streams Interval data out. | |
| template<typename Valtype> | |
| std::istream & | common::operator>> (std::istream &is, common::Interval< Valtype > &i) |
| Streams Interval data in. | |
Dimensionated Values Streaming Functions: | |
These functions are used to stream dimensionated values to standard streams. These functions are meant for user interface or debug output/input, so they are not strictly roundtrip-safe, as they loose precision of floating point numbers according to the epsilon__[DimensionName] limits. But it is ok to use them with inert round trip safe data if a truncation in these limits is acceptable. Don't use them if between load and safe, there is a calculation. For dimension 'One' the precision can be raised to floating point precision, streaming std::setprecision(std::numeric_limits<One>::max_digits10). | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 0, 0, 0 > > &one) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 0, 0, 0 > > &one) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension<-1, 0, 0 > > &anglePerLength) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension<-1, 0, 0 > > &anglePerLength) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 1, 0, 0 > > &length) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 1, 0, 0 > > &length) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 2, 0, 0 > > &area) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 2, 0, 0 > > &area) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 3, 0, 0 > > &volume) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 3, 0, 0 > > &volume) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 0, 0, 1 > > &time) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 0, 0, 1 > > &time) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 0, 0,-1 > > &angularvelocity) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 0, 0,-1 > > &angularvelocity) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 1, 0,-1 > > &velocity) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 1, 0,-1 > > &velocity) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 1, 0,-2 > > &acceleration) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 1, 0,-2 > > &acceleration) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 0, 1, 0 > > &mass) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 0, 1, 0 > > &mass) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension<-3, 1, 0 > > &density) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension<-3, 1, 0 > > &density) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 1, 1,-2 > > &force) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 1, 1,-2 > > &force) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension<-1, 1, -2 > > &pressure) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension<-1, 1, -2 > > &pressure) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 1, 1, -1 > > &momentum) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 1, 1, -1 > > &momentum) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 2, 1, -1 > > &angularmomentum) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 2, 1, -1 > > &angularmomentum) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 2, 1,-2 > > &torque) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 2, 1,-2 > > &torque) |
| Streams Dimensionated value. | |
| dclspc_dim std::ostream & | dim::operator<< (std::ostream &ostr, const Value< Dimension< 2, 1,-3 > > &power) |
| Streams Dimensionated value. | |
| dclspc_dim std::istream & | dim::operator>> (std::istream &istr, Value< Dimension< 2, 1,-3 > > &power) |
| Streams Dimensionated value. | |
| template<typename A, typename B> | |
| std::ostream & | dim::operator<< (std::ostream &ostr, const std::pair< A, B > &pair) |
| Streams Dimensionated value. | |
| template<typename A, typename B> | |
| std::istream & | dim::operator>> (std::istream &is, std::pair< A, B > &pair) |
| Streams Dimensionated value. | |
| template<typename A, typename B, typename C> | |
| std::ostream & | dim::operator<< (std::ostream &ostr, const std::tuple< A, B, C > &tuple) |
| Streams Dimensionated value. | |
| template<typename A, typename B, typename C> | |
| std::istream & | dim::operator>> (std::istream &is, std::tuple< A, B, C > &tuple) |
| Streams Dimensionated value. | |
Streaming functions for trax objects | |
Streams data out and in. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Track::EndType &endType) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, Track::EndType &endType) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Track::End &end) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, Track::End &end) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &ost, const Location &location) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &ost, const TrackLocation &location) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &ost, const TrackLocationRef &location) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &ost, const TrackRange &range) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &ost, const Orientation &orient) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &ost, const Orientation::Value &orient) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &ost, NarrowSwitch::Status status) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const LineP::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Arc::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const ArcP::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Helix::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const HelixP::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Cubic::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Spline::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Clothoid::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Rotator::Data &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, LineP::Data &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, Arc::Data &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, ArcP::Data &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, Helix::Data &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, HelixP::Data &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, CubicData &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, Spline::Data &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, Clothoid::Data &data) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, Rotator::Data &data) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const EventFilter::Type &type) |
| Streams trax objects. | |
| std::istream & | trax::operator>> (std::istream &is, EventFilter::Type &type) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const JackEnumerator &jackenumerator) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Jack &jack) |
| Streams trax objects. | |
| std::ostream & | trax::operator<< (std::ostream &os, const Plug &plug) |
| Streams trax objects. | |
Functions to stream data in and out.