Sandbox::PythonBaseClass Class Reference

Public Member Functions

Py::Object getattro (const Py::String &name_)
 
 PythonBaseClass (Py::PythonClassInstance *self, Py::Tuple &args, Py::Dict &kwds)
 
Py::Object PythonBaseClass_func_keyword (const Py::Tuple &args, const Py::Dict &kwds)
 
Py::Object PythonBaseClass_func_noargs (void)
 
Py::Object PythonBaseClass_func_noargs_raise_exception (void)
 
Py::Object PythonBaseClass_func_varargs (const Py::Tuple &args)
 
virtual int sequence_ass_item (Py_ssize_t i, const Py::Object &o)
 
virtual int sequence_ass_slice (Py_ssize_t, Py_ssize_t, const Py::Object &)
 
virtual Py::Object sequence_concat (const Py::Object &)
 
virtual Py::Object sequence_item (Py_ssize_t i)
 
virtual int sequence_length ()
 
virtual Py::Object sequence_repeat (Py_ssize_t)
 
virtual Py::Object sequence_slice (Py_ssize_t, Py_ssize_t)
 
int setattro (const Py::String &name_, const Py::Object &value)
 
virtual ~PythonBaseClass ()
 

Static Public Member Functions

static void init_type (void)
 

Public Attributes

std::vector< Py::Object > m_array
 
Py::String m_value
 

Constructor & Destructor Documentation

◆ PythonBaseClass()

Sandbox::PythonBaseClass::PythonBaseClass ( Py::PythonClassInstance *  self,
Py::Tuple &  args,
Py::Dict &  kwds 
)

References m_array.

◆ ~PythonBaseClass()

virtual Sandbox::PythonBaseClass::~PythonBaseClass ( )
virtual

Member Function Documentation

◆ getattro()

Py::Object Sandbox::PythonBaseClass::getattro ( const Py::String &  name_)

References m_value.

◆ init_type()

static void Sandbox::PythonBaseClass::init_type ( void  )
static

◆ PythonBaseClass_func_keyword()

Py::Object Sandbox::PythonBaseClass::PythonBaseClass_func_keyword ( const Py::Tuple &  args,
const Py::Dict &  kwds 
)

Referenced by init_type().

◆ PythonBaseClass_func_noargs()

Py::Object Sandbox::PythonBaseClass::PythonBaseClass_func_noargs ( void  )

References m_value.

Referenced by init_type().

◆ PythonBaseClass_func_noargs_raise_exception()

Py::Object Sandbox::PythonBaseClass::PythonBaseClass_func_noargs_raise_exception ( void  )

Referenced by init_type().

◆ PythonBaseClass_func_varargs()

Py::Object Sandbox::PythonBaseClass::PythonBaseClass_func_varargs ( const Py::Tuple &  args)

Referenced by init_type().

◆ sequence_ass_item()

virtual int Sandbox::PythonBaseClass::sequence_ass_item ( Py_ssize_t  i,
const Py::Object &  o 
)
virtual

References m_array.

◆ sequence_ass_slice()

virtual int Sandbox::PythonBaseClass::sequence_ass_slice ( Py_ssize_t  ,
Py_ssize_t  ,
const Py::Object &   
)
virtual

◆ sequence_concat()

virtual Py::Object Sandbox::PythonBaseClass::sequence_concat ( const Py::Object &  )
virtual

◆ sequence_item()

virtual Py::Object Sandbox::PythonBaseClass::sequence_item ( Py_ssize_t  i)
virtual

References m_array.

◆ sequence_length()

virtual int Sandbox::PythonBaseClass::sequence_length ( )
virtual

References m_array.

◆ sequence_repeat()

virtual Py::Object Sandbox::PythonBaseClass::sequence_repeat ( Py_ssize_t  )
virtual

◆ sequence_slice()

virtual Py::Object Sandbox::PythonBaseClass::sequence_slice ( Py_ssize_t  ,
Py_ssize_t   
)
virtual

◆ setattro()

int Sandbox::PythonBaseClass::setattro ( const Py::String &  name_,
const Py::Object &  value 
)

References m_value.

Member Data Documentation

◆ m_array

std::vector<Py::Object> Sandbox::PythonBaseClass::m_array

◆ m_value

Py::String Sandbox::PythonBaseClass::m_value

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