public static class Debug.DBO extends java.lang.Object implements java.io.Serializable, RevisionHandler
Modifier and Type | Field and Description |
---|---|
Range |
m_outputTypes
range of outputtyp
|
boolean |
m_verboseOn
enables/disables output of debug information
|
Constructor and Description |
---|
DBO() |
Modifier and Type | Method and Description |
---|---|
boolean |
dl(int num)
Return true if the debug level is set
same method as outpuTypeSet but better name
|
void |
dp(int debugType,
java.lang.String text)
prints out text but only if debug level is set.
|
void |
dp(java.lang.String text)
prints out text if verbose is on.
|
void |
dpln(int debugType,
java.lang.String text)
prints out text + endofline but only if parameter debug type is set.
|
void |
dpln(java.lang.String text)
prints out text + endofline if verbose is on.
|
java.lang.String |
getOutputTypes()
Gets the current output type selection
|
java.lang.String |
getRevision()
Returns the revision string.
|
void |
initializeRanges(int upper)
Initialize ranges, upper limit must be set
|
boolean |
outputTypeSet(int num)
Return true if the outputtype is set
|
static void |
p(java.lang.String text)
prints out text.
|
static void |
pln(java.lang.String text)
prints out text + endofline.
|
void |
setOutputTypes(java.lang.String list)
Switches the outputs on that are requested from the option O
|
void |
setVerboseOn()
Set the verbose on flag on
|
public boolean m_verboseOn
public Range m_outputTypes
public void setVerboseOn()
public void initializeRanges(int upper)
upper
- upper limitpublic boolean outputTypeSet(int num)
num
- value that is reserved for a specific outputtypepublic boolean dl(int num)
num
- value that is reserved for a specific outputtypepublic void setOutputTypes(java.lang.String list)
list
- list of integers, all are used for an output typepublic java.lang.String getOutputTypes()
public void dpln(java.lang.String text)
text
- the text to printpublic void dpln(int debugType, java.lang.String text)
debugType
- the type of the outputtext
- the text to printpublic void dp(java.lang.String text)
text
- the text to printpublic void dp(int debugType, java.lang.String text)
debugType
- the type of the outputtext
- the text to printpublic static void pln(java.lang.String text)
text
- the text to printpublic static void p(java.lang.String text)
text
- the text to printpublic java.lang.String getRevision()
getRevision
in interface RevisionHandler