#include <Interval.h>
Inheritance diagram for asdm::Interval:

Definition at line 63 of file Interval.h.
Public Member Functions | |
| Interval () | |
| Interval constructors. | |
| Interval (const Interval &) | |
| Interval (const string &s) | |
| Interval (const IDLInterval &) | |
| Interval (long long value) | |
| virtual | ~Interval () |
| Interval destructor. | |
| Interval & | operator= (const Interval &) |
| assignment operator | |
| Interval & | operator= (const long long) |
| assignment operator | |
| Interval & | operator+= (const Interval &) |
| assignment with arithmetic operators | |
| Interval & | operator-= (const Interval &) |
| Interval & | operator *= (const long long) |
| Interval & | operator/= (const long long) |
| Interval | operator+ (const Interval &) const |
| arithmetic functions | |
| Interval | operator- (const Interval &) const |
| Interval | operator * (const long long) const |
| Interval | operator/ (const long long) const |
| bool | operator< (const Interval &) const |
| comparison operators | |
| bool | operator> (const Interval &) const |
| bool | operator<= (const Interval &) const |
| bool | operator>= (const Interval &) const |
| bool | operator== (const Interval &) const |
| bool | equals (const Interval &) const |
| bool | operator!= (const Interval &) const |
| bool | isZero () const |
| Interval | operator- () const |
| unary - and + operators | |
| Interval | operator+ () const |
| string | toString () const |
| string | toStringI () const |
| void | toBin (EndianOSStream &eoss) |
| Write the binary representation of this into an EndianOSStream. | |
| operator string () const | |
| Conversion functions. | |
| long long | get () const |
| IDLInterval | toIDLInterval () const |
Static Public Member Functions | |
| static long long | fromString (const string &) |
| static string | toString (long long) |
| static Interval | getInterval (StringTokenizer &t) throw (NumberFormatException) |
| static void | toBin (vector< Interval > interval, EndianOSStream &eoss) |
| Write the binary representation of a vector of Interval into a EndianOSStream. | |
| static void | toBin (vector< vector< Interval > > interval, EndianOSStream &eoss) |
| Write the binary representation of a vector of vector of Interval into a EndianOSStream. | |
| static Interval | fromBin (EndianISStream &eiss) |
| Read the binary representation of an Interval from an EndianISStream and use the read value to set an Interval. | |
| static vector< Interval > | from1DBin (EndianISStream &eiss) |
| Read the binary representation of a vector of Interval from a EndianISStream and use the read value to set a vector of Interval. | |
| static vector< vector< Interval > > | from2DBin (EndianISStream &eiss) |
| Read the binary representation of a vector of vector of Interval from a EndianISStream and use the read value to set a vector of vector of Interval. | |
| static string | unit () |
Private Attributes | |
| long long | value |
Friends | |
| Interval | operator * (long long, const Interval &) |
| Friend functions. | |
| ostream & | operator<< (ostream &, const Interval &) |
| istream & | operator>> (istream &, Interval &) |
| asdm::Interval::Interval | ( | ) | [inline] |
| asdm::Interval::Interval | ( | const Interval & | ) | [inline] |
Definition at line 172 of file Interval.h.
| asdm::Interval::Interval | ( | const string & | s | ) | [inline] |
Definition at line 180 of file Interval.h.
| asdm::Interval::Interval | ( | const IDLInterval & | ) | [inline] |
Definition at line 176 of file Interval.h.
| asdm::Interval::Interval | ( | long long | value | ) | [inline] |
Definition at line 183 of file Interval.h.
| asdm::Interval::~Interval | ( | ) | [inline, virtual] |
| static long long asdm::Interval::fromString | ( | const string & | ) | [static] |
| static string asdm::Interval::toString | ( | long | long | ) | [static] |
| static Interval asdm::Interval::getInterval | ( | StringTokenizer & | t | ) | throw (NumberFormatException) [static] |
| Interval & asdm::Interval::operator= | ( | const long | long | ) | [inline] |
| Interval & asdm::Interval::operator *= | ( | const long | long | ) | [inline] |
| Interval & asdm::Interval::operator/= | ( | const long | long | ) | [inline] |
| Interval asdm::Interval::operator * | ( | const long | long | ) | const [inline] |
| Interval asdm::Interval::operator/ | ( | const long | long | ) | const [inline] |
| bool asdm::Interval::operator< | ( | const Interval & | ) | const [inline] |
| bool asdm::Interval::operator> | ( | const Interval & | ) | const [inline] |
| bool asdm::Interval::operator<= | ( | const Interval & | ) | const [inline] |
| bool asdm::Interval::operator>= | ( | const Interval & | ) | const [inline] |
| bool asdm::Interval::operator== | ( | const Interval & | ) | const [inline] |
| bool asdm::Interval::equals | ( | const Interval & | ) | const [inline] |
| bool asdm::Interval::operator!= | ( | const Interval & | ) | const [inline] |
| bool asdm::Interval::isZero | ( | ) | const |
| Interval asdm::Interval::operator- | ( | ) | const [inline] |
| Interval asdm::Interval::operator+ | ( | ) | const [inline] |
| string asdm::Interval::toString | ( | ) | const [inline] |
Definition at line 292 of file Interval.h.
References value.
Referenced by operator string(), and toStringI().
| string asdm::Interval::toStringI | ( | ) | const [inline] |
| void asdm::Interval::toBin | ( | EndianOSStream & | eoss | ) |
Write the binary representation of this into an EndianOSStream.
| eoss |
Reimplemented in asdm::ArrayTime.
| static void asdm::Interval::toBin | ( | vector< Interval > | interval, | |
| EndianOSStream & | eoss | |||
| ) | [static] |
Write the binary representation of a vector of Interval into a EndianOSStream.
| interval | ||
| eoss |
| static void asdm::Interval::toBin | ( | vector< vector< Interval > > | interval, | |
| EndianOSStream & | eoss | |||
| ) | [static] |
Write the binary representation of a vector of vector of Interval into a EndianOSStream.
| interval | ||
| eoss |
| static Interval asdm::Interval::fromBin | ( | EndianISStream & | eiss | ) | [static] |
Read the binary representation of an Interval from an EndianISStream and use the read value to set an Interval.
| eiss | the EndianISStream to be read |
Reimplemented in asdm::ArrayTime.
| static vector<Interval> asdm::Interval::from1DBin | ( | EndianISStream & | eiss | ) | [static] |
Read the binary representation of a vector of Interval from a EndianISStream and use the read value to set a vector of Interval.
| eiss | the EndianISStream to be read |
Reimplemented in asdm::ArrayTime.
| static vector<vector<Interval> > asdm::Interval::from2DBin | ( | EndianISStream & | eiss | ) | [static] |
Read the binary representation of a vector of vector of Interval from a EndianISStream and use the read value to set a vector of vector of Interval.
| eiss | the EndianISStream to be read |
Reimplemented in asdm::ArrayTime.
| asdm::Interval::operator string | ( | ) | const [inline] |
| long long asdm::Interval::get | ( | ) | const [inline] |
Definition at line 300 of file Interval.h.
References value.
Referenced by asdm::ArrayTimeInterval::ArrayTimeInterval(), asdm::ArrayTimeInterval::contains(), asdm::ArrayTimeInterval::equals(), asdm::ArrayTimeInterval::getDurationInDays(), asdm::ArrayTimeInterval::getDurationInNanoSeconds(), asdm::ArrayTimeInterval::getStartInNanoSeconds(), asdm::operator<<(), and asdm::ArrayTimeInterval::overlaps().
| IDLInterval asdm::Interval::toIDLInterval | ( | ) | const [inline] |
| string asdm::Interval::unit | ( | ) | [inline, static] |
Definition at line 330 of file Interval.h.
| ostream& operator<< | ( | ostream & | , | |
| const Interval & | ||||
| ) | [friend] |
| istream& operator>> | ( | istream & | , | |
| Interval & | ||||
| ) | [friend] |
long long asdm::Interval::value [private] |
Definition at line 164 of file Interval.h.
Referenced by equals(), get(), asdm::operator *(), operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<(), asdm::operator<<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), asdm::operator>>(), toIDLInterval(), toString(), and toStringI().
1.5.1