Jpp  test_elongated_shower_pde
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
JDATABASE::JProductIntegration_t Struct Reference

Auxiliary class for product integration data. More...

#include <JDetectorIntegration_t.hh>

Public Member Functions

 JProductIntegration_t ()
 Default constructor. More...
 
 JProductIntegration_t (const JProductIntegration &input)
 Constructor. More...
 
bool is_set () const
 Check product status. More...
 
void set ()
 Set product status. More...
 
void unset ()
 Unset product status. More...
 

Public Attributes

std::string operation
 
int position
 
JUPI_t container
 
JUPI_t content
 
JDate_t start_date
 
JDate_t end_date
 
bool status
 

Friends

std::ostream & operator<< (std::ostream &out, const JProductIntegration_t &object)
 Write product integration to output stream. More...
 

Detailed Description

Auxiliary class for product integration data.

This class is primarily used to

Definition at line 61 of file JDetectorIntegration_t.hh.

Constructor & Destructor Documentation

JDATABASE::JProductIntegration_t::JProductIntegration_t ( )
inline

Default constructor.

Definition at line 65 of file JDetectorIntegration_t.hh.

65  :
66  status(false)
67  {}
JDATABASE::JProductIntegration_t::JProductIntegration_t ( const JProductIntegration input)
inline

Constructor.

Parameters
inputproduct integration data

Definition at line 75 of file JDetectorIntegration_t.hh.

75  :
76  status(false)
77  {
78  using namespace std;
79 
80  this->operation = input.OPERATIONID;
81  this->position = input.POSITION;
82  this->container = input.CONTAINER_UPI;
83  this->content = input.CONTENT_UPI;
84 
85  istringstream(input.STARTD) >> this->start_date;
86  istringstream(input.ENDD) >> this->end_date;
87  }

Member Function Documentation

bool JDATABASE::JProductIntegration_t::is_set ( ) const
inline

Check product status.

Returns
true if set; else false

Definition at line 95 of file JDetectorIntegration_t.hh.

96  {
97  return status;
98  }
void JDATABASE::JProductIntegration_t::set ( )
inline

Set product status.

Definition at line 104 of file JDetectorIntegration_t.hh.

105  {
106  status = true;
107  }
void JDATABASE::JProductIntegration_t::unset ( )
inline

Unset product status.

Definition at line 113 of file JDetectorIntegration_t.hh.

114  {
115  status = false;
116  }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const JProductIntegration_t object 
)
friend

Write product integration to output stream.

Parameters
outoutput stream
objectproduct integration
Returns
output stream

Definition at line 126 of file JDetectorIntegration_t.hh.

127  {
128  using namespace std;
129 
130  out << object.operation << ' '
131  << object.container.getUPI() << ' '
132  << object.content .getUPI() << ' '
133  << object.position << ' '
134  << object.start_date << ' '
135  << object.end_date;
136 
137  return out;
138  }

Member Data Documentation

std::string JDATABASE::JProductIntegration_t::operation

Definition at line 141 of file JDetectorIntegration_t.hh.

int JDATABASE::JProductIntegration_t::position

Definition at line 142 of file JDetectorIntegration_t.hh.

JUPI_t JDATABASE::JProductIntegration_t::container

Definition at line 143 of file JDetectorIntegration_t.hh.

JUPI_t JDATABASE::JProductIntegration_t::content

Definition at line 144 of file JDetectorIntegration_t.hh.

JDate_t JDATABASE::JProductIntegration_t::start_date

Definition at line 145 of file JDetectorIntegration_t.hh.

JDate_t JDATABASE::JProductIntegration_t::end_date

Definition at line 146 of file JDetectorIntegration_t.hh.

bool JDATABASE::JProductIntegration_t::status

Definition at line 147 of file JDetectorIntegration_t.hh.


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