#include <TStructViewer.h>
Inheritance diagram for TStructViewer:
Definition at line 26 of file TStructViewer.h.
TStructViewer::TStructViewer | ( | void * | ptr = NULL , |
|
const char * | clname = NULL | |||
) |
Definition at line 67 of file TStructViewer.cxx.
References TList::Add(), fColors, fGUI, fPointer, fPointerClass, fTopNode, NULL, and SetPointer().
TStructViewer::~TStructViewer | ( | ) |
Definition at line 85 of file TStructViewer.cxx.
References TList::Clear(), fColors, Reset(), and TCollection::SetOwner().
TStructViewer::TStructViewer | ( | void * | ptr = NULL , |
|
const char * | clname = NULL | |||
) |
TStructViewer::~TStructViewer | ( | ) |
void TStructViewer::AddNode | ( | TStructNode * | node, | |
ULong_t | size | |||
) | [private] |
Definition at line 95 of file TStructViewer.cxx.
References fLevelArray, fLevelMembersCount, fLevelSize, TStructNode::GetLevel(), and list.
Referenced by CountMembers(), and Prepare().
void TStructViewer::CountMembers | ( | TClass * | cl, | |
TStructNode * | parent, | |||
void * | pointer | |||
) | [private] |
Definition at line 113 of file TStructViewer.cxx.
References TExMap::Add(), AddNode(), TVirtualCollectionProxy::At(), TClass::BuildRealData(), xmlio::Class, TObject::ClassName(), fPointers, TStructNode::GetAllMembersCount(), TClass::GetClass(), TClass::GetCollectionProxy(), TClass::GetListOfDataMembers(), TStructNode::GetMembersCount(), TObject::GetName(), TStructNode::GetPointer(), TClassEdit::GetSplit(), TStructNode::GetTotalSize(), TVirtualCollectionProxy::GetType(), TExMap::GetValue(), TVirtualCollectionProxy::GetValueClass(), TVirtualCollectionProxy::HasPointers(), i, TClass::InheritsFrom(), kBasic, kClass, kCollection, kFALSE, kNoType_t, kSTLCollection, kTRUE, name, NULL, ptr, TClassEdit::ResolveTypedef(), TStructNode::SetAllMembersCount(), TStructNode::SetMembersCount(), TStructNode::SetNodeType(), TStructNode::SetTotalSize(), TVirtualCollectionProxy::Size(), TClass::Size(), size, TVirtualCollectionProxy::Sizeof(), and type.
Referenced by Prepare().
void TStructViewer::Prepare | ( | ) | [private] |
Definition at line 407 of file TStructViewer.cxx.
References AddNode(), xmlio::Class, CountMembers(), fPointer, fPointerClass, fTopNode, TClass::InheritsFrom(), kClass, name, NULL, Reset(), TClass::Size(), and size.
Referenced by SetPointer().
void TStructViewer::Reset | ( | ) | [private] |
Definition at line 426 of file TStructViewer.cxx.
References TList::Clear(), TObjArray::Clear(), TObject::Clear(), fLevelArray, fLevelMembersCount, fLevelSize, fPointers, fTopNode, NULL, and TCollection::SetOwner().
Referenced by Prepare(), and ~TStructViewer().
void TStructViewer::Draw | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 340 of file TStructViewer.cxx.
References fGUI, fTopNode, and TStructViewerGUI::SetNodePtr().
Referenced by gviz3d().
TCanvas * TStructViewer::GetCanvas | ( | ) |
Definition at line 360 of file TStructViewer.cxx.
References fGUI, and TStructViewerGUI::GetCanvas().
TGMainFrame * TStructViewer::GetFrame | ( | ) |
TColor TStructViewer::GetColor | ( | const char * | typeName | ) |
Definition at line 500 of file TStructViewer.cxx.
References fColors, TStructNodeProperty::GetColor(), and TNamed::GetName().
TExMap TStructViewer::GetLevelMembersCount | ( | ) | const |
TExMap TStructViewer::GetLevelSize | ( | ) | const |
Bool_t TStructViewer::GetLinksVisibility | ( | ) | const |
Definition at line 399 of file TStructViewer.cxx.
References fGUI, and TStructViewerGUI::GetLinksVisibility().
void * TStructViewer::GetPointer | ( | ) | const |
Definition at line 447 of file TStructViewer.cxx.
References TList::Add(), fColors, fGUI, TColor::GetColor(), TNamed::GetName(), name, TStructNodeProperty::SetColor(), TList::Sort(), and TStructViewerGUI::Update().
Referenced by FillColorsMap().
void TStructViewer::SetLinksVisibility | ( | Bool_t | val | ) |
Definition at line 469 of file TStructViewer.cxx.
References fGUI, and TStructViewerGUI::SetLinksVisibility().
void TStructViewer::SetPointer | ( | void * | ptr, | |
const char * | clname = NULL | |||
) |
Definition at line 477 of file TStructViewer.cxx.
References a, fGUI, fPointer, fPointerClass, fTopNode, TClass::GetClass(), Prepare(), and TStructViewerGUI::SetNodePtr().
Referenced by TStructViewerGUI::SetPointerButtonSlot(), and TStructViewer().
TStructViewer::ClassDef | ( | TStructViewer | , | |
0 | ||||
) |
void TStructViewer::AddNode | ( | TStructNode * | node, | |
ULong_t | size | |||
) | [private] |
void TStructViewer::CountMembers | ( | TClass * | cl, | |
TStructNode * | parent, | |||
void * | pointer | |||
) | [private] |
void TStructViewer::Prepare | ( | ) | [private] |
void TStructViewer::Reset | ( | ) | [private] |
TCanvas* TStructViewer::GetCanvas | ( | ) |
TGMainFrame* TStructViewer::GetFrame | ( | ) |
TColor TStructViewer::GetColor | ( | const char * | typeName | ) |
TExMap TStructViewer::GetLevelMembersCount | ( | ) | const |
TExMap TStructViewer::GetLevelSize | ( | ) | const |
Bool_t TStructViewer::GetLinksVisibility | ( | ) | const |
void* TStructViewer::GetPointer | ( | ) | const |
void TStructViewer::SetLinksVisibility | ( | Bool_t | val | ) |
void TStructViewer::SetPointer | ( | void * | ptr, | |
const char * | clname = NULL | |||
) |
TStructViewer::ClassDef | ( | TStructViewer | , | |
0 | ||||
) |
void* TStructViewer::fPointer [private] |
Definition at line 29 of file TStructViewer.h.
Referenced by GetPointer(), Prepare(), SetPointer(), and TStructViewer().
TClass* TStructViewer::fPointerClass [private] |
Definition at line 30 of file TStructViewer.h.
Referenced by Prepare(), SetPointer(), and TStructViewer().
TStructViewerGUI* TStructViewer::fGUI [private] |
Definition at line 31 of file TStructViewer.h.
Referenced by Draw(), GetCanvas(), GetFrame(), GetLinksVisibility(), SetColor(), SetLinksVisibility(), SetPointer(), and TStructViewer().
TExMap TStructViewer::fLevelMembersCount [private] |
Definition at line 32 of file TStructViewer.h.
Referenced by AddNode(), GetLevelMembersCount(), and Reset().
TExMap TStructViewer::fLevelSize [private] |
Definition at line 33 of file TStructViewer.h.
Referenced by AddNode(), GetLevelSize(), and Reset().
TExMap TStructViewer::fPointers [private] |
TObjArray TStructViewer::fLevelArray [private] |
TStructNode* TStructViewer::fTopNode [private] |
Definition at line 36 of file TStructViewer.h.
Referenced by Draw(), Prepare(), Reset(), SetPointer(), and TStructViewer().
TList TStructViewer::fColors [private] |
Definition at line 37 of file TStructViewer.h.
Referenced by GetColor(), SetColor(), TStructViewer(), and ~TStructViewer().
void* TStructViewer::fPointer [private] |
Definition at line 29 of file TStructViewer.h.
TClass* TStructViewer::fPointerClass [private] |
Definition at line 30 of file TStructViewer.h.
TStructViewerGUI* TStructViewer::fGUI [private] |
Definition at line 31 of file TStructViewer.h.
TStructNode* TStructViewer::fTopNode [private] |
Definition at line 36 of file TStructViewer.h.