Public Member Functions | Private Attributes | List of all members
util::StyleSentry Struct Reference

Public Member Functions

 StyleSentry ()
 
 ~StyleSentry ()
 

Private Attributes

TStyle * fOldStyle
 

Detailed Description

Definition at line 12 of file StyleSentry.cpp.

Constructor & Destructor Documentation

util::StyleSentry::StyleSentry ( )
inline

Definition at line 14 of file StyleSentry.cpp.

14  : fOldStyle(gStyle)
15  {
16  if(gStyle) gStyle = new TStyle(*gStyle);
17  else gStyle = new TStyle();
18  }
util::StyleSentry::~StyleSentry ( )
inline

Definition at line 20 of file StyleSentry.cpp.

20 { gStyle = fOldStyle; }

Member Data Documentation

TStyle* util::StyleSentry::fOldStyle
private

Definition at line 23 of file StyleSentry.cpp.


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