25 template<
class T,
short_t d>
26 class gsXml< gsHBSpline<d,T> >
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); }
35 static gsHBSpline<d,T> *
get (gsXmlNode * node)
37 return getGeometryFromXml< gsHBSpline<d,T> >(node);
40 static gsXmlNode * put (
const gsHBSpline<d,T> & obj,
43 return putGeometryToXml< gsHBSpline<d,T> >(obj,data);
Provides implementation of generic XML functions.
std::string to_string(const unsigned &i)
Helper to convert small unsigned to string.
Definition: gsXml.cpp:74
Provides declaration of input/output XML utilities struct.