parameters: (self, code)
return_statement: return cpp_function
docstring: Helper function to wrap the provided code into a function \
              with the expected signature.
  
          Args:
              code (`str`): Body of the C++ function
docstring_summary: Helper function to wrap the provided code into a function \
              with the expected signature.
docstring_tokens: Helper function to wrap the provided code into a function \ with the expected signature .
function: def _wrap_cpu_code(self, code):
          """Helper function to wrap the provided code into a function \
              with the expected signature.
  
          Args:
              code (`str`): Body of the C++ function
          """
          cpp_function = """
                          #include "hoomd/HOOMDMath.h"
                          #include "hoomd/VectorMath.h"
                          #include "hoomd/BoxDim.h"
  
                          using namespace hoomd;
  
                          extern "C"
                          {
  
                          float eval(const BoxDim& box,
                          unsigned int type_i,
                          const vec3<Scalar> r_i,
                          const quat<Scalar>& q_i,
                          Scalar diameter,
                          Scalar charge
                          )
                              {
                          """
          cpp_function += code
          cpp_function += """
                              }
                          }
                          """
          return cpp_function
function_tokens: def _wrap_cpu_code ( self , code ) : cpp_function = """
                          #include "hoomd/HOOMDMath.h"
                          #include "hoomd/VectorMath.h"
                          #include "hoomd/BoxDim.h"
  
                          using namespace hoomd;
  
                          extern "C"
                          {
  
                          float eval(const BoxDim& box,
                          unsigned int type_i,
                          const vec3<Scalar> r_i,
                          const quat<Scalar>& q_i,
                          Scalar diameter,
                          Scalar charge
                          )
                              {
                          """ cpp_function += code cpp_function += """
                              }
                          }
                          """ return cpp_function