This chapter contains these sections:
Table 3-1 summarizes the datatypes of the IO package.
Defines input source types.
typedef enum InputSourceType {
ISRC_URI = 1,
ISRC_FILE = 2,
ISRC_BUFFER = 3,
ISRC_DOM = 4,
ISRC_CSTREAM = 5 }
InputSourceType;
Table 3-2 summarizes the methods available through the IO interface
Table 3-2 Summary of IO Package Interfaces
| Function | Summary |
|---|---|
|
Get the base URI. |
|
|
Get the input source type. |
|
|
Set the base URI. |
Gets the base URI. It is used by some input sources such as File and URI.
oratext* getBaseURI() { return baseURI; }
(oratext*) base URI
Gets the input source type.
InputSourceType getISrcType() const { return isrctype; }
(InputSourceType) input source type
Sets the base URI. It is used by some input sources such as File and URI.
void setBaseURI( oratext* base_URI) baseURI = base_URI; }