DBA Data[Home] [Help]

PACKAGE: DVSYS.DBMS_MACOUT

Source


1 PACKAGE       dbms_macout
2 AS
3     /**
4     * Turn on tracing.
5     */
6     PROCEDURE enable;
7 
8     /**
9     * Turn off tracing.
10     */
11     PROCEDURE disable;
12 
13     /**
14     * Add text to the output (with a new line)
15     * @param s String
16     */
17     PROCEDURE put_line( s IN VARCHAR2 );
18 
19     /**
20     * Same as put_line.
21     * @param s String
22     */
23     PROCEDURE pl( s IN VARCHAR2 );
24 
25     /**
26     * Retrieve a line of text from the buffer.  The line is deleted from
27     * the line buffer.
28     * @param n Line number
29     */
30     FUNCTION get_line( n IN NUMBER ) RETURN VARCHAR2;
31 
32     PRAGMA RESTRICT_REFERENCES( get_line, WNDS, RNDS );
33 
34     /**
35     * Number of lines in the buffer.
36     * @return Number of lines in the buffer
37     */
38     FUNCTION get_line_COUNT RETURN NUMBER;
39 
40     /**
41     * Is the trace facility enabled.
42     * @return An indicator that the trace facility is enabled for this session
43     */
44     FUNCTION is_enabled RETURN BOOLEAN;
45 
46     PRAGMA RESTRICT_REFERENCES( get_line_COUNT, WNDS, RNDS, WNPS );
47 
48     PRAGMA RESTRICT_REFERENCES( dbms_macout, WNDS, RNDS, WNPS, RNPS );
49 END;