Go to the documentation of this file.    1 #ifndef __JDETECTOR__JMODULELOCATION__ 
    2 #define __JDETECTOR__JMODULELOCATION__ 
   70       return static_cast<const JModuleLocation&>(*
this);
 
   81       return static_cast<JModuleLocation&>(*
this);
 
   92       static_cast<JModuleLocation&>(*
this) = location;
 
  117     std::string 
toString(
const std::string& fmt, 
const std::string target = 
"%")
 const 
  121       buffer.
replace(target, 
string, 1);
 
  175       in >> location.
floor;
 
  192       out << setw(3) << location.
string;
 
  194       out << setw(2) << location.
floor;
 
  210       in >> location.
floor;
 
  226       out << location.
floor;
 
 
friend JWriter & operator<<(JWriter &out, const JModuleLocation &location)
Write module location to output.
 
Interface for binary input.
 
friend std::istream & operator>>(std::istream &in, JModuleLocation &location)
Read module location from input.
 
JString & replace(const char target, const char replacement, const std::size_t max=std::numeric_limits< std::size_t >::max())
Replace characters.
 
bool less(const JModuleLocation &location) const
Less than method.
 
std::string toString(const std::string &fmt, const std::string target="%") const
Convert module loation to string.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Logical location of module.
 
JModuleLocation & getLocation()
Get location.
 
Wrapper class around STL string class.
 
Interface for binary output.
 
std::string toString() const
Convert module location to string.
 
const JModuleLocation & getLocation() const
Get location.
 
friend std::ostream & operator<<(std::ostream &out, const JModuleLocation &location)
Write module location to output.
 
void setLocation(const JModuleLocation &location)
Set location.
 
Template definition of auxiliary base class for comparison of data structures.
 
JModuleLocation(const int string, const int floor)
Constructor.
 
JModuleLocation()
Default constructor.
 
int getFloor() const
Get floor number.
 
Auxiliary classes and methods for detector calibration.
 
int getString() const
Get string number.
 
friend JReader & operator>>(JReader &in, JModuleLocation &location)
Read module location from input.