1 #ifndef __JDETECTOR__JMODULELOCATION__ 
    2 #define __JDETECTOR__JMODULELOCATION__ 
   20 namespace JDETECTOR {}
 
   21 namespace JPP { 
using namespace JDETECTOR; }
 
  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;
 
const JModuleLocation & getLocation() const 
Get location. 
 
Interface for binary output. 
 
Wrapper class around STL string class. 
 
friend std::istream & operator>>(std::istream &in, JModuleLocation &location)
Read module location from input. 
 
friend std::ostream & operator<<(std::ostream &out, const JModuleLocation &location)
Write module location to output. 
 
int getFloor() const 
Get floor number. 
 
int getString() const 
Get string number. 
 
JModuleLocation(const int string, const int floor)
Constructor. 
 
std::string toString() const 
Convert module location to string. 
 
void setLocation(const JModuleLocation &location)
Set location. 
 
Interface for binary input. 
 
Template definition of auxiliary base class for comparison of data structures. 
 
std::string toString(const std::string &fmt, const std::string target="%") const 
Convert module loation to string. 
 
bool less(const JModuleLocation &location) const 
Less than method. 
 
JString & replace(const char target, const char replacement, const std::size_t max=std::numeric_limits< std::size_t >::max())
Replace characters. 
 
JModuleLocation()
Default constructor. 
 
JModuleLocation & getLocation()
Get location. 
 
friend JReader & operator>>(JReader &in, JModuleLocation &location)
Read module location from input. 
 
Logical location of module. 
 
friend JWriter & operator<<(JWriter &out, const JModuleLocation &location)
Write module location to output.