#include <Objects.hxx>
Public Member Functions | |
void | delAttr (const std::string &attr_name) |
void | delItem (const Object &k) |
Object | getAttr (const std::string &attr_name) const |
Object | getItem (const Object &k) const |
bool | hasAttr (const std::string &attr_name) const |
long | hashValue () const |
bool | isCallable () const |
bool | isInstance () const |
bool | isList () const |
bool | isMapping () const |
bool | isNumeric () const |
bool | isSequence () const |
bool | isString () const |
bool | isTrue () const |
bool | isTuple () const |
bool | isType (const Type &t) const |
mapref (MapBase< T > &map, const Object &k) | |
mapref (MapBase< T > &map, const std::string &k) | |
operator T () const | |
mapref< T > & | operator= (const T &ob) |
mapref< T > & | operator= (const mapref< T > &other) |
PyObject * | ptr () const |
int | reference_count () const |
String | repr () const |
void | setAttr (const std::string &attr_name, const Object &value) |
String | str () const |
Type | type () const |
virtual | ~mapref () |
Protected Attributes | |
Object | key |
MapBase< T > & | s |
T | the_item |
Definition at line 2600 of file Python2/Objects.hxx.
Py::mapref< T >::mapref | ( | MapBase< T > & | map, | |
const std::string & | k | |||
) | [inline] |
Py::mapref< T >::mapref | ( | MapBase< T > & | map, | |
const Object & | k | |||
) | [inline] |
virtual Py::mapref< T >::~mapref | ( | ) | [inline, virtual] |
void Py::mapref< T >::delAttr | ( | const std::string & | attr_name | ) | [inline] |
Definition at line 2749 of file Python2/Objects.hxx.
void Py::mapref< T >::delItem | ( | const Object & | k | ) | [inline] |
Definition at line 2754 of file Python2/Objects.hxx.
Object Py::mapref< T >::getAttr | ( | const std::string & | attr_name | ) | const [inline] |
Definition at line 2678 of file Python2/Objects.hxx.
Object Py::mapref< T >::getItem | ( | const Object & | k | ) | const [inline] |
Definition at line 2683 of file Python2/Objects.hxx.
bool Py::mapref< T >::hasAttr | ( | const std::string & | attr_name | ) | const [inline] |
Definition at line 2673 of file Python2/Objects.hxx.
References Py::Object::hasAttr().
long Py::mapref< T >::hashValue | ( | ) | const [inline] |
Definition at line 2688 of file Python2/Objects.hxx.
bool Py::mapref< T >::isCallable | ( | ) | const [inline] |
Definition at line 2693 of file Python2/Objects.hxx.
bool Py::mapref< T >::isInstance | ( | ) | const [inline] |
Definition at line 2698 of file Python2/Objects.hxx.
bool Py::mapref< T >::isList | ( | ) | const [inline] |
Definition at line 2703 of file Python2/Objects.hxx.
bool Py::mapref< T >::isMapping | ( | ) | const [inline] |
Definition at line 2708 of file Python2/Objects.hxx.
bool Py::mapref< T >::isNumeric | ( | ) | const [inline] |
Definition at line 2713 of file Python2/Objects.hxx.
bool Py::mapref< T >::isSequence | ( | ) | const [inline] |
Definition at line 2718 of file Python2/Objects.hxx.
bool Py::mapref< T >::isString | ( | ) | const [inline] |
Definition at line 2738 of file Python2/Objects.hxx.
bool Py::mapref< T >::isTrue | ( | ) | const [inline] |
Definition at line 2723 of file Python2/Objects.hxx.
bool Py::mapref< T >::isTuple | ( | ) | const [inline] |
Definition at line 2733 of file Python2/Objects.hxx.
bool Py::mapref< T >::isType | ( | const Type & | t | ) | const [inline] |
Definition at line 2728 of file Python2/Objects.hxx.
Py::mapref< T >::operator T | ( | ) | const [inline] |
Definition at line 2642 of file Python2/Objects.hxx.
mapref<T>& Py::mapref< T >::operator= | ( | const T & | ob | ) | [inline] |
Definition at line 2634 of file Python2/Objects.hxx.
mapref<T>& Py::mapref< T >::operator= | ( | const mapref< T > & | other | ) | [inline] |
Definition at line 2626 of file Python2/Objects.hxx.
References Py::mapref< T >::the_item.
PyObject* Py::mapref< T >::ptr | ( | ) | const [inline] |
Definition at line 2648 of file Python2/Objects.hxx.
int Py::mapref< T >::reference_count | ( | ) | const [inline] |
Definition at line 2653 of file Python2/Objects.hxx.
String Py::mapref< T >::repr | ( | ) | const [inline] |
Definition at line 2668 of file Python2/Objects.hxx.
References Py::Object::repr().
void Py::mapref< T >::setAttr | ( | const std::string & | attr_name, | |
const Object & | value | |||
) | [inline] |
Definition at line 2744 of file Python2/Objects.hxx.
String Py::mapref< T >::str | ( | ) | const [inline] |
Definition at line 2663 of file Python2/Objects.hxx.
References Py::Object::str().
Type Py::mapref< T >::type | ( | ) | const [inline] |
Definition at line 2658 of file Python2/Objects.hxx.
References Py::Object::type().
Object Py::mapref< T >::key [protected] |
Definition at line 2604 of file Python2/Objects.hxx.
MapBase<T>& Py::mapref< T >::s [protected] |
Definition at line 2603 of file Python2/Objects.hxx.
T Py::mapref< T >::the_item [protected] |
Definition at line 2605 of file Python2/Objects.hxx.
Referenced by Py::mapref< T >::operator=().