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 23 of file FWFFHelper.cc.

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

Member Function Documentation

Bool_t FWFFTRint::HandleTermInput ( )
inlineoverride

Definition at line 34 of file FWFFHelper.cc.

References m_rootPrompt.

35  {
36  if (m_rootPrompt)
37  return TRint::HandleTermInput();
38  return true;
39  }
bool m_rootPrompt
Definition: FWFFHelper.cc:41

Member Data Documentation

bool FWFFTRint::m_rootPrompt
private

Definition at line 41 of file FWFFHelper.cc.

Referenced by HandleTermInput().