H3D API  2.4.1
Public Member Functions | List of all members
H3D::X3D::IStreamInputSource Class Reference

This class is a derivative of the standard Xerxes C InputSource class. More...

#include <H3D/IStreamInputSource.h>

Inherits InputSource.

Public Member Functions

 IStreamInputSource (istream &_is, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 Constructor. More...
 
 IStreamInputSource (istream &_is, const XMLCh *const system_id, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 Constructor. More...
 
BinInputStream * makeStream () const
 This method will return a binary input stream derivative that will parse from the standard input of the local host. More...
 
 IStreamInputSource (const IStreamInputSource &)
 unimplemented copy constructors
 
IStreamInputSourceoperator= (const IStreamInputSource &)
 unimplemented assignment operator
 

Detailed Description

This class is a derivative of the standard Xerxes C InputSource class.

It provides the parser access to data via a general istream.

Constructor & Destructor Documentation

◆ IStreamInputSource() [1/2]

H3D::X3D::IStreamInputSource::IStreamInputSource ( istream &  _is,
MemoryManager *const  manager = XMLPlatformUtils::fgMemoryManager 
)
inline

Constructor.

Parameters
_isthe istream to use as input to the parser.
managerPointer to the memory manager to be used to allocate objects.

◆ IStreamInputSource() [2/2]

H3D::X3D::IStreamInputSource::IStreamInputSource ( istream &  _is,
const XMLCh *const  system_id,
MemoryManager *const  manager = XMLPlatformUtils::fgMemoryManager 
)
inline

Constructor.

Parameters
_isthe istream to use as input to the parser.
system_idThe system identifier(URI).
managerPointer to the memory manager to be used to allocate objects.

Member Function Documentation

◆ makeStream()

BinInputStream * X3D::IStreamInputSource::makeStream ( ) const

This method will return a binary input stream derivative that will parse from the standard input of the local host.

Returns
A dynamically allocated binary input stream derivative that can parse from the standardinput.

The documentation for this class was generated from the following files: