Class Index | File Index

Classes


Class Trace

Trace
Defined in: Hermes.js.

Class Summary
Constructor Attributes Constructor Name and Description
<private>  
Trace(oConstructor, sMethodName, oTracer)
Trace is the class that manage all the info to be used in Tracer.
Field Summary
Field Attributes Field Name and Description
 
oConstructor is the oConstructor to trace
 
oTracer is the reference to the Tracer
 
sIndentString is the number of spaces to indent functions.
 
sMethodName is the name of the oConstructor
Method Summary
Method Attributes Method Name and Description
 
formatArguments returns the arguments passed to the function as a string
 
getIndentation returns the indentation
 
getMethodNameIndentedAndParams return the string with method name and formatted arguments.
 
getProfile(nStart, oResult)
getProfile return the string with method name, result and time that tooks the execution
 
wrap()
wrap is the method to wrap all the methods to trace
Class Detail
<private> Trace(oConstructor, sMethodName, oTracer)
Trace is the class that manage all the info to be used in Tracer.
Parameters:
oConstructor
sMethodName
oTracer
Field Detail
oConstructor
oConstructor is the oConstructor to trace

oTracer
oTracer is the reference to the Tracer

sIndentString
sIndentString is the number of spaces to indent functions. Missing modifycation - maybe in the next version -

sMethodName
sMethodName is the name of the oConstructor
Method Detail
formatArguments(aArgs)
formatArguments returns the arguments passed to the function as a string
Parameters:
aArgs
Returns:
{String}

{String} getIndentation()
getIndentation returns the indentation
Returns:
{String}

{String} getMethodNameIndentedAndParams(aArgs)
getMethodNameIndentedAndParams return the string with method name and formatted arguments.
Parameters:
aArgs
Returns:
{String}

{String} getProfile(nStart, oResult)
getProfile return the string with method name, result and time that tooks the execution
Parameters:
nStart
oResult
Returns:
{String}

wrap()
wrap is the method to wrap all the methods to trace

©2011
Documentation generated by JsDoc Toolkit 2.4.0 on Sat Oct 08 2011 19:55:27 GMT+0200 (CEST)