Every descendant of DataType is associated with a SpaceTimeRef.
Public Member Functions | |
| SpaceTimeRef () | |
| The default constructor exists only to facilitate use of the standard containers. | |
| SpaceTimeRef (const Location &, const Time &) | |
| Build a SpaceTimeRef from a Location and a Time. | |
| SpaceTimeRef | operator+ (const Displacement &) const |
| Add a displacement. | |
| SpaceTimeRef | operator- (const Displacement &) const |
| Subtract a displacement. | |
| SpaceTimeRef | operator+ (const TimeInterval &) const |
| Add a TimeInterval. | |
| SpaceTimeRef | operator- (const TimeInterval &) const |
| Subtract a TimeInterval. | |
Public Attributes | |
| Location | location |
| Spatial part of the SpaceTimeRef. | |
| Time | time |
| Temporal part of the SpaceTimeRef. | |
Friends | |
| std::ostream & | operator<< (std::ostream &, const SpaceTimeRef &) |
| Print a nicely formatted string representation of this SpaceTimeRef. | |
| code::SpaceTimeRef::SpaceTimeRef | ( | ) | [inline] |
The default constructor exists only to facilitate use of the standard containers.
It should not be used otherwise.
Build a SpaceTimeRef from a Location and a Time.
| SpaceTimeRef code::SpaceTimeRef::operator+ | ( | const TimeInterval & | ) | const |
Add a TimeInterval.
Location stays the same.
| SpaceTimeRef code::SpaceTimeRef::operator+ | ( | const Displacement & | ) | const |
Add a displacement.
Time stays the same.
| SpaceTimeRef code::SpaceTimeRef::operator- | ( | const TimeInterval & | ) | const |
Subtract a TimeInterval.
Location stays the same.
| SpaceTimeRef code::SpaceTimeRef::operator- | ( | const Displacement & | ) | const |
Subtract a displacement.
Time stays the same.
| std::ostream& operator<< | ( | std::ostream & | , | |
| const SpaceTimeRef & | ||||
| ) | [friend] |
Print a nicely formatted string representation of this SpaceTimeRef.
Spatial part of the SpaceTimeRef.
Temporal part of the SpaceTimeRef.
1.4.7