X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fisospin.h;h=0cc29bc71d297bf2d363f0425de58d1ea63cfb6d;hp=0318360f30a8e60aa8dfbb8fa504cb3d451b1bfd;hb=601880914ba5553a1fea9f36491060b15db1ba2c;hpb=2565309dd7c38635c191eacf2a4af9b23fc0d310 diff --git a/ginac/isospin.h b/ginac/isospin.h index 0318360f..0cc29bc7 100644 --- a/ginac/isospin.h +++ b/ginac/isospin.h @@ -24,15 +24,17 @@ #define __GINAC_ISOSPIN_H__ #include -#include +#include "indexed.h" -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC namespace GiNaC { -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC /** Base class for isospin object */ class isospin : public indexed { + GINAC_DECLARE_REGISTERED_CLASS(isospin, indexed) + // member functions // default constructor, destructor, copy constructor assignment operator and helpers @@ -91,8 +93,8 @@ inline const isospin &ex_to_isospin(const ex &e) return static_cast(*e.bp); } -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC #endif // ndef __GINAC_ISOSPIN_H__