Jpp  18.0.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
JAANET::time_interval Struct Reference

UTC time interval for event generation. More...

#include <JHead.hh>

Public Member Functions

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

Public Attributes

double t1
 Start time in seconds. More...
 
double t2
 Stop time in seconds. More...
 

Detailed Description

UTC time interval for event generation.

Definition at line 1131 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::time_interval::time_interval ( )
inline

Default constructor.

Definition at line 1135 of file JHead.hh.

1135  :
1136  t1(0),
1137  t2(0)
1138  {}
double t1
Start time in seconds.
Definition: JHead.hh:1151
double t2
Stop time in seconds.
Definition: JHead.hh:1152

Member Function Documentation

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 1146 of file JHead.hh.

1147  {
1148  return (this->t1 == object.t1 && this->t2 == object.t2);
1149  }
double t1
Start time in seconds.
Definition: JHead.hh:1151
double t2
Stop time in seconds.
Definition: JHead.hh:1152
JAANET::time_interval::ClassDefNV ( time_interval  ,
 
)

Member Data Documentation

double JAANET::time_interval::t1

Start time in seconds.

Definition at line 1151 of file JHead.hh.

double JAANET::time_interval::t2

Stop time in seconds.

Definition at line 1152 of file JHead.hh.


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