Skip Headers
Oracle® Database XML C++ API Reference
10g Release 2 (10.2)

Part Number B16206-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

3 Package IO APIs for C++

This chapter contains these sections:

See Also:


IO Datatypes

Table 3-1 summarizes the datatypes of the IO package.

Table 3-1 Summary of Datatypes; IO Package

Datatype Description
InputSourceType
Defines input source types.


InputSourceType

Defines input source types.

Definition

typedef enum InputSourceType {
   ISRC_URI = 1, 
   ISRC_FILE = 2, 
   ISRC_BUFFER = 3, 
   ISRC_DOM = 4, 
   ISRC_CSTREAM = 5 } 
InputSourceType;


InputSource Interface

Table 3-2 summarizes the methods of available through the IO interface

Table 3-2 Summary of IO Package Interfaces

Function Summary
getBaseURI()
Get the base URI.
getISrcType()
Get the input source type.
setBaseURI()
Set the base URI.


getBaseURI()

Gets the base URI. It is used by some input sources such as File and URI.

Syntax

oratext* getBaseURI() { return baseURI; }

Returns

(oratext*) base URI


getISrcType()

Gets the input source type.

Syntax

InputSourceType getISrcType() const { return isrctype; }

Returns

(InputSourceType) input source type


setBaseURI()

Sets the base URI. It is used by some input sources such as File and URI.

Syntax

void setBaseURI( oratext* base_URI)  baseURI = base_URI; }