#include <Interval.h>
Inherited by asdm::ArrayTime, and asdm::UTCCorrection.
Public Member Functions | |
Interval (const Interval &) | |
Interval (const string &s) | |
Interval (const IDLInterval &) | |
Interval (long long value) | |
Interval & | operator= (const Interval &) |
Interval & | operator= (const long long) |
Interval & | operator+= (const Interval &) |
Interval & | operator-= (const Interval &) |
Interval & | operator *= (const long long) |
Interval & | operator/= (const long long) |
Interval | operator+ (const Interval &) const |
Interval | operator- (const Interval &) const |
Interval | operator * (const long long) const |
Interval | operator/ (const long long) const |
bool | operator< (const Interval &) const |
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 |
Interval | operator+ () const |
string | toString () const |
string | toStringI () const |
void | toBin (EndianOSStream &eoss) |
operator string () const | |
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) |
static void | toBin (vector< vector< Interval > > interval, EndianOSStream &eoss) |
static Interval | fromBin (EndianISStream &eiss) |
static vector< Interval > | from1DBin (EndianISStream &eiss) |
static vector< vector< Interval > > | from2DBin (EndianISStream &eiss) |
static string | unit () |
Friends | |
Interval | operator * (long long, const Interval &) |
ostream & | operator<< (ostream &, const Interval &) |
istream & | operator>> (istream &, Interval &) |
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.