TMethod Class Reference

#include <TMethod.h>

Inheritance diagram for TMethod:

TFunction TFunction List of all members.

Public Member Functions

 TMethod (MethodInfo_t *info=0, TClass *cl=0)
 TMethod (const TMethod &org)
TMethod & operator= (const TMethod &rhs)
virtual ~TMethod ()
virtual TObject * Clone (const char *newname="") const
TClass * GetClass () const
EMenuItemKind IsMenuItem () const
virtual const char * GetCommentString ()
virtual const char * Getter () const
virtual TMethodCall * GetterMethod ()
virtual TMethodCall * SetterMethod ()
virtual TDataMember * FindDataMember ()
virtual TList * GetListOfMethodArgs ()
virtual void SetMenuItem (EMenuItemKind menuItem)
 TMethod (MethodInfo_t *info=0, TClass *cl=0)
 TMethod (const TMethod &org)
TMethod & operator= (const TMethod &rhs)
virtual ~TMethod ()
virtual TObject * Clone (const char *newname="") const
TClass * GetClass () const
EMenuItemKind IsMenuItem () const
virtual const char * GetCommentString ()
virtual const char * Getter () const
virtual TMethodCall * GetterMethod ()
virtual TMethodCall * SetterMethod ()
virtual TDataMember * FindDataMember ()
virtual TList * GetListOfMethodArgs ()
virtual void SetMenuItem (EMenuItemKind menuItem)

Private Member Functions

void CreateSignature ()
void CreateSignature ()

Private Attributes

TClass * fClass
EMenuItemKind fMenuItem
TString fGetter
TMethodCall * fGetterMethod
TMethodCall * fSetterMethod
TClass * fClass
TMethodCall * fGetterMethod
TMethodCall * fSetterMethod

Detailed Description

Definition at line 40 of file TMethod.h.


Constructor & Destructor Documentation

TMethod::TMethod ( MethodInfo_t *  info = 0,
TClass *  cl = 0 
)

Referenced by Clone().

TMethod::TMethod ( const TMethod &  org  ) 

Definition at line 72 of file TMethod.cxx.

References fClass, fGetter, fGetterMethod, fMenuItem, and fSetterMethod.

TMethod::~TMethod (  )  [virtual]

Definition at line 104 of file TMethod.cxx.

References fGetterMethod, and fSetterMethod.

TMethod::TMethod ( MethodInfo_t *  info = 0,
TClass *  cl = 0 
)

TMethod::TMethod ( const TMethod &  org  ) 

virtual TMethod::~TMethod (  )  [virtual]


Member Function Documentation

void TMethod::CreateSignature (  )  [private, virtual]

Reimplemented from TFunction.

Definition at line 132 of file TMethod.cxx.

References TFunction::CreateSignature(), TFunction::fSignature, and TFunction::Property().

TMethod & TMethod::operator= ( const TMethod &  rhs  ) 

Definition at line 84 of file TMethod.cxx.

References fClass, fGetter, fGetterMethod, fMenuItem, fSetterMethod, and TFunction::operator=().

TObject * TMethod::Clone ( const char *  newname = ""  )  const [virtual]

Reimplemented from TFunction.

Definition at line 113 of file TMethod.cxx.

References TNamed::SetName(), and TMethod().

TClass* TMethod::GetClass (  )  const [inline]

Definition at line 57 of file TMethod.h.

References fClass.

Referenced by FindDataMember(), and TDocOutput::ReferenceEntity().

EMenuItemKind TMethod::IsMenuItem (  )  const [inline]

Definition at line 58 of file TMethod.h.

References fMenuItem.

const char * TMethod::GetCommentString (  )  [virtual]

Definition at line 123 of file TMethod.cxx.

References TFunction::fInfo, gCint, and TInterpreter::MethodInfo_Title().

Referenced by TQObject::CheckConnectArgs(), FindDataMember(), and TTabCom::Hook().

virtual const char* TMethod::Getter (  )  const [inline, virtual]

Definition at line 60 of file TMethod.h.

References fGetter.

Referenced by GetterMethod().

TMethodCall * TMethod::GetterMethod (  )  [virtual]

