PythonAccessor< Policy > Class Template Reference

#include <common/proto/call_python.h>

Inheritance diagram for PythonAccessor< Policy >:
Collaboration diagram for PythonAccessor< Policy >:

Public Types

using KeyType = typename Policy::KeyType

Public Member Functions

 PythonAccessor (PythonRemoteVariable obj, const KeyType &key)
 operator PythonRemoteVariable () const
PythonRemoteVariable operator= (const PythonAccessor &value)
PythonRemoteVariable operator= (const PythonRemoteVariable &value)
template<typename T >
PythonRemoteVariable operator= (const T &value)
- Public Member Functions inherited from PythonApi< PythonAccessor< Policy > >
PythonRemoteVariable operator() (Types...args) const
 Calls object with given arguments, returning the remote result. More...
PythonAttrAccessor attr (const std::string &name) const
 Accesses an attribute. More...
PythonItemAccessor operator[] (Type key) const
 Accesses an item. More...
PythonItemAccessor slice (Types...args) const
 Accesses a NumPy-friendly slice. More...

Member Typedef Documentation

using KeyType = typename Policy::KeyType

Constructor & Destructor Documentation

PythonAccessor ( PythonRemoteVariable  obj,
const KeyType key 

Member Function Documentation

operator PythonRemoteVariable ( ) const
PythonRemoteVariable operator= ( const PythonAccessor< Policy > &  value)
PythonRemoteVariable operator= ( const PythonRemoteVariable value)
PythonRemoteVariable operator= ( const T value)

Here is the call graph for this function:

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