Hermes2D  3.0
XMLSolution Namespace Reference

C++ namespace for the XMLSolution schema namespace. More...

Classes

class  component
 Class corresponding to the component schema type. More...
 
class  elem_coeffs
 Class corresponding to the elem_coeffs schema type. More...
 
class  elem_orders
 Class corresponding to the elem_orders schema type. More...
 
class  mono_coeffs
 Class corresponding to the mono_coeffs schema type. More...
 
class  solution
 Class corresponding to the solution schema type. More...
 

Functions

::std::ostream & operator<< (::std::ostream &, const solution &)
 
::std::ostream & operator<< (::std::ostream &, const mono_coeffs &)
 
::std::ostream & operator<< (::std::ostream &, const elem_orders &)
 
::std::ostream & operator<< (::std::ostream &, const component &)
 
::std::ostream & operator<< (::std::ostream &, const elem_coeffs &)
 
void operator<< (::xercesc::DOMElement &, const solution &)
 
void operator<< (::xercesc::DOMElement &, const mono_coeffs &)
 
void operator<< (::xercesc::DOMElement &, const elem_orders &)
 
void operator<< (::xercesc::DOMElement &, const component &)
 
void operator<< (::xercesc::DOMElement &, const elem_coeffs &)
 
Parsing functions for the solution document root.
::std::auto_ptr
< ::XMLSolution::solution
solution_ (const ::std::string &uri,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
 Parse a URI or a local file. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::std::istream &is,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
 Parse a standard input stream. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::xercesc::InputSource &is,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
 Parse a Xerces-C++ input source. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::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. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (const ::xercesc::DOMDocument &d,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
 Parse a Xerces-C++ DOM document. More...
 
::std::auto_ptr
< ::XMLSolution::solution
solution_ (::xml_schema::dom::auto_ptr< ::xercesc::DOMDocument > &d,::xml_schema::flags f=0, const ::xml_schema::properties &p=::xml_schema::properties())
 Parse a Xerces-C++ DOM document. More...
 
Serialization functions for the solution document root.
void solution_ (::std::ostream &os, const ::XMLSolution::solution &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. More...
 
void solution_ (::std::ostream &os, const ::XMLSolution::solution &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. More...
 
void solution_ (::std::ostream &os, const ::XMLSolution::solution &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. More...
 
void solution_ (::xercesc::XMLFormatTarget &ft, const ::XMLSolution::solution &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. More...
 
void solution_ (::xercesc::XMLFormatTarget &ft, const ::XMLSolution::solution &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. More...
 
void solution_ (::xercesc::XMLFormatTarget &ft, const ::XMLSolution::solution &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. More...
 
void solution_ (::xercesc::DOMDocument &d, const ::XMLSolution::solution &x,::xml_schema::flags f=0)
 Serialize to an existing Xerces-C++ DOM document. More...
 
::xml_schema::dom::auto_ptr
< ::xercesc::DOMDocument > 
solution_ (const ::XMLSolution::solution &x, const ::xml_schema::namespace_infomap &m=::xml_schema::namespace_infomap(),::xml_schema::flags f=0)
 Serialize to a new Xerces-C++ DOM document. More...
 

Detailed Description

C++ namespace for the XMLSolution schema namespace.

Function Documentation

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( 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.

Definition at line 1241 of file solution_h2d_xml.cpp.

Referenced by Hermes::Hermes2D::ConstantSolution< Scalar >::save(), Hermes::Hermes2D::ConstantSolutionVector< Scalar >::save(), and solution_().

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( 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.

Definition at line 1265 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( 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.

Definition at line 1289 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1309 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1322 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1336 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1346 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1360 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1375 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1386 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1406 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::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.

Definition at line 1426 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( 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.

Definition at line 1446 of file solution_h2d_xml.cpp.

std::auto_ptr<::XMLSolution::solution > XMLSolution::solution_ ( ::xml_schema::dom::auto_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.

Definition at line 1483 of file solution_h2d_xml.cpp.

void XMLSolution::solution_ ( ::std::ostream &  os,
const ::XMLSolution::solution 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.

Definition at line 1537 of file solution_h2d_xml.cpp.

void XMLSolution::solution_ ( ::std::ostream &  os,
const ::XMLSolution::solution 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.

Definition at line 1559 of file solution_h2d_xml.cpp.

void XMLSolution::solution_ ( ::std::ostream &  os,
const ::XMLSolution::solution 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.

Definition at line 1579 of file solution_h2d_xml.cpp.

void XMLSolution::solution_ ( ::xercesc::XMLFormatTarget &  ft,
const ::XMLSolution::solution 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.

Definition at line 1596 of file solution_h2d_xml.cpp.

void XMLSolution::solution_ ( ::xercesc::XMLFormatTarget &  ft,
const ::XMLSolution::solution 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.

Definition at line 1614 of file solution_h2d_xml.cpp.

void XMLSolution::solution_ ( ::xercesc::XMLFormatTarget &  ft,
const ::XMLSolution::solution 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.

Definition at line 1630 of file solution_h2d_xml.cpp.

void XMLSolution::solution_ ( ::xercesc::DOMDocument &  d,
const ::XMLSolution::solution 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.

Definition at line 1646 of file solution_h2d_xml.cpp.

xml_schema::dom::auto_ptr<::xercesc::DOMDocument > XMLSolution::solution_ ( const ::XMLSolution::solution 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.

Definition at line 1670 of file solution_h2d_xml.cpp.