Definition at line 279 of file TMethod.cxx.

References fClass, fGetter, fGetterMethod, fMenuItem, Getter(), and kMenuToggle.

Referenced by TToggle::SetToggledObject().

TMethodCall * TMethod::SetterMethod (  )  [virtual]

Definition at line 291 of file TMethod.cxx.

References fClass, fMenuItem, fSetterMethod, and kMenuToggle.

Referenced by TToggle::SetToggledObject().

TDataMember * TMethod::FindDataMember (  )  [virtual]

Definition at line 142 of file TMethod.cxx.

References a, xmlio::cnt, Fatal(), TList::First(), TFunction::fMethodArgs, funcname, TClass::GetBaseDataMember(), GetClass(), GetCommentString(), TClass::GetDataMember(), TCollection::GetSize(), i, ptr1, ptr2, snprintf, and strlcpy().

Referenced by GetListOfMethodArgs(), and TToggle::SetToggledObject().

TList * TMethod::GetListOfMethodArgs (  )  [virtual]

Reimplemented from TFunction.

Definition at line 303 of file TMethod.cxx.

References FindDataMember(), TFunction::fMethodArgs, and TFunction::GetListOfMethodArgs().

Referenced by TGuiBldMenuDialog::Build(), TQRootDialog::ExecuteMethod(), and TClassDocOutput::WriteMethod().

virtual void TMethod::SetMenuItem ( EMenuItemKind  menuItem  )  [inline, virtual]

Definition at line 65 of file TMethod.h.

References fMenuItem.

void TMethod::CreateSignature (  )  [private, virtual]

Reimplemented from TFunction.

TMethod& TMethod::operator= ( const TMethod &  rhs  ) 

virtual TObject* TMethod::Clone ( const char *  newname = ""  )  const [virtual]

Reimplemented from TFunction.

TClass* TMethod::GetClass (  )  const [inline]

Definition at line 57 of file TMethod.h.

References fClass.

EMenuItemKind TMethod::IsMenuItem (  )  const [inline]

Definition at line 58 of file TMethod.h.

References fMenuItem.

virtual const char* TMethod::GetCommentString (  )  [virtual]

virtual const char* TMethod::Getter (  )  const [inline, virtual]

Definition at line 60 of file TMethod.h.

References fGetter.

virtual TMethodCall* TMethod::GetterMethod (  )  [virtual]

virtual TMethodCall* TMethod::SetterMethod (  )  [virtual]

virtual TDataMember* TMethod::FindDataMember (  )  [virtual]

virtual TList* TMethod::GetListOfMethodArgs (  )  [virtual]

Reimplemented from TFunction.

virtual void TMethod::SetMenuItem ( EMenuItemKind  menuItem  )  [inline, virtual]

Definition at line 65 of file TMethod.h.

References fMenuItem.


Member Data Documentation

TClass* TMethod::fClass [private]

Definition at line 43 of file TMethod.h.

Referenced by GetClass(), GetterMethod(), operator=(), SetterMethod(), and TMethod().

EMenuItemKind TMethod::fMenuItem [private]

Definition at line 44 of file TMethod.h.

Referenced by GetterMethod(), IsMenuItem(), operator=(), SetMenuItem(), SetterMethod(), and TMethod().

TString TMethod::fGetter [private]

Definition at line 45 of file TMethod.h.

Referenced by Getter(), GetterMethod(), operator=(), and TMethod().

TMethodCall* TMethod::fGetterMethod [private]

Definition at line 46 of file TMethod.h.

Referenced by GetterMethod(), operator=(), TMethod(), and ~TMethod().

TMethodCall* TMethod::fSetterMethod [private]

Definition at line 47 of file TMethod.h.

Referenced by operator=(), SetterMethod(), TMethod(), and ~TMethod().

TClass* TMethod::fClass [private]

Definition at line 43 of file TMethod.h.

TMethodCall* TMethod::fGetterMethod [private]

Definition at line 46 of file TMethod.h.

TMethodCall* TMethod::fSetterMethod [private]

Definition at line 47 of file TMethod.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:42:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1