IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
iganet::ModelXML Class Referenceabstract

Model XML serialization. More...

#include </home/runner/work/iganet/iganet/webapps/model.hpp>

Inheritance diagram for iganet::ModelXML:
iganet::Poisson2dModel< T > iganet::webapp::BSplineModel< Spline > iganet::webapp::GismoGeometryModel< d, T > iganet::webapp::GismoPdeModel< d, T > iganet::webapp::GismoKLShellModel< d, T > iganet::webapp::GismoLinearElasticityModel< d, T > iganet::webapp::GismoPoissonModel< d, T >

Public Member Functions

virtual nlohmann::json exportXML (const std::string &patch, const std::string &component, int id)=0
 Exports model to XML (as JSON object)
 
virtual pugi::xml_node & exportXML (const std::string &patch, const std::string &component, pugi::xml_node &root, int id)=0
 Exports model to XML (as XML object)
 
std::vector< std::string > getCapabilities () const
 
virtual void importXML (const std::string &patch, const std::string &component, const nlohmann::json &json, int id)=0
 Imports model from XML (as JSON object)
 
virtual void importXML (const std::string &patch, const std::string &component, const pugi::xml_node &xml, int id)=0
 Imports model from XML (as XML object)
 

Detailed Description

Model XML serialization.

Member Function Documentation

◆ exportXML() [1/2]

virtual nlohmann::json iganet::ModelXML::exportXML ( const std::string &  patch,
const std::string &  component,
int  id 
)
pure virtual

◆ exportXML() [2/2]

virtual pugi::xml_node & iganet::ModelXML::exportXML ( const std::string &  patch,
const std::string &  component,
pugi::xml_node &  root,
int  id 
)
pure virtual

◆ getCapabilities()

std::vector< std::string > iganet::ModelXML::getCapabilities ( ) const
inline

◆ importXML() [1/2]

virtual void iganet::ModelXML::importXML ( const std::string &  patch,
const std::string &  component,
const nlohmann::json &  json,
int  id 
)
pure virtual

◆ importXML() [2/2]

virtual void iganet::ModelXML::importXML ( const std::string &  patch,
const std::string &  component,
const pugi::xml_node &  xml,
int  id 
)
pure virtual

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