file Pythia_8_212/wrapper_AlphaEM_def.h
[No description available]
Functions
Name | |
---|---|
namespace | CAT_3(BACKENDNAME , _ , SAFE_VERSION ) |
Functions Documentation
function CAT_3
namespace CAT_3(
BACKENDNAME ,
_ ,
SAFE_VERSION
)
Source code
#ifndef __wrapper_AlphaEM_def_Pythia_8_212_h__
#define __wrapper_AlphaEM_def_Pythia_8_212_h__
#include "wrapper_Settings_decl.h"
#include "identification.hpp"
namespace CAT_3(BACKENDNAME,_,SAFE_VERSION)
{
namespace Pythia8
{
// Member functions:
inline void AlphaEM::init(int orderIn, Pythia8::Settings* settingsPtr)
{
get_BEptr()->init__BOSS(orderIn, (*settingsPtr).get_BEptr());
}
inline double AlphaEM::alphaEM(double scale2)
{
return get_BEptr()->alphaEM(scale2);
}
// Wrappers for original constructors:
inline AlphaEM::AlphaEM() :
WrapperBase(__factory0())
{
get_BEptr()->set_wptr(this);
get_BEptr()->set_delete_wrapper(false);
}
// Special pointer-based constructor:
inline AlphaEM::AlphaEM(Abstract_AlphaEM* in) :
WrapperBase(in)
{
get_BEptr()->set_wptr(this);
get_BEptr()->set_delete_wrapper(false);
}
// Copy constructor:
inline AlphaEM::AlphaEM(const AlphaEM& in) :
WrapperBase(in.get_BEptr()->pointer_copy__BOSS())
{
get_BEptr()->set_wptr(this);
get_BEptr()->set_delete_wrapper(false);
}
// Assignment operator:
inline AlphaEM& AlphaEM::operator=(const AlphaEM& in)
{
if (this != &in)
{
get_BEptr()->pointer_assign__BOSS(in.get_BEptr());
}
return *this;
}
// Destructor:
inline AlphaEM::~AlphaEM()
{
if (get_BEptr() != 0)
{
get_BEptr()->set_delete_wrapper(false);
if (can_delete_BEptr())
{
delete BEptr;
BEptr = 0;
}
}
set_delete_BEptr(false);
}
// Returns correctly casted pointer to Abstract class:
inline Abstract_AlphaEM* Pythia8::AlphaEM::get_BEptr() const
{
return dynamic_cast<Abstract_AlphaEM*>(BEptr);
}
}
}
#include "gambit/Backends/backend_undefs.hpp"
#endif /* __wrapper_AlphaEM_def_Pythia_8_212_h__ */
Updated on 2024-07-18 at 13:53:35 +0000