mr3d.debug
Interface Debugable

All Known Implementing Classes:
DynamicIntArray, DynamicStringArray, Edge3D, Matrix, Point3D, PointArrayTable, SceneManager, Triangle3D, TriangleBased3DObject, TriangleBasedModelReader, Vector3D, ZBufferRenderer

public interface Debugable

The interface Debugable will be implemented by most object classes of the mr3d package. This interface ensures that these objects have the same basic debugging functions and error constants. Most objects using the interface can be found in mr3d.lang.

Since:
MR3Dv1.0
Version:
10-2004
Author:
Manuel Ruelke

Field Summary
static int ERROR_INT
          Error constant for integer errors.
static java.lang.String ERROR_STRING
          Error constant for error strings.
 
Method Summary
 void toConsole()
          Prints the contents of the object to the Java console.
 void toConsole(java.lang.String msgString)
          Prints the contents of the object to the Java console together with an information string.
 

Field Detail

ERROR_INT

public static final int ERROR_INT
Error constant for integer errors. ERROR_INT value is -2147483648, which is the smallest possible int value.

See Also:
Constant Field Values

ERROR_STRING

public static final java.lang.String ERROR_STRING
Error constant for error strings. The ERROR_STRING value is a mix of special characters that are usually not used in that combination. It is highly improbable that a String with that content is created naturally by accident by a user or developer.

See Also:
Constant Field Values
Method Detail

toConsole

public void toConsole()
Prints the contents of the object to the Java console. How the information will be displayed depends on what data the object contains. Depending on structure and contents every implementation of this function produces a different result on the console.


toConsole

public void toConsole(java.lang.String msgString)
Prints the contents of the object to the Java console together with an information string. How the information will be displayed depends on what data the object contains. Depending on structure and contents every implementation of this function produces a different result on the console.