libSBML C# API
libSBML 5.8.0 C# API
|
Public Member Functions | |
virtual void | Dispose () |
string | getEncoding () |
XMLErrorLog | getErrorLog () |
SBMLNamespaces | getSBMLNamespaces () |
Prints a string representation of the underlying token stream, for debugging purposes. More... | |
string | getVersion () |
bool | isEOF () |
bool | isError () |
bool | isGood () |
XMLToken | next () |
Consumes the next XMLToken and return it. More... | |
XMLToken | peek () |
Returns the next XMLToken without consuming it. More... | |
int | setErrorLog (XMLErrorLog log) |
Sets the XMLErrorLog this stream will use to log errors. More... | |
void | setSBMLNamespaces (SBMLNamespaces sbmlns) |
Prints a string representation of the underlying token stream, for debugging purposes. More... | |
void | skipPastEnd (XMLToken element) |
Consume zero or more XMLTokens up to and including the corresponding end XML element or EOF. More... | |
void | skipText () |
Consume zero or more XMLTokens up to but not including the next XML element or EOF. More... | |
string | toString () |
Prints a string representation of the underlying token stream, for debugging purposes. More... | |
XMLInputStream (string content, bool isFile, string library, XMLErrorLog errorLog) | |
Creates a new XMLInputStream. More... | |
XMLInputStream (string content, bool isFile, string library) | |
Creates a new XMLInputStream. More... | |
XMLInputStream (string content, bool isFile) | |
Creates a new XMLInputStream. More... | |
XMLInputStream (string content) | |
Creates a new XMLInputStream. More... | |
Protected Attributes | |
bool | swigCMemOwn |
libsbmlcs.XMLInputStream.XMLInputStream | ( | string | content, |
bool | isFile, | ||
string | library, | ||
XMLErrorLog | errorLog | ||
) |
Creates a new XMLInputStream.
content
the source of the stream.
isFile
bool flag to indicate whether content
is a file name. If true
, content
is assumed to be the file from which the XML content is to be read. If false
, content
is taken to be a string that is the content to be read.
library
the name of the parser library to use.
errorLog
the XMLErrorLog object to use.
libsbmlcs.XMLInputStream.XMLInputStream | ( | string | content, |
bool | isFile, | ||
string | library | ||
) |
Creates a new XMLInputStream.
content
the source of the stream.
isFile
bool flag to indicate whether content
is a file name. If true
, content
is assumed to be the file from which the XML content is to be read. If false
, content
is taken to be a string that is the content to be read.
library
the name of the parser library to use.
errorLog
the XMLErrorLog object to use.
libsbmlcs.XMLInputStream.XMLInputStream | ( | string | content, |
bool | isFile | ||
) |
Creates a new XMLInputStream.
content
the source of the stream.
isFile
bool flag to indicate whether content
is a file name. If true
, content
is assumed to be the file from which the XML content is to be read. If false
, content
is taken to be a string that is the content to be read.
library
the name of the parser library to use.
errorLog
the XMLErrorLog object to use.
libsbmlcs.XMLInputStream.XMLInputStream | ( | string | content | ) |
Creates a new XMLInputStream.
content
the source of the stream.
isFile
bool flag to indicate whether content
is a file name. If true
, content
is assumed to be the file from which the XML content is to be read. If false
, content
is taken to be a string that is the content to be read.
library
the name of the parser library to use.
errorLog
the XMLErrorLog object to use.
|
virtual |
string libsbmlcs.XMLInputStream.getEncoding | ( | ) |
XMLErrorLog libsbmlcs.XMLInputStream.getErrorLog | ( | ) |
SBMLNamespaces libsbmlcs.XMLInputStream.getSBMLNamespaces | ( | ) |
Prints a string representation of the underlying token stream, for debugging purposes.
string libsbmlcs.XMLInputStream.getVersion | ( | ) |
bool libsbmlcs.XMLInputStream.isEOF | ( | ) |
bool libsbmlcs.XMLInputStream.isError | ( | ) |
bool libsbmlcs.XMLInputStream.isGood | ( | ) |
XMLToken libsbmlcs.XMLInputStream.next | ( | ) |
Consumes the next XMLToken and return it.
XMLToken libsbmlcs.XMLInputStream.peek | ( | ) |
Returns the next XMLToken without consuming it.
A subsequent call to either peek() or next() will return the same token.
int libsbmlcs.XMLInputStream.setErrorLog | ( | XMLErrorLog | log | ) |
Sets the XMLErrorLog this stream will use to log errors.
void libsbmlcs.XMLInputStream.setSBMLNamespaces | ( | SBMLNamespaces | sbmlns | ) |
Prints a string representation of the underlying token stream, for debugging purposes.
void libsbmlcs.XMLInputStream.skipPastEnd | ( | XMLToken | element | ) |
Consume zero or more XMLTokens up to and including the corresponding end XML element or EOF.
void libsbmlcs.XMLInputStream.skipText | ( | ) |
Consume zero or more XMLTokens up to but not including the next XML element or EOF.
string libsbmlcs.XMLInputStream.toString | ( | ) |
Prints a string representation of the underlying token stream, for debugging purposes.
|
protected |