TTVLVEntry Class Reference

#include <TTVLVContainer.h>

Inheritance diagram for TTVLVEntry:

TGLVEntry TGLVEntry TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TTVLVEntry (const TGWindow *p, const TGPicture *bigpic, const TGPicture *smallpic, TGString *name, TGString **subnames, EListViewMode ViewMode)
virtual ~TTVLVEntry ()
const char * ConvertAliases ()
void CopyItem (TTVLVEntry *dest)
const char * GetAlias ()
TTVLVContainerGetContainer ()
TGItemContextGetContext ()
const char * GetConvName ()
const char * GetTrueName ()
TGToolTipGetTip ()
virtual Bool_t HandleCrossing (Event_t *event)
Bool_t HasAlias ()
Bool_t IsCut ()
void PrependTilde ()
void SetCutType (Bool_t type=kFALSE)
void SetItemName (const char *name)
void SetAlias (const char *alias)
void SetExpression (const char *name, const char *alias, Bool_t cutType=kFALSE)
void SetTrueName (const char *name)
void SetToolTipText (const char *text, Long_t delayms=1000)
void SetSmallPic (const TGPicture *spic)
void Empty ()
 TTVLVEntry (const TGWindow *p, const TGPicture *bigpic, const TGPicture *smallpic, TGString *name, TGString **subnames, EListViewMode ViewMode)
virtual ~TTVLVEntry ()
const char * ConvertAliases ()
void CopyItem (TTVLVEntry *dest)
const char * GetAlias ()
TTVLVContainerGetContainer ()
TGItemContextGetContext ()
const char * GetConvName ()
const char * GetTrueName ()
TGToolTipGetTip ()
virtual Bool_t HandleCrossing (Event_t *event)
Bool_t HasAlias ()
Bool_t IsCut ()
void PrependTilde ()
void SetCutType (Bool_t type=kFALSE)
void SetItemName (const char *name)
void SetAlias (const char *alias)
void SetExpression (const char *name, const char *alias, Bool_t cutType=kFALSE)
void SetTrueName (const char *name)
void SetToolTipText (const char *text, Long_t delayms=1000)
void SetSmallPic (const TGPicture *spic)
void Empty ()

Protected Member Functions

Bool_t FullConverted ()
Bool_t FullConverted ()

Protected Attributes

TTVLVContainerfContainer
TString fTrueName
TString fAlias
TString fConvName
TGToolTipfTip
Bool_t fIsCut
TGItemContextfContext
TTVLVContainerfContainer
TGToolTipfTip
TGItemContextfContext

Detailed Description

Definition at line 58 of file TTVLVContainer.h.


Constructor & Destructor Documentation

TTVLVEntry::TTVLVEntry ( const TGWindow p,
const TGPicture bigpic,
const TGPicture smallpic,
TGString name,
TGString **  subnames,
EListViewMode  ViewMode 
)

TTVLVEntry::~TTVLVEntry (  )  [virtual]

Definition at line 112 of file TTVLVContainer.cxx.

References fContext, and fTip.

TTVLVEntry::TTVLVEntry ( const TGWindow p,
const TGPicture bigpic,
const TGPicture smallpic,
TGString name,
TGString **  subnames,
EListViewMode  ViewMode 
)

virtual TTVLVEntry::~TTVLVEntry (  )  [virtual]


Member Function Documentation

Bool_t TTVLVEntry::FullConverted (  )  [protected]

Definition at line 145 of file TTVLVContainer.cxx.

References TString::Contains(), TTreeViewer::ExpressionList(), fConvName, GetAlias(), GetContainer(), TTVLVContainer::GetViewer(), kFALSE, kTRUE, and list.

Referenced by ConvertAliases().

const char * TTVLVEntry::ConvertAliases (  ) 

Definition at line 120 of file TTVLVContainer.cxx.

References TString::Data(), TTreeViewer::ExpressionList(), fConvName, fTrueName, FullConverted(), GetAlias(), GetContainer(), GetTrueName(), TTVLVContainer::GetViewer(), list, TString::ReplaceAll(), TIter::Reset(), and start.

Referenced by TTreeViewer::En(), and TTreeViewer::ExecuteDraw().

void TTVLVEntry::CopyItem ( TTVLVEntry dest  ) 

Definition at line 160 of file TTVLVContainer.cxx.

References TString::BeginsWith(), TString::Contains(), TString::Data(), fAlias, fIsCut, fTrueName, GetAlias(), PrependTilde(), and SetExpression().

const char* TTVLVEntry::GetAlias (  )  [inline]

Definition at line 79 of file TTVLVContainer.h.

References TString::Data(), and fAlias.

Referenced by ConvertAliases(), CopyItem(), TTreeViewer::ExecuteDraw(), TTreeViewer::ExecuteSpider(), TTVRecord::FormFrom(), FullConverted(), TTreeViewer::ProcessMessage(), TTreeViewer::SaveSource(), and TGSelectBox::ValidateAlias().

TTVLVContainer* TTVLVEntry::GetContainer (  )  [inline]

Definition at line 80 of file TTVLVContainer.h.

References fContainer.

Referenced by ConvertAliases(), TGItemContext::Draw(), TGItemContext::EditExpression(), FullConverted(), TGItemContext::RemoveItem(), and TGItemContext::Scan().

TGItemContext* TTVLVEntry::GetContext (  )  [inline]

Definition at line 81 of file TTVLVContainer.h.

References fContext.

Referenced by TTreeViewer::ProcessMessage().

const char* TTVLVEntry::GetConvName (  )  [inline]

Definition at line 82 of file TTVLVContainer.h.

References fConvName.

const char* TTVLVEntry::GetTrueName (  )  [inline]

Definition at line 83 of file TTVLVContainer.h.

References TString::Data(), and fTrueName.

Referenced by ConvertAliases(), TTVRecord::FormFrom(), TTreeViewer::ProcessMessage(), TTreeViewer::SaveSource(), and TGSelectBox::SaveText().

TGToolTip* TTVLVEntry::GetTip (  )  [inline]

Definition at line 84 of file TTVLVContainer.h.

References fTip.

Bool_t TTVLVEntry::HandleCrossing ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 170 of file TTVLVContainer.cxx.

References fTip, Event_t::fType, TGToolTip::Hide(), kEnterNotify, kTRUE, and TGToolTip::Reset().

Bool_t TTVLVEntry::HasAlias (  ) 

Definition at line 183 of file TTVLVContainer.cxx.

References fAlias, kFALSE, kTRUE, and TString::Length().

Bool_t TTVLVEntry::IsCut (  )  [inline]

Definition at line 87 of file TTVLVContainer.h.

References fIsCut.

Referenced by TTreeViewer::EditExpression(), and TTreeViewer::SaveSource().

void TTVLVEntry::PrependTilde (  ) 

Definition at line 191 of file TTVLVContainer.cxx.

References TString::Data(), fAlias, and SetItemName().

Referenced by CopyItem().

void TTVLVEntry::SetCutType ( Bool_t  type = kFALSE  ) 

Definition at line 214 of file TTVLVContainer.cxx.

References TGObject::fClient, fIsCut, TGClient::GetPicture(), SetSmallPic(), and SetToolTipText().

Referenced by SetExpression().

void TTVLVEntry::SetItemName ( const char *  name  ) 

Reimplemented from TGLVEntry.

Definition at line 199 of file TTVLVContainer.cxx.

References TGObject::fClient, TGLVEntry::fFontStruct, TGObject::fId, TGLVEntry::fItemName, TGLVEntry::fTHeight, TGLVEntry::fTWidth, TGLVEntry::GetDefaultSize(), TGString::GetLength(), TGString::GetString(), gVirtualX, TGClient::NeedRedraw(), and TGFrame::Resize().

Referenced by PrependTilde(), and SetExpression().

void TTVLVEntry::SetAlias ( const char *  alias  )  [inline]

Definition at line 91 of file TTVLVContainer.h.

References fAlias.

Referenced by SetExpression().

void TTVLVEntry::SetExpression ( const char *  name,
const char *  alias,
Bool_t  cutType = kFALSE 
)

Definition at line 228 of file TTVLVContainer.cxx.

References TGObject::fClient, fIsCut, TGClient::GetPicture(), TGLVEntry::GetUserData(), TTreeViewer::kLTDragType, TTreeViewer::kLTPackType, SetAlias(), SetCutType(), SetItemName(), SetSmallPic(), SetToolTipText(), and SetTrueName().

Referenced by CopyItem(), Empty(), open_session(), TTVRecord::PlugIn(), TGSelectBox::SaveText(), and TGItemContext::SetExpression().

void TTVLVEntry::SetTrueName ( const char *  name  )  [inline]

Definition at line 93 of file TTVLVContainer.h.

References fTrueName.

Referenced by TTreeViewer::Empty(), TGSelectBox::SaveText(), and SetExpression().

void TTVLVEntry::SetToolTipText ( const char *  text,
Long_t  delayms = 1000 
)

Definition at line 257 of file TTVLVContainer.cxx.

References TGObject::fClient, fTip, and TGClient::GetRoot().

Referenced by Empty(), TGSelectBox::SaveText(), SetCutType(), and SetExpression().

void TTVLVEntry::SetSmallPic ( const TGPicture spic  ) 

Definition at line 271 of file TTVLVContainer.cxx.

References TGLVEntry::DoRedraw(), TGLVEntry::fActive, TGObject::fClient, TGLVEntry::fCurrent, TGClient::FreePicture(), TGLVEntry::fSelPic, and TGLVEntry::fSmallPic.

Referenced by TTreeViewer::Empty(), TTVRecord::PlugIn(), TTreeViewer::ProcessMessage(), SetCutType(), and SetExpression().

void TTVLVEntry::Empty (  ) 

Definition at line 247 of file TTVLVContainer.cxx.

References TGLVEntry::GetUserData(), TTreeViewer::kLTDragType, SetExpression(), and SetToolTipText().

Referenced by TTreeViewer::Empty(), and TGItemContext::Empty().

Bool_t TTVLVEntry::FullConverted (  )  [protected]

const char* TTVLVEntry::ConvertAliases (  ) 

void TTVLVEntry::CopyItem ( TTVLVEntry dest  ) 

const char* TTVLVEntry::GetAlias (  )  [inline]

Definition at line 79 of file TTVLVContainer.h.

References TString::Data(), and fAlias.

TTVLVContainer* TTVLVEntry::GetContainer (  )  [inline]

Definition at line 80 of file TTVLVContainer.h.

References fContainer.

TGItemContext* TTVLVEntry::GetContext (  )  [inline]

Definition at line 81 of file TTVLVContainer.h.

References fContext.

const char* TTVLVEntry::GetConvName (  )  [inline]

Definition at line 82 of file TTVLVContainer.h.

References fConvName.

const char* TTVLVEntry::GetTrueName (  )  [inline]

Definition at line 83 of file TTVLVContainer.h.

References TString::Data(), and fTrueName.

TGToolTip* TTVLVEntry::GetTip (  )  [inline]

Definition at line 84 of file TTVLVContainer.h.

References fTip.

virtual Bool_t TTVLVEntry::HandleCrossing ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Bool_t TTVLVEntry::HasAlias (  ) 

Bool_t TTVLVEntry::IsCut (  )  [inline]

Definition at line 87 of file TTVLVContainer.h.

References fIsCut.

void TTVLVEntry::PrependTilde (  ) 

void TTVLVEntry::SetCutType ( Bool_t  type = kFALSE  ) 

void TTVLVEntry::SetItemName ( const char *  name  ) 

Reimplemented from TGLVEntry.

void TTVLVEntry::SetAlias ( const char *  alias  )  [inline]

Definition at line 91 of file TTVLVContainer.h.

References fAlias.

void TTVLVEntry::SetExpression ( const char *  name,
const char *  alias,
Bool_t  cutType = kFALSE 
)

void TTVLVEntry::SetTrueName ( const char *  name  )  [inline]

Definition at line 93 of file TTVLVContainer.h.

References fTrueName.

void TTVLVEntry::SetToolTipText ( const char *  text,
Long_t  delayms = 1000 
)

void TTVLVEntry::SetSmallPic ( const TGPicture spic  ) 

void TTVLVEntry::Empty (  ) 


Member Data Documentation

TTVLVContainer* TTVLVEntry::fContainer [protected]

Definition at line 61 of file TTVLVContainer.h.

Referenced by GetContainer().

TString TTVLVEntry::fTrueName [protected]

Definition at line 62 of file TTVLVContainer.h.

Referenced by ConvertAliases(), CopyItem(), GetTrueName(), and SetTrueName().

TString TTVLVEntry::fAlias [protected]

Definition at line 63 of file TTVLVContainer.h.

Referenced by CopyItem(), GetAlias(), HasAlias(), PrependTilde(), and SetAlias().

TString TTVLVEntry::fConvName [protected]

Definition at line 64 of file TTVLVContainer.h.

Referenced by ConvertAliases(), FullConverted(), and GetConvName().

TGToolTip* TTVLVEntry::fTip [protected]

Definition at line 65 of file TTVLVContainer.h.

Referenced by GetTip(), HandleCrossing(), SetToolTipText(), and ~TTVLVEntry().

Bool_t TTVLVEntry::fIsCut [protected]

Definition at line 66 of file TTVLVContainer.h.

Referenced by CopyItem(), IsCut(), SetCutType(), and SetExpression().

TGItemContext* TTVLVEntry::fContext [protected]

Definition at line 67 of file TTVLVContainer.h.

Referenced by GetContext(), and ~TTVLVEntry().

TTVLVContainer* TTVLVEntry::fContainer [protected]

Definition at line 61 of file TTVLVContainer.h.

TGToolTip* TTVLVEntry::fTip [protected]

Definition at line 65 of file TTVLVContainer.h.

TGItemContext* TTVLVEntry::fContext [protected]

Definition at line 67 of file TTVLVContainer.h.


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