Minsky
schema1::SPoly< T, B1, B2 > Struct Template Reference

#include <schema1.h>

Inheritance diagram for schema1::SPoly< T, B1, B2 >:
Inheritance graph
Collaboration diagram for schema1::SPoly< T, B1, B2 >:
Collaboration graph

Public Member Functions

SPolyoperator= (const SPoly &)=default
 
SPolyclone () const override
 
string type () const override
 
void xml_pack (xml_pack_t &x, const string &d) const override
 
void xml_unpack (xml_unpack_t &x, const string &d) override
 
void json_pack (json_pack_t &x, const string &d) const override
 
void json_unpack (json_unpack_t &x, const string &d) override
 

Detailed Description

template<class T, class B1, class B2 = PolyBase<string>>
struct schema1::SPoly< T, B1, B2 >

Definition at line 62 of file schema1.h.

Member Function Documentation

◆ clone()

template<class T, class B1, class B2 = PolyBase<string>>
SPoly* schema1::SPoly< T, B1, B2 >::clone ( ) const
inlineoverride

Definition at line 66 of file schema1.h.

66 {return new T(static_cast<const T&>(*this));}

◆ json_pack()

template<class T, class B1, class B2 = PolyBase<string>>
void schema1::SPoly< T, B1, B2 >::json_pack ( json_pack_t &  x,
const string &  d 
) const
inlineoverride

Definition at line 75 of file schema1.h.

76  {::json_pack(x,d,static_cast<const T&>(*this));}
void json_pack(json_pack_t &x, const string &d) const override
Definition: schema1.h:75

◆ json_unpack()

template<class T, class B1, class B2 = PolyBase<string>>
void schema1::SPoly< T, B1, B2 >::json_unpack ( json_unpack_t &  x,
const string &  d 
)
inlineoverride

Definition at line 78 of file schema1.h.

79  {::json_unpack(x,d,static_cast<T&>(*this));}
void json_unpack(json_unpack_t &x, const string &d) override
Definition: schema1.h:78

◆ operator=()

template<class T, class B1, class B2 = PolyBase<string>>
SPoly& schema1::SPoly< T, B1, B2 >::operator= ( const SPoly< T, B1, B2 > &  )
default

◆ type()

template<class T, class B1, class B2 = PolyBase<string>>
string schema1::SPoly< T, B1, B2 >::type ( ) const
inlineoverride

Definition at line 67 of file schema1.h.

67 {return classdesc::typeName<T>();}

◆ xml_pack()

template<class T, class B1, class B2 = PolyBase<string>>
void schema1::SPoly< T, B1, B2 >::xml_pack ( xml_pack_t &  x,
const string &  d 
) const
inlineoverride

Definition at line 69 of file schema1.h.

70  {::xml_pack(x,d,static_cast<const T&>(*this));}
void xml_pack(xml_pack_t &x, const string &d) const override
Definition: schema1.h:69

◆ xml_unpack()

template<class T, class B1, class B2 = PolyBase<string>>
void schema1::SPoly< T, B1, B2 >::xml_unpack ( xml_unpack_t &  x,
const string &  d 
)
inlineoverride

Definition at line 72 of file schema1.h.

73  {::xml_unpack(x,d,static_cast<T&>(*this));}
void xml_unpack(xml_unpack_t &x, const string &d) override
Definition: schema1.h:72

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