Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
Functions
vtk-unstructured.cpp File Reference
#include "xsd/cxx/pre.hxx"
#include "vtk-unstructured.h"
#include "xsd/cxx/xml/dom/parsing-source.hxx"
#include <istream>
#include "xsd/cxx/xml/sax/std-input-source.hxx"
#include "xsd/cxx/tree/error-handler.hxx"
#include <ostream>
#include "xsd/cxx/xml/dom/serialization-source.hxx"
#include "xsd/cxx/post.hxx"
Include dependency graph for vtk-unstructured.cpp:

Functions

::std::unique_ptr< ::VTKFile_tVTKFile (const ::std::string &u, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a URI or a local file. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (const ::std::string &u, ::xml_schema::error_handler &h, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a URI or a local file with an error handler. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (const ::std::string &u, ::xercesc::DOMErrorHandler &h, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a URI or a local file with a Xerces-C++ DOM error handler. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::std::istream &is, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a standard input stream. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::std::istream &is, ::xml_schema::error_handler &h, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a standard input stream with an error handler. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::std::istream &is, ::xercesc::DOMErrorHandler &h, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a standard input stream with a Xerces-C++ DOM error handler. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::std::istream &is, const ::std::string &sid, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a standard input stream with a resource id. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::std::istream &is, const ::std::string &sid, ::xml_schema::error_handler &h, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a standard input stream with a resource id and an error handler. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::std::istream &is, const ::std::string &sid, ::xercesc::DOMErrorHandler &h, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a standard input stream with a resource id and a Xerces-C++ DOM error handler. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::xercesc::InputSource &i, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a Xerces-C++ input source. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::xercesc::InputSource &i, ::xml_schema::error_handler &h, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a Xerces-C++ input source with an error handler. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::xercesc::InputSource &i, ::xercesc::DOMErrorHandler &h, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a Xerces-C++ input source with a Xerces-C++ DOM error handler. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (const ::xercesc::DOMDocument &doc, ::xml_schema::flags f, const ::xml_schema::properties &p)
 Parse a Xerces-C++ DOM document. More...
 
::std::unique_ptr< ::VTKFile_tVTKFile (::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > d, ::xml_schema::flags f, const ::xml_schema::properties &)
 Parse a Xerces-C++ DOM document. More...
 
void operator<< (::xercesc::DOMElement &e, const DataArrayList_t &i)
 
void operator<< (::xercesc::DOMAttr &a, const DataArrayList_t &i)
 
void operator<< (::xml_schema::list_stream &l, const DataArrayList_t &i)
 
void operator<< (::xercesc::DOMElement &e, const DataArray_t &i)
 
void operator<< (::xercesc::DOMElement &e, const PieceUnstructuredGrid_t &i)
 
void operator<< (::xercesc::DOMElement &e, const UnstructuredGrid_t &i)
 
void operator<< (::xercesc::DOMElement &e, const PolyData_t &i)
 
void operator<< (::xercesc::DOMElement &e, const VTKFile_t &i)
 
void VTKFile (::std::ostream &o, const ::VTKFile_t &s, const ::xml_schema::namespace_infomap &m, const ::std::string &e, ::xml_schema::flags f)
 Serialize to a standard output stream. More...
 
void VTKFile (::std::ostream &o, const ::VTKFile_t &s, ::xml_schema::error_handler &h, const ::xml_schema::namespace_infomap &m, const ::std::string &e, ::xml_schema::flags f)
 Serialize to a standard output stream with an error handler. More...
 
void VTKFile (::std::ostream &o, const ::VTKFile_t &s, ::xercesc::DOMErrorHandler &h, const ::xml_schema::namespace_infomap &m, const ::std::string &e, ::xml_schema::flags f)
 Serialize to a standard output stream with a Xerces-C++ DOM error handler. More...
 
void VTKFile (::xercesc::XMLFormatTarget &t, const ::VTKFile_t &s, const ::xml_schema::namespace_infomap &m, const ::std::string &e, ::xml_schema::flags f)
 Serialize to a Xerces-C++ XML format target. More...
 
void VTKFile (::xercesc::XMLFormatTarget &t, const ::VTKFile_t &s, ::xml_schema::error_handler &h, const ::xml_schema::namespace_infomap &m, const ::std::string &e, ::xml_schema::flags f)
 Serialize to a Xerces-C++ XML format target with an error handler. More...
 
void VTKFile (::xercesc::XMLFormatTarget &t, const ::VTKFile_t &s, ::xercesc::DOMErrorHandler &h, const ::xml_schema::namespace_infomap &m, const ::std::string &e, ::xml_schema::flags f)
 Serialize to a Xerces-C++ XML format target with a Xerces-C++ DOM error handler. More...
 
void VTKFile (::xercesc::DOMDocument &d, const ::VTKFile_t &s, ::xml_schema::flags)
 Serialize to an existing Xerces-C++ DOM document. More...
 
::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > VTKFile (const ::VTKFile_t &s, const ::xml_schema::namespace_infomap &m, ::xml_schema::flags f)
 Serialize to a new Xerces-C++ DOM document. More...
 
void operator<< (::xercesc::DOMElement &e, const type &i)
 
void operator<< (::xercesc::DOMAttr &a, const type &i)
 
void operator<< (::xml_schema::list_stream &l, const type &i)
 
void operator<< (::xercesc::DOMElement &e, const PointData &i)
 
void operator<< (::xercesc::DOMElement &e, const CellData &i)
 
void operator<< (::xercesc::DOMElement &e, const Points &i)
 
void operator<< (::xercesc::DOMElement &e, const Cells &i)
 

Function Documentation

◆ operator<<() [1/15]

void operator<< ( ::xercesc::DOMAttr &  a,
const DataArrayList_t i 
)

◆ operator<<() [2/15]

void operator<< ( ::xercesc::DOMAttr &  a,
const type i 
)

◆ operator<<() [3/15]

void operator<< ( ::xercesc::DOMElement &  e,
const CellData i 
)
Here is the call graph for this function:

◆ operator<<() [4/15]

void operator<< ( ::xercesc::DOMElement &  e,
const Cells i 
)
Here is the call graph for this function:

◆ operator<<() [5/15]

void operator<< ( ::xercesc::DOMElement &  e,
const DataArray_t i 
)
Here is the call graph for this function:

◆ operator<<() [6/15]

void operator<< ( ::xercesc::DOMElement &  e,
const DataArrayList_t i 
)

◆ operator<<() [7/15]

void operator<< ( ::xercesc::DOMElement &  e,
const PieceUnstructuredGrid_t i 
)
Here is the call graph for this function:

◆ operator<<() [8/15]

void operator<< ( ::xercesc::DOMElement &  e,
const PointData i 
)
Here is the call graph for this function:

◆ operator<<() [9/15]

void operator<< ( ::xercesc::DOMElement &  e,
const Points i 
)
Here is the call graph for this function:

◆ operator<<() [10/15]

void operator<< ( ::xercesc::DOMElement &  e,
const PolyData_t i 
)
Here is the call graph for this function:

◆ operator<<() [11/15]

void operator<< ( ::xercesc::DOMElement &  e,
const type i 
)

◆ operator<<() [12/15]

void operator<< ( ::xercesc::DOMElement &  e,
const UnstructuredGrid_t i 
)
Here is the call graph for this function:

◆ operator<<() [13/15]

void operator<< ( ::xercesc::DOMElement &  e,
const VTKFile_t i 
)
Here is the call graph for this function:

◆ operator<<() [14/15]

void operator<< ( ::xml_schema::list_stream l,
const DataArrayList_t i 
)

◆ operator<<() [15/15]

void operator<< ( ::xml_schema::list_stream l,
const type i 
)

◆ VTKFile() [1/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::std::istream &  is,
::xercesc::DOMErrorHandler &  eh,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a standard input stream with a Xerces-C++ DOM error handler.

Parameters
isA standrad input stream.
ehA Xerces-C++ DOM error handler.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function reports parsing errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [2/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::std::istream &  is,
::xml_schema::error_handler eh,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a standard input stream with an error handler.

Parameters
isA standrad input stream.
ehAn error handler.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function reports parsing errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [3/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::std::istream &  is,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a standard input stream.

Parameters
isA standrad input stream.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function uses exceptions to report parsing errors.

Here is the call graph for this function:

◆ VTKFile() [4/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::std::istream &  is,
const ::std::string &  id,
::xercesc::DOMErrorHandler &  eh,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a standard input stream with a resource id and a Xerces-C++ DOM error handler.

Parameters
isA standrad input stream.
idA resource id.
ehA Xerces-C++ DOM error handler.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

The resource id is used to identify the document being parsed in diagnostics as well as to resolve relative paths.

This function reports parsing errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [5/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::std::istream &  is,
const ::std::string &  id,
::xml_schema::error_handler eh,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a standard input stream with a resource id and an error handler.

Parameters
isA standrad input stream.
idA resource id.
ehAn error handler.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

The resource id is used to identify the document being parsed in diagnostics as well as to resolve relative paths.

This function reports parsing errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [6/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::std::istream &  is,
const ::std::string &  id,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a standard input stream with a resource id.

Parameters
isA standrad input stream.
idA resource id.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

The resource id is used to identify the document being parsed in diagnostics as well as to resolve relative paths.

This function uses exceptions to report parsing errors.

Here is the call graph for this function:

◆ VTKFile() [7/22]

void VTKFile ( ::std::ostream &  os,
const ::VTKFile_t x,
::xercesc::DOMErrorHandler &  eh,
const ::xml_schema::namespace_infomap m = ::xml_schema::namespace_infomap(),
const ::std::string &  e = "UTF-8",
::xml_schema::flags  f = 0 
)

Serialize to a standard output stream with a Xerces-C++ DOM error handler.

Parameters
osA standrad output stream.
xAn object model to serialize.
ehA Xerces-C++ DOM error handler.
mA namespace information map.
eA character encoding to produce XML in.
fSerialization flags.

This function reports serialization errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [8/22]

void VTKFile ( ::std::ostream &  os,
const ::VTKFile_t x,
::xml_schema::error_handler eh,
const ::xml_schema::namespace_infomap m = ::xml_schema::namespace_infomap(),
const ::std::string &  e = "UTF-8",
::xml_schema::flags  f = 0 
)

Serialize to a standard output stream with an error handler.

Parameters
osA standrad output stream.
xAn object model to serialize.
ehAn error handler.
mA namespace information map.
eA character encoding to produce XML in.
fSerialization flags.

This function reports serialization errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [9/22]

void VTKFile ( ::std::ostream &  os,
const ::VTKFile_t x,
const ::xml_schema::namespace_infomap m = ::xml_schema::namespace_infomap(),
const ::std::string &  e = "UTF-8",
::xml_schema::flags  f = 0 
)

Serialize to a standard output stream.

Parameters
osA standrad output stream.
xAn object model to serialize.
mA namespace information map.
eA character encoding to produce XML in.
fSerialization flags.

This function uses exceptions to report serialization errors.

Here is the call graph for this function:

◆ VTKFile() [10/22]

void VTKFile ( ::xercesc::DOMDocument &  d,
const ::VTKFile_t x,
::xml_schema::flags  f = 0 
)

Serialize to an existing Xerces-C++ DOM document.

Parameters
dA Xerces-C++ DOM document.
xAn object model to serialize.
fSerialization flags.

Note that it is your responsibility to create the DOM document with the correct root element as well as set the necessary namespace mapping attributes.

◆ VTKFile() [11/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::xercesc::InputSource &  is,
::xercesc::DOMErrorHandler &  eh,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a Xerces-C++ input source with a Xerces-C++ DOM error handler.

Parameters
isA Xerces-C++ input source.
ehA Xerces-C++ DOM error handler.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function reports parsing errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [12/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::xercesc::InputSource &  is,
::xml_schema::error_handler eh,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a Xerces-C++ input source with an error handler.

Parameters
isA Xerces-C++ input source.
ehAn error handler.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function reports parsing errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [13/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::xercesc::InputSource &  is,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a Xerces-C++ input source.

Parameters
isA Xerces-C++ input source.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function uses exceptions to report parsing errors.

Here is the call graph for this function:

◆ VTKFile() [14/22]

void VTKFile ( ::xercesc::XMLFormatTarget &  ft,
const ::VTKFile_t x,
::xercesc::DOMErrorHandler &  eh,
const ::xml_schema::namespace_infomap m = ::xml_schema::namespace_infomap(),
const ::std::string &  e = "UTF-8",
::xml_schema::flags  f = 0 
)

Serialize to a Xerces-C++ XML format target with a Xerces-C++ DOM error handler.

Parameters
ftA Xerces-C++ XML format target.
xAn object model to serialize.
ehA Xerces-C++ DOM error handler.
mA namespace information map.
eA character encoding to produce XML in.
fSerialization flags.

This function reports serialization errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [15/22]

void VTKFile ( ::xercesc::XMLFormatTarget &  ft,
const ::VTKFile_t x,
::xml_schema::error_handler eh,
const ::xml_schema::namespace_infomap m = ::xml_schema::namespace_infomap(),
const ::std::string &  e = "UTF-8",
::xml_schema::flags  f = 0 
)

Serialize to a Xerces-C++ XML format target with an error handler.

Parameters
ftA Xerces-C++ XML format target.
xAn object model to serialize.
ehAn error handler.
mA namespace information map.
eA character encoding to produce XML in.
fSerialization flags.

This function reports serialization errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [16/22]

void VTKFile ( ::xercesc::XMLFormatTarget &  ft,
const ::VTKFile_t x,
const ::xml_schema::namespace_infomap m = ::xml_schema::namespace_infomap(),
const ::std::string &  e = "UTF-8",
::xml_schema::flags  f = 0 
)

Serialize to a Xerces-C++ XML format target.

Parameters
ftA Xerces-C++ XML format target.
xAn object model to serialize.
mA namespace information map.
eA character encoding to produce XML in.
fSerialization flags.

This function uses exceptions to report serialization errors.

Here is the call graph for this function:

◆ VTKFile() [17/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( ::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument >  d,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a Xerces-C++ DOM document.

Parameters
dA pointer to the Xerces-C++ DOM document.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function is normally used together with the keep_dom and own_dom parsing flags to assign ownership of the DOM document to the object model.

◆ VTKFile() [18/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( const ::std::string &  uri,
::xercesc::DOMErrorHandler &  eh,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a URI or a local file with a Xerces-C++ DOM error handler.

Parameters
uriA URI or a local file name.
ehA Xerces-C++ DOM error handler.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function reports parsing errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [19/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( const ::std::string &  uri,
::xml_schema::error_handler eh,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a URI or a local file with an error handler.

Parameters
uriA URI or a local file name.
ehAn error handler.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function reports parsing errors by calling the error handler.

Here is the call graph for this function:

◆ VTKFile() [20/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( const ::std::string &  uri,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a URI or a local file.

Parameters
uriA URI or a local file name.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.

This function uses exceptions to report parsing errors.

Here is the caller graph for this function:

◆ VTKFile() [21/22]

::xml_schema::dom::unique_ptr< ::xercesc::DOMDocument > VTKFile ( const ::VTKFile_t x,
const ::xml_schema::namespace_infomap m = ::xml_schema::namespace_infomap(),
::xml_schema::flags  f = 0 
)

Serialize to a new Xerces-C++ DOM document.

Parameters
xAn object model to serialize.
mA namespace information map.
fSerialization flags.
Returns
A pointer to the new Xerces-C++ DOM document.
Here is the call graph for this function:

◆ VTKFile() [22/22]

::std::unique_ptr< ::VTKFile_t > VTKFile ( const ::xercesc::DOMDocument &  d,
::xml_schema::flags  f = 0,
const ::xml_schema::properties p = ::xml_schema::properties() 
)

Parse a Xerces-C++ DOM document.

Parameters
dA Xerces-C++ DOM document.
fParsing flags.
pParsing properties.
Returns
A pointer to the root of the object model.
Here is the call graph for this function: