Jpp  debug
the software that should make you happy
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
JDATABASE::APIV2::JDetector Struct Reference

#include <JDetectors.hh>

Inheritance diagram for JDATABASE::APIV2::JDetector:
JDATABASE::JSonHelper< JDetector > TObject

Public Member Functions

 JDetector ()
 
 JDetector (const JDetectors &detector)
 Copy constructor. More...
 
 operator JDetectors () const
 Type conversion operator. More...
 
 ClassDef (JDetector, 1)
 

Static Public Member Functions

static const char *const getName ()
 Table name. More...
 

Public Attributes

std::string DetOID
 
int DetId
 
std::string Location
 
std::string City
 

Detailed Description

Definition at line 35 of file JDetectors.hh.

Constructor & Destructor Documentation

◆ JDetector() [1/2]

JDATABASE::APIV2::JDetector::JDetector ( )
inline

Definition at line 41 of file JDetectors.hh.

41 {}

◆ JDetector() [2/2]

JDATABASE::APIV2::JDetector::JDetector ( const JDetectors detector)
inline

Copy constructor.

Parameters
detectordetector

Definition at line 48 of file JDetectors.hh.

48  :
49  DetOID (detector.OID),
50  DetId (detector.SERIALNUMBER),
51  Location (detector.LOCATIONID),
52  City (detector.CITY)
53  {}
std::string LOCATIONID
Definition: JDetectors.hh:27

Member Function Documentation

◆ getName()

static const char* const JDATABASE::APIV2::JDetector::getName ( )
inlinestatic

Table name.

Definition at line 39 of file JDetectors.hh.

◆ operator JDetectors()

JDATABASE::APIV2::JDetector::operator JDetectors ( ) const
inline

Type conversion operator.

Returns
detector

Definition at line 60 of file JDetectors.hh.

61  {
62  JDetectors detector;
63 
64  detector.OID = this->DetOID;
65  detector.SERIALNUMBER = this->DetId;
66  detector.LOCATIONID = this->Location;
67  detector.CITY = this->City;
68 
69  return detector;
70  }

◆ ClassDef()

JDATABASE::APIV2::JDetector::ClassDef ( JDetector  ,
 
)

Member Data Documentation

◆ DetOID

std::string JDATABASE::APIV2::JDetector::DetOID

Definition at line 72 of file JDetectors.hh.

◆ DetId

int JDATABASE::APIV2::JDetector::DetId

Definition at line 73 of file JDetectors.hh.

◆ Location

std::string JDATABASE::APIV2::JDetector::Location

Definition at line 74 of file JDetectors.hh.

◆ City

std::string JDATABASE::APIV2::JDetector::City

Definition at line 75 of file JDetectors.hh.


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