28     if (in >> ellipse.
x1 >> ellipse.
y1 >> ellipse.
r1) {
 
   30       if (in >> ellipse.
r2) {
 
   42         ellipse.
r2     = ellipse.
r1;
 
   62     out << ellipse.
x1     << 
' ' 
   86 int main(
int argc, 
char **argv)
 
   94   JParameters_t  parameters;
 
   96     Color_t        color        = kBlack;
 
  100     Color_t        color        = kBlack;
 
  101     Style_t        style        = kSolid;
 
  116     JParser<> zap(
"Auxiliary program to create TEllipse");
 
  119     zap[
'p'] = 
make_field(parameters,   
"x y r1 [r2 [phimin phimax]]");
 
  125   catch(
const exception &error) {
 
  126     FATAL(error.what() << endl);
 
  132   for (
size_t i = 0; i != parameters.size(); ++i) {
 
  134     TEllipse* p = 
new TEllipse(parameters[i].x1, parameters[i].y1, parameters[i].r1, parameters[i].r2, parameters[i].phimin, parameters[i].phimax);
 
  136     p->SetFillColor(fill.color);
 
  137     p->SetFillStyle(fill.style);
 
  138     p->SetLineColor(line.color);
 
  139     p->SetLineStyle(line.style);
 
  140     p->SetLineWidth(line.width);
 
int main(int argc, char **argv)
 
General purpose messaging.
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Utility class to parse parameter values.
 
#define zmake_property(A)
 
Utility class to parse parameter values.
 
Simple data structure to support I/O of equations (see class JLANG::JEquation).
 
Utility class to parse command line options.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary wrapper for I/O of container with optional comment (see JComment).
 
Auxiliary data structure for ellipse.
 
friend std::istream & operator>>(std::istream &in, JEllipse &ellipse)
Read ellipse from input stream.
 
friend std::ostream & operator<<(std::ostream &out, const JEllipse &ellipse)
Write ellipse to output stream.
 
Empty structure for specification of parser element that is initialised (i.e. does not require input)...