MyClass Class Reference

#include <MyClass.h>

Inheritance diagram for MyClass:
TMyClass NonRoot

List of all members.

Public Member Functions

 MyClass (double x1=.2, double y1=.2, double x2=0.8, double y2=0.8)
virtual ~MyClass ()
virtual void Blah ()
virtual void Draw (Option_t *opt="")
virtual void Paint (Option_t *opt="")
virtual int DistancetoPrimitive (int px, int py)

Private Member Functions

 MyClass (const MyClass &rhs)
MyClassoperator= (const MyClass &rhs)

Private Attributes

TBox * fBox

Detailed Description

Definition at line 8 of file MyClass.h.


Constructor & Destructor Documentation

MyClass::MyClass ( double  x1 = .2,
double  y1 = .2,
double  x2 = 0.8,
double  y2 = 0.8 
) [inline]

Definition at line 13 of file MyClass.h.

References fBox.

00013                                                                       {
00014         cerr << "MyClass()\n"; 
00015         fBox = new TBox(x1,y1,x2,y2);
00016         fBox->SetFillColor(2);
00017     }

virtual MyClass::~MyClass (  )  [inline, virtual]

Definition at line 18 of file MyClass.h.

00018 { cerr << "~MyClass()\n"; }

MyClass::MyClass ( const MyClass rhs  )  [private]

Member Function Documentation

virtual void MyClass::Blah (  )  [inline, virtual]

Implements TMyClass.

Definition at line 19 of file MyClass.h.

00019 { cerr << "Blah!\n"; }

virtual int MyClass::DistancetoPrimitive ( int  px,
int  py 
) [inline, virtual]

Definition at line 29 of file MyClass.h.

References fBox.

00030         { return fBox->DistancetoPrimitive(px,py); }

virtual void MyClass::Draw ( Option_t *  opt = ""  )  [inline, virtual]

Definition at line 21 of file MyClass.h.

References Nav::GetName().

00021                                         { 
00022         cerr << "Draw: (this:" << this->GetName() << ", that:"
00023              << this->TMyClass::GetName() << ")\n";
00024         this->TMyClass::Draw(opt);
00025     }

MyClass& MyClass::operator= ( const MyClass rhs  )  [private]

Reimplemented from NonRoot.

virtual void MyClass::Paint ( Option_t *  opt = ""  )  [inline, virtual]

Definition at line 27 of file MyClass.h.

References fBox.

00028         { fBox->Paint(opt); }


Member Data Documentation

TBox* MyClass::fBox [private]

Definition at line 39 of file MyClass.h.

Referenced by DistancetoPrimitive(), MyClass(), and Paint().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1