Jpp 20.0.0
the software that should make you happy
Loading...
Searching...
No Matches
JAANET::time_interval Struct Reference

UTC time interval for event generation. More...

#include <JHead.hh>

Public Member Functions

 time_interval ()
 Default constructor.
 
bool match (const time_interval &object) const
 Test match.
 
 ClassDefNV (time_interval, 1)
 

Public Attributes

long int t1
 Start time in seconds.
 
long int t2
 Stop time in seconds.
 

Detailed Description

UTC time interval for event generation.

Definition at line 1144 of file JHead.hh.

Constructor & Destructor Documentation

◆ time_interval()

JAANET::time_interval::time_interval ( )
inline

Default constructor.

Definition at line 1148 of file JHead.hh.

1148 :
1149 t1(0),
1150 t2(0)
1151 {}
long int t1
Start time in seconds.
Definition JHead.hh:1164
long int t2
Stop time in seconds.
Definition JHead.hh:1165

Member Function Documentation

◆ match()

bool JAANET::time_interval::match ( const time_interval & object) const
inline

Test match.

Parameters
objecttime interval
Returns
true if matches; else false

Definition at line 1159 of file JHead.hh.

1160 {
1161 return (this->t1 == object.t1 && this->t2 == object.t2);
1162 }

◆ ClassDefNV()

JAANET::time_interval::ClassDefNV ( time_interval ,
1  )

Member Data Documentation

◆ t1

long int JAANET::time_interval::t1

Start time in seconds.

Definition at line 1164 of file JHead.hh.

◆ t2

long int JAANET::time_interval::t2

Stop time in seconds.

Definition at line 1165 of file JHead.hh.


The documentation for this struct was generated from the following file: