#include "structure.h"
-#ifndef NO_NAMESPACE_GINAC
namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
class ${STRUCTURE} : public structure
{
// member functions
- // default constructor, destructor, copy constructor assignment operator and helpers
+ // default ctor, dtor, copy ctor assignment operator and helpers
public:
${STRUCTURE}();
~${STRUCTURE}();
void copy(${STRUCTURE} const & other);
void destroy(bool call_parent);
- // other constructors
+ // other ctors
public:
${STRUCTURE}(${constructor_arglist});
#define ex_to_${STRUCTURE}(X) (static_cast<${STRUCTURE} const &>(*(X).bp))
-#ifndef NO_NAMESPACE_GINAC
} // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC
#endif // ndef _${STRUCTURE_UC}_H_
#include "${STRUCTURE}.h"
-#ifndef NO_NAMESPACE_GINAC
namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
//////////
-// default constructor, destructor, copy constructor assignment operator and helpers
+// default ctor, destructor, copy ctor assignment operator and helpers
//////////
// public
${STRUCTURE}::${STRUCTURE}()
{
- debugmsg("${STRUCTURE} default constructor",LOGLEVEL_CONSTRUCT);
+ debugmsg("${STRUCTURE} default ctor",LOGLEVEL_CONSTRUCT);
tinfo_key=tinfo_${STRUCTURE};
}
${STRUCTURE}::${STRUCTURE}(${STRUCTURE} const & other)
{
- debugmsg("${STRUCTURE} copy constructor",LOGLEVEL_CONSTRUCT);
+ debugmsg("${STRUCTURE} copy ctor",LOGLEVEL_CONSTRUCT);
copy(other);
}
}
//////////
-// other constructors
+// other ctors
//////////
// public
${STRUCTURE}::${STRUCTURE}(${constructor_arglist})
: ${constructor_statements}
{
- debugmsg("${STRUCTURE} constructor from children", LOGLEVEL_CONSTRUCT);
+ debugmsg("${STRUCTURE} ctor from children", LOGLEVEL_CONSTRUCT);
tinfo_key=tinfo_${STRUCTURE};
}
const type_info & typeid_${STRUCTURE}=typeid(some_${STRUCTURE});
const unsigned tinfo_${STRUCTURE}=structure::register_new("${STRUCTURE}");
-#ifndef NO_NAMESPACE_GINAC
} // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC
END_OF_IMPLEMENTATION