← Documentation
ADS-IDAC Engine 5.0.0
TimeRange Class Reference

#include <TimeRange.h>

Public Member Functions

void CopyTimeRangeFromAnother (TimeRange &)
 
float GetTimeBoundEarlier ()
 
std::string GetTimeInfoInString ()
 
float GetTimeBoundLater ()
 
 TimeRange ()
 
virtual ~TimeRange ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

float m_time_after
 
float m_time_before
 
float m_end_time
 
float m_start_time
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 11 of file TimeRange.h.

Constructor & Destructor Documentation

◆ TimeRange()

TimeRange::TimeRange ( )

Definition at line 13 of file TimeRange.cpp.

References m_end_time, m_start_time, m_time_after, and m_time_before.

◆ ~TimeRange()

TimeRange::~TimeRange ( )
virtual

Definition at line 21 of file TimeRange.cpp.

Member Function Documentation

◆ CopyTimeRangeFromAnother()

void TimeRange::CopyTimeRangeFromAnother ( TimeRange &  _TR)

Definition at line 91 of file TimeRange.cpp.

References m_end_time, m_start_time, m_time_after, and m_time_before.

Referenced by Statement::CopyStatementInfoFromAnother(), and ReasonMachine::MakeOneStepInferenceFromAStatement().

Here is the caller graph for this function:

◆ GetTimeBoundEarlier()

float TimeRange::GetTimeBoundEarlier ( )

Definition at line 79 of file TimeRange.cpp.

References m_start_time, and m_time_after.

Referenced by MRParameterUnit::AddNewValue(), Investigator::CompareKEandStatement3007(), ReasonMachine::FindAMatchingInvestigatorForAStatement(), ReasonMachine::FindASimilarOngoingInvestigator(), and Investigator::GetCorrespondingKE3001().

Here is the caller graph for this function:

◆ GetTimeBoundLater()

◆ GetTimeInfoInString()

string TimeRange::GetTimeInfoInString ( )

Definition at line 38 of file TimeRange.cpp.

References m_end_time, m_start_time, and m_time_after.

◆ serialize()

template<class Archive >
void TimeRange::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

Definition at line 27 of file TimeRange.h.

References m_end_time, m_start_time, m_time_after, and m_time_before.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 25 of file TimeRange.h.

Member Data Documentation

◆ m_end_time

◆ m_start_time

◆ m_time_after

◆ m_time_before


The documentation for this class was generated from the following files: