Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaPrintOption Class Reference

Definition at line 18 of file THaPrintOption.h.

Public Member Functions

Bool_t Contains (const std::string &token) const
 
const char * Data () const
 
Int_t GetNOptions () const
 
const char * GetOption (Int_t i=0) const
 
const std::string & GetOptionStr (Int_t i=0) const
 
Int_t GetValue (Int_t i=0) const
 
Bool_t IsLine () const
 
 operator const char * () const
 
const char * operator() (Int_t i) const
 
THaPrintOptionoperator= (const char *rhs)
 
THaPrintOptionoperator= (const THaPrintOption &rhs)=default
 
THaPrintOptionoperator= (std::string rhs)
 
THaPrintOptionoperator= (THaPrintOption &&rhs)=default
 
const char * operator[] (Int_t i) const
 
virtual void Print () const
 
 THaPrintOption ()=default
 
 THaPrintOption (const char *str)
 
 THaPrintOption (const THaPrintOption &opt)=default
 
 THaPrintOption (std::string str)
 
 THaPrintOption (THaPrintOption &&opt)=default
 
void ToLower ()
 
void ToUpper ()
 
virtual ~THaPrintOption ()=default
 

Protected Member Functions

virtual void Parse ()
 

Protected Attributes

std::string fEmpty
 
std::vector< Int_tfParam
 
std::string fString
 
std::vector< std::string > fTokens
 

Friends

std::ostream & operator<< (std::ostream &os, const THaPrintOption &opt)
 

#include <THaPrintOption.h>

Constructor & Destructor Documentation

◆ THaPrintOption() [1/5]

THaPrintOption::THaPrintOption ( )
default

◆ THaPrintOption() [2/5]

THaPrintOption::THaPrintOption ( std::string  str)

◆ THaPrintOption() [3/5]

THaPrintOption::THaPrintOption ( const char *  str)

Definition at line 35 of file THaPrintOption.cxx.

◆ THaPrintOption() [4/5]

THaPrintOption::THaPrintOption ( const THaPrintOption opt)
default

◆ THaPrintOption() [5/5]

THaPrintOption::THaPrintOption ( THaPrintOption &&  opt)
default

◆ ~THaPrintOption()

virtual THaPrintOption::~THaPrintOption ( )
virtualdefault

Member Function Documentation

◆ Contains()

Bool_t THaPrintOption::Contains ( const std::string &  token) const

Definition at line 61 of file THaPrintOption.cxx.

◆ Data()

const char * THaPrintOption::Data ( ) const
inline

Definition at line 38 of file THaPrintOption.h.

◆ GetNOptions()

Int_t THaPrintOption::GetNOptions ( ) const
inline

Definition at line 61 of file THaPrintOption.h.

◆ GetOption()

const char * THaPrintOption::GetOption ( Int_t  i = 0) const
inline

Definition at line 68 of file THaPrintOption.h.

◆ GetOptionStr()

const std::string & THaPrintOption::GetOptionStr ( Int_t  i = 0) const
inline

Definition at line 77 of file THaPrintOption.h.

◆ GetValue()

Int_t THaPrintOption::GetValue ( Int_t  i = 0) const
inline

Definition at line 86 of file THaPrintOption.h.

◆ IsLine()

Bool_t THaPrintOption::IsLine ( ) const
inline

Definition at line 99 of file THaPrintOption.h.

◆ operator const char *()

THaPrintOption::operator const char * ( ) const
inlineexplicit

Definition at line 42 of file THaPrintOption.h.

◆ operator()()

const char * THaPrintOption::operator() ( Int_t  i) const
inline

Definition at line 44 of file THaPrintOption.h.

◆ operator=() [1/4]

THaPrintOption & THaPrintOption::operator= ( const char *  rhs)

Definition at line 48 of file THaPrintOption.cxx.

◆ operator=() [2/4]

THaPrintOption & THaPrintOption::operator= ( const THaPrintOption rhs)
default

◆ operator=() [3/4]

THaPrintOption & THaPrintOption::operator= ( std::string  rhs)

◆ operator=() [4/4]

THaPrintOption & THaPrintOption::operator= ( THaPrintOption &&  rhs)
default

◆ operator[]()

const char * THaPrintOption::operator[] ( Int_t  i) const
inline

Definition at line 43 of file THaPrintOption.h.

◆ Parse()

void THaPrintOption::Parse ( )
protectedvirtual

Definition at line 71 of file THaPrintOption.cxx.

◆ Print()

void THaPrintOption::Print ( ) const
virtual

Definition at line 103 of file THaPrintOption.cxx.

◆ ToLower()

void THaPrintOption::ToLower ( )

Definition at line 110 of file THaPrintOption.cxx.

◆ ToUpper()

void THaPrintOption::ToUpper ( )

Definition at line 118 of file THaPrintOption.cxx.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const THaPrintOption opt 
)
friend

Definition at line 108 of file THaPrintOption.h.

Member Data Documentation

◆ fEmpty

std::string THaPrintOption::fEmpty
protected

Definition at line 52 of file THaPrintOption.h.

◆ fParam

std::vector<Int_t> THaPrintOption::fParam
protected

Definition at line 51 of file THaPrintOption.h.

◆ fString

std::string THaPrintOption::fString
protected

Definition at line 49 of file THaPrintOption.h.

◆ fTokens

std::vector<std::string> THaPrintOption::fTokens
protected

Definition at line 50 of file THaPrintOption.h.

Collaboration diagram for THaPrintOption:

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