Hermes2D
3.0
|
C++ namespace for the XMLMesh schema namespace. More...
Classes | |
class | arc |
Class corresponding to the arc schema type. More... | |
class | curves_type |
Class corresponding to the curves_type schema type. More... | |
class | ed |
Class corresponding to the ed schema type. More... | |
class | edges_type |
Class corresponding to the edges_type schema type. More... | |
class | el_t |
Class corresponding to the el_t schema type. More... | |
class | elements_type |
Class corresponding to the elements_type schema type. More... | |
class | inner_point |
Class corresponding to the inner_point schema type. More... | |
class | knot |
Class corresponding to the knot schema type. More... | |
class | mesh |
Class corresponding to the mesh schema type. More... | |
class | NURBS |
Class corresponding to the NURBS schema type. More... | |
class | q_t |
Class corresponding to the q_t schema type. More... | |
class | ref |
Class corresponding to the ref schema type. More... | |
class | refinements_type |
Class corresponding to the refinements_type schema type. More... | |
class | t_t |
Class corresponding to the t_t schema type. More... | |
class | v |
Class corresponding to the v schema type. More... | |
class | var |
Class corresponding to the var schema type. More... | |
class | variables_type |
Class corresponding to the variables_type schema type. More... | |
class | vertices_type |
Class corresponding to the vertices_type schema type. More... | |
Functions | |
::std::ostream & | operator<< (::std::ostream &, const variables_type &) |
::std::ostream & | operator<< (::std::ostream &, const vertices_type &) |
::std::ostream & | operator<< (::std::ostream &, const elements_type &) |
::std::ostream & | operator<< (::std::ostream &, const el_t &) |
::std::ostream & | operator<< (::std::ostream &, const t_t &) |
::std::ostream & | operator<< (::std::ostream &, const q_t &) |
::std::ostream & | operator<< (::std::ostream &, const edges_type &) |
::std::ostream & | operator<< (::std::ostream &, const curves_type &) |
::std::ostream & | operator<< (::std::ostream &, const refinements_type &) |
::std::ostream & | operator<< (::std::ostream &, const mesh &) |
::std::ostream & | operator<< (::std::ostream &, const var &) |
::std::ostream & | operator<< (::std::ostream &, const v &) |
::std::ostream & | operator<< (::std::ostream &, const ed &) |
::std::ostream & | operator<< (::std::ostream &, const arc &) |
::std::ostream & | operator<< (::std::ostream &, const NURBS &) |
::std::ostream & | operator<< (::std::ostream &, const ref &) |
::std::ostream & | operator<< (::std::ostream &, const inner_point &) |
::std::ostream & | operator<< (::std::ostream &, const knot &) |
void | operator<< (::xercesc::DOMElement &, const variables_type &) |
void | operator<< (::xercesc::DOMElement &, const vertices_type &) |
void | operator<< (::xercesc::DOMElement &, const elements_type &) |
void | operator<< (::xercesc::DOMElement &, const el_t &) |
void | operator<< (::xercesc::DOMElement &, const t_t &) |
void | operator<< (::xercesc::DOMElement &, const q_t &) |
void | operator<< (::xercesc::DOMElement &, const edges_type &) |
void | operator<< (::xercesc::DOMElement &, const curves_type &) |
void | operator<< (::xercesc::DOMElement &, const refinements_type &) |
void | operator<< (::xercesc::DOMElement &, const mesh &) |
void | operator<< (::xercesc::DOMElement &, const var &) |
void | operator<< (::xercesc::DOMElement &, const v &) |
void | operator<< (::xercesc::DOMElement &, const ed &) |
void | operator<< (::xercesc::DOMElement &, const arc &) |
void | operator<< (::xercesc::DOMElement &, const NURBS &) |
void | operator<< (::xercesc::DOMElement &, const ref &) |
void | operator<< (::xercesc::DOMElement &, const inner_point &) |
void | operator<< (::xercesc::DOMElement &, const knot &) |
Parsing functions for the mesh document root. | |
::std::auto_ptr< ::XMLMesh::mesh > | mesh_ (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< ::XMLMesh::mesh > | mesh_ (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< ::XMLMesh::mesh > | mesh_ (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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (::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< ::XMLMesh::mesh > | mesh_ (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< ::XMLMesh::mesh > | mesh_ (::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 mesh document root. | |
void | mesh_ (::std::ostream &os, const ::XMLMesh::mesh &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 | mesh_ (::std::ostream &os, const ::XMLMesh::mesh &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 | mesh_ (::std::ostream &os, const ::XMLMesh::mesh &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 | mesh_ (::xercesc::XMLFormatTarget &ft, const ::XMLMesh::mesh &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 | mesh_ (::xercesc::XMLFormatTarget &ft, const ::XMLMesh::mesh &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 | mesh_ (::xercesc::XMLFormatTarget &ft, const ::XMLMesh::mesh &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 | mesh_ (::xercesc::DOMDocument &d, const ::XMLMesh::mesh &x,::xml_schema::flags f=0) |
Serialize to an existing Xerces-C++ DOM document. More... | |
::xml_schema::dom::auto_ptr < ::xercesc::DOMDocument > | mesh_ (const ::XMLMesh::mesh &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... | |
C++ namespace for the XMLMesh schema namespace.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | const ::std::string & | uri, |
::xml_schema::flags | f = 0 , |
||
const ::xml_schema::properties & | p = ::xml_schema::properties () |
||
) |
Parse a URI or a local file.
uri | A URI or a local file name. |
f | Parsing flags. |
p | Parsing properties. |
This function uses exceptions to report parsing errors.
Definition at line 2935 of file mesh_h2d_xml.cpp.
Referenced by Hermes::Hermes2D::MeshReaderH2DXML::load(), mesh_(), and Hermes::Hermes2D::MeshReaderH2DXML::save().
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | 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.
uri | A URI or a local file name. |
eh | An error handler. |
f | Parsing flags. |
p | Parsing properties. |
This function reports parsing errors by calling the error handler.
Definition at line 2959 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | 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.
uri | A URI or a local file name. |
eh | A Xerces-C++ DOM error handler. |
f | Parsing flags. |
p | Parsing properties. |
This function reports parsing errors by calling the error handler.
Definition at line 2983 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::std::istream & | is, |
::xml_schema::flags | f = 0 , |
||
const ::xml_schema::properties & | p = ::xml_schema::properties () |
||
) |
Parse a standard input stream.
is | A standrad input stream. |
f | Parsing flags. |
p | Parsing properties. |
This function uses exceptions to report parsing errors.
Definition at line 3003 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::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.
is | A standrad input stream. |
eh | An error handler. |
f | Parsing flags. |
p | Parsing properties. |
This function reports parsing errors by calling the error handler.
Definition at line 3016 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::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.
is | A standrad input stream. |
eh | A Xerces-C++ DOM error handler. |
f | Parsing flags. |
p | Parsing properties. |
This function reports parsing errors by calling the error handler.
Definition at line 3030 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::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.
is | A standrad input stream. |
id | A resource id. |
f | Parsing flags. |
p | Parsing properties. |
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 3040 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::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.
is | A standrad input stream. |
id | A resource id. |
eh | An error handler. |
f | Parsing flags. |
p | Parsing properties. |
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 3054 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::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.
is | A standrad input stream. |
id | A resource id. |
eh | A Xerces-C++ DOM error handler. |
f | Parsing flags. |
p | Parsing properties. |
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 3069 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::xercesc::InputSource & | is, |
::xml_schema::flags | f = 0 , |
||
const ::xml_schema::properties & | p = ::xml_schema::properties () |
||
) |
Parse a Xerces-C++ input source.
is | A Xerces-C++ input source. |
f | Parsing flags. |
p | Parsing properties. |
This function uses exceptions to report parsing errors.
Definition at line 3080 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::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.
is | A Xerces-C++ input source. |
eh | An error handler. |
f | Parsing flags. |
p | Parsing properties. |
This function reports parsing errors by calling the error handler.
Definition at line 3100 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::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.
is | A Xerces-C++ input source. |
eh | A Xerces-C++ DOM error handler. |
f | Parsing flags. |
p | Parsing properties. |
This function reports parsing errors by calling the error handler.
Definition at line 3120 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | const ::xercesc::DOMDocument & | d, |
::xml_schema::flags | f = 0 , |
||
const ::xml_schema::properties & | p = ::xml_schema::properties () |
||
) |
Parse a Xerces-C++ DOM document.
d | A Xerces-C++ DOM document. |
f | Parsing flags. |
p | Parsing properties. |
Definition at line 3140 of file mesh_h2d_xml.cpp.
std::auto_ptr<::XMLMesh::mesh > XMLMesh::mesh_ | ( | ::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.
d | A pointer to the Xerces-C++ DOM document. |
f | Parsing flags. |
p | Parsing properties. |
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 3177 of file mesh_h2d_xml.cpp.
void XMLMesh::mesh_ | ( | ::std::ostream & | os, |
const ::XMLMesh::mesh & | 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.
os | A standrad output stream. |
x | An object model to serialize. |
m | A namespace information map. |
e | A character encoding to produce XML in. |
f | Serialization flags. |
This function uses exceptions to report serialization errors.
Definition at line 3231 of file mesh_h2d_xml.cpp.
void XMLMesh::mesh_ | ( | ::std::ostream & | os, |
const ::XMLMesh::mesh & | 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.
os | A standrad output stream. |
x | An object model to serialize. |
eh | An error handler. |
m | A namespace information map. |
e | A character encoding to produce XML in. |
f | Serialization flags. |
This function reports serialization errors by calling the error handler.
Definition at line 3253 of file mesh_h2d_xml.cpp.
void XMLMesh::mesh_ | ( | ::std::ostream & | os, |
const ::XMLMesh::mesh & | 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.
os | A standrad output stream. |
x | An object model to serialize. |
eh | A Xerces-C++ DOM error handler. |
m | A namespace information map. |
e | A character encoding to produce XML in. |
f | Serialization flags. |
This function reports serialization errors by calling the error handler.
Definition at line 3273 of file mesh_h2d_xml.cpp.
void XMLMesh::mesh_ | ( | ::xercesc::XMLFormatTarget & | ft, |
const ::XMLMesh::mesh & | 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.
ft | A Xerces-C++ XML format target. |
x | An object model to serialize. |
m | A namespace information map. |
e | A character encoding to produce XML in. |
f | Serialization flags. |
This function uses exceptions to report serialization errors.
Definition at line 3290 of file mesh_h2d_xml.cpp.
void XMLMesh::mesh_ | ( | ::xercesc::XMLFormatTarget & | ft, |
const ::XMLMesh::mesh & | 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.
ft | A Xerces-C++ XML format target. |
x | An object model to serialize. |
eh | An error handler. |
m | A namespace information map. |
e | A character encoding to produce XML in. |
f | Serialization flags. |
This function reports serialization errors by calling the error handler.
Definition at line 3308 of file mesh_h2d_xml.cpp.
void XMLMesh::mesh_ | ( | ::xercesc::XMLFormatTarget & | ft, |
const ::XMLMesh::mesh & | 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.
ft | A Xerces-C++ XML format target. |
x | An object model to serialize. |
eh | A Xerces-C++ DOM error handler. |
m | A namespace information map. |
e | A character encoding to produce XML in. |
f | Serialization flags. |
This function reports serialization errors by calling the error handler.
Definition at line 3324 of file mesh_h2d_xml.cpp.
void XMLMesh::mesh_ | ( | ::xercesc::DOMDocument & | d, |
const ::XMLMesh::mesh & | x, | ||
::xml_schema::flags | f = 0 |
||
) |
Serialize to an existing Xerces-C++ DOM document.
d | A Xerces-C++ DOM document. |
x | An object model to serialize. |
f | Serialization 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 3340 of file mesh_h2d_xml.cpp.
xml_schema::dom::auto_ptr<::xercesc::DOMDocument > XMLMesh::mesh_ | ( | const ::XMLMesh::mesh & | x, |
const ::xml_schema::namespace_infomap & | m = ::xml_schema::namespace_infomap () , |
||
::xml_schema::flags | f = 0 |
||
) |
Serialize to a new Xerces-C++ DOM document.
x | An object model to serialize. |
m | A namespace information map. |
f | Serialization flags. |
Definition at line 3364 of file mesh_h2d_xml.cpp.