NAGASH 0.9.8
Next Generation Analysis System
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
NAGASH::FigureElement Class Reference

#include <FigureTool.h>

Inheritance diagram for NAGASH::FigureElement:
NAGASH::FigureCanvas NAGASH::FigureFunc1D NAGASH::FigureGraph1D NAGASH::FigureHStack NAGASH::FigureHist1D NAGASH::FigureHist2D NAGASH::FigureLatex NAGASH::FigurePad

Public Member Functions

 FigureElement (std::shared_ptr< MSGTool > MSG, std::shared_ptr< FigureStyleHelper > shelper, const TString &elementname, const TString &tyname, FigureElement *mother=0)
 
virtual void CD ()
 
void Draw ()
 
virtual void DrawElement ()
 
std::shared_ptr< FigureElementFindLinkElement (const TString &name)
 
std::shared_ptr< FigureElementGetLinkElement (int index)
 
int GetLinkIndex (const TString &name)
 
FigureElementGetMotherElement ()
 
TString GetName ()
 
int GetNLinkElement ()
 
FigureElementGetRootElement ()
 
TString GetTypeName ()
 
bool IsType (const TString &tyname)
 
virtual void SetStyle ()
 
std::shared_ptr< FigureElementTraceElement (const TString &name)
 

Public Attributes

FigureSquareRange Range_Total
 

Protected Member Functions

bool CheckDuplicate (const TString &name)
 
bool Contain (FigureSquareRange A, FigureSquareRange SubA)
 
bool Contain (std::shared_ptr< FigureElement > subelement)
 
std::shared_ptr< MSGToolMSGUser ()
 
std::shared_ptr< FigureStyleHelperStyleUser ()
 

Protected Attributes

std::deque< std::shared_ptr< FigureElement > > LinkedElement
 
std::map< TString, uint64_t > MapLinkedElement
 
FigureElementMotherElement
 
std::vector< FigureSquareRangeRange_vec
 

Private Attributes

TString castname = "FigureElement"
 
std::shared_ptr< MSGToolmsg
 
TString name
 
std::shared_ptr< FigureStyleHelperstylehelper
 

Detailed Description

Definition at line 76 of file FigureTool.h.

Constructor & Destructor Documentation

◆ FigureElement()

FigureElement::FigureElement ( std::shared_ptr< MSGTool MSG,
std::shared_ptr< FigureStyleHelper shelper,
const TString &  elementname,
const TString &  tyname,
FigureElement mother = 0 
)

Definition at line 748 of file FigureTool.cxx.

Member Function Documentation

◆ CD()

void FigureElement::CD ( )
virtual

Reimplemented in NAGASH::FigurePad, and NAGASH::FigureCanvas.

Definition at line 762 of file FigureTool.cxx.

◆ CheckDuplicate()

bool FigureElement::CheckDuplicate ( const TString &  name)
protected

Definition at line 829 of file FigureTool.cxx.

◆ Contain() [1/2]

bool FigureElement::Contain ( FigureSquareRange  A,
FigureSquareRange  SubA 
)
protected

Definition at line 841 of file FigureTool.cxx.

◆ Contain() [2/2]

bool FigureElement::Contain ( std::shared_ptr< FigureElement subelement)
protected

Definition at line 783 of file FigureTool.cxx.

◆ Draw()

void FigureElement::Draw ( )

Definition at line 772 of file FigureTool.cxx.

◆ DrawElement()

void FigureElement::DrawElement ( )
virtual

◆ FindLinkElement()

std::shared_ptr< FigureElement > FigureElement::FindLinkElement ( const TString &  name)

Definition at line 808 of file FigureTool.cxx.

◆ GetLinkElement()

std::shared_ptr< FigureElement > FigureElement::GetLinkElement ( int  index)

Definition at line 868 of file FigureTool.cxx.

◆ GetLinkIndex()

int FigureElement::GetLinkIndex ( const TString &  name)

Definition at line 856 of file FigureTool.cxx.

◆ GetMotherElement()

FigureElement * NAGASH::FigureElement::GetMotherElement ( )
inline

Definition at line 126 of file FigureTool.h.

◆ GetName()

TString NAGASH::FigureElement::GetName ( )
inline

Definition at line 123 of file FigureTool.h.

◆ GetNLinkElement()

int NAGASH::FigureElement::GetNLinkElement ( )
inline

Definition at line 127 of file FigureTool.h.

◆ GetRootElement()

FigureElement * FigureElement::GetRootElement ( )

Definition at line 798 of file FigureTool.cxx.

◆ GetTypeName()

TString NAGASH::FigureElement::GetTypeName ( )
inline

Definition at line 124 of file FigureTool.h.

◆ IsType()

bool NAGASH::FigureElement::IsType ( const TString &  tyname)
inline

Definition at line 125 of file FigureTool.h.

◆ MSGUser()

std::shared_ptr< MSGTool > NAGASH::FigureElement::MSGUser ( )
inlineprotected

Definition at line 121 of file FigureTool.h.

◆ SetStyle()

void FigureElement::SetStyle ( )
virtual

◆ StyleUser()

std::shared_ptr< FigureStyleHelper > NAGASH::FigureElement::StyleUser ( )
inlineprotected

Definition at line 122 of file FigureTool.h.

◆ TraceElement()

std::shared_ptr< FigureElement > FigureElement::TraceElement ( const TString &  name)

Definition at line 823 of file FigureTool.cxx.

Member Data Documentation

◆ castname

TString NAGASH::FigureElement::castname = "FigureElement"
private

Definition at line 118 of file FigureTool.h.

◆ LinkedElement

std::deque<std::shared_ptr<FigureElement> > NAGASH::FigureElement::LinkedElement
protected

Definition at line 110 of file FigureTool.h.

◆ MapLinkedElement

std::map<TString, uint64_t> NAGASH::FigureElement::MapLinkedElement
protected

Definition at line 111 of file FigureTool.h.

◆ MotherElement

FigureElement* NAGASH::FigureElement::MotherElement
protected

Definition at line 112 of file FigureTool.h.

◆ msg

std::shared_ptr<MSGTool> NAGASH::FigureElement::msg
private

Definition at line 115 of file FigureTool.h.

◆ name

TString NAGASH::FigureElement::name
private

Definition at line 117 of file FigureTool.h.

◆ Range_Total

FigureSquareRange NAGASH::FigureElement::Range_Total

Definition at line 98 of file FigureTool.h.

◆ Range_vec

std::vector<FigureSquareRange> NAGASH::FigureElement::Range_vec
protected

Definition at line 108 of file FigureTool.h.

◆ stylehelper

std::shared_ptr<FigureStyleHelper> NAGASH::FigureElement::stylehelper
private

Definition at line 116 of file FigureTool.h.


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