G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsHBSpline.hpp
Go to the documentation of this file.
1
14#include <gsIO/gsXml.h>
16
17namespace gismo
18{
19
20namespace internal
21{
22
23
25template<class T, short_t d>
26class gsXml< gsHBSpline<d,T> >
27{
28private:
29 gsXml() { }
30public:
31 GSXML_COMMON_FUNCTIONS(gsHBSpline<TMPLA2(d,T)>);
32 static std::string tag () { return "Geometry"; }
33 static std::string type () { return "HBSpline"+to_string(d); }
34
35 static gsHBSpline<d,T> * get (gsXmlNode * node)
36 {
37 return getGeometryFromXml< gsHBSpline<d,T> >(node);
38 }
39
40 static gsXmlNode * put (const gsHBSpline<d,T> & obj,
41 gsXmlTree & data )
42 {
43 return putGeometryToXml< gsHBSpline<d,T> >(obj,data);
44 }
45};
46
47
48} // end namespace internal
49
50} // end namespace gismo
Provides implementation of generic XML functions.
Provides declaration of input/output XML utilities struct.
std::string to_string(const unsigned &i)
Helper to convert small unsigned to string.
Definition gsXml.cpp:74
The G+Smo namespace, containing all definitions for the library.