CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FWFFTRint Class Reference
Inheritance diagram for FWFFTRint:

Public Member Functions

 FWFFTRint (const char *appClassName, Int_t *argc, char **argv, bool rootPrompt)
 
Bool_t HandleTermInput () override
 

Private Attributes

bool m_rootPrompt
 

Detailed Description

Definition at line 20 of file FWFFHelper.cc.

Constructor & Destructor Documentation

FWFFTRint::FWFFTRint ( const char *  appClassName,
Int_t *  argc,
char **  argv,
bool  rootPrompt 
)
inline

Definition at line 22 of file FWFFHelper.cc.

23  : TRint(appClassName, argc, argv, nullptr, 0, !rootPrompt), m_rootPrompt(rootPrompt) {
24  if (rootPrompt)
25  return;
26 
27  SetPrompt("");
28  GetInputHandler()->Remove();
29  }
bool m_rootPrompt
Definition: FWFFHelper.cc:38

Member Function Documentation

Bool_t FWFFTRint::HandleTermInput ( )
inlineoverride

Definition at line 31 of file FWFFHelper.cc.

References m_rootPrompt.

31  {
32  if (m_rootPrompt)
33  return TRint::HandleTermInput();
34  return true;
35  }
bool m_rootPrompt
Definition: FWFFHelper.cc:38

Member Data Documentation

bool FWFFTRint::m_rootPrompt
private

Definition at line 38 of file FWFFHelper.cc.

Referenced by HandleTermInput().