Py::mapref< T > Class Template Reference

#include <Objects.hxx>

List of all members.

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)
PyObjectptr () 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
the_item

Detailed Description

template<TEMPLATE_TYPENAME T>
class Py::mapref< T >

Definition at line 2600 of file Python2/Objects.hxx.


Constructor & Destructor Documentation

template<TEMPLATE_TYPENAME T>
Py::mapref< T >::mapref ( MapBase< T > &  map,
const std::string &  k 
) [inline]
template<TEMPLATE_TYPENAME T>
Py::mapref< T >::mapref ( MapBase< T > &  map,
const Object k 
) [inline]
template<TEMPLATE_TYPENAME T>
virtual Py::mapref< T >::~mapref (  )  [inline, virtual]

Member Function Documentation

template<TEMPLATE_TYPENAME T>
void Py::mapref< T >::delAttr ( const std::string &  attr_name  )  [inline]

Definition at line 2749 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
void Py::mapref< T >::delItem ( const Object k  )  [inline]

Definition at line 2754 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
Object Py::mapref< T >::getAttr ( const std::string &  attr_name  )  const [inline]

Definition at line 2678 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
Object Py::mapref< T >::getItem ( const Object k  )  const [inline]

Definition at line 2683 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
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().

template<TEMPLATE_TYPENAME T>
long Py::mapref< T >::hashValue (  )  const [inline]

Definition at line 2688 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isCallable (  )  const [inline]

Definition at line 2693 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isInstance (  )  const [inline]

Definition at line 2698 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isList (  )  const [inline]

Definition at line 2703 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isMapping (  )  const [inline]

Definition at line 2708 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isNumeric (  )  const [inline]

Definition at line 2713 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isSequence (  )  const [inline]

Definition at line 2718 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isString (  )  const [inline]

Definition at line 2738 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isTrue (  )  const [inline]

Definition at line 2723 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isTuple (  )  const [inline]

Definition at line 2733 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
bool Py::mapref< T >::isType ( const Type t  )  const [inline]

Definition at line 2728 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
Py::mapref< T >::operator T (  )  const [inline]

Definition at line 2642 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
mapref<T>& Py::mapref< T >::operator= ( const T &  ob  )  [inline]

Definition at line 2634 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
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.

template<TEMPLATE_TYPENAME T>
PyObject* Py::mapref< T >::ptr (  )  const [inline]

Definition at line 2648 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
int Py::mapref< T >::reference_count (  )  const [inline]

Definition at line 2653 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
String Py::mapref< T >::repr (  )  const [inline]

Definition at line 2668 of file Python2/Objects.hxx.

References Py::Object::repr().

template<TEMPLATE_TYPENAME T>
void Py::mapref< T >::setAttr ( const std::string &  attr_name,
const Object value 
) [inline]

Definition at line 2744 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
String Py::mapref< T >::str (  )  const [inline]

Definition at line 2663 of file Python2/Objects.hxx.

References Py::Object::str().

template<TEMPLATE_TYPENAME T>
Type Py::mapref< T >::type (  )  const [inline]

Definition at line 2658 of file Python2/Objects.hxx.

References Py::Object::type().


Member Data Documentation

template<TEMPLATE_TYPENAME T>
Object Py::mapref< T >::key [protected]

Definition at line 2604 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
MapBase<T>& Py::mapref< T >::s [protected]

Definition at line 2603 of file Python2/Objects.hxx.

template<TEMPLATE_TYPENAME T>
T Py::mapref< T >::the_item [protected]

Definition at line 2605 of file Python2/Objects.hxx.

Referenced by Py::mapref< T >::operator=().


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

Generated on Wed Nov 23 19:02:44 2011 for FreeCAD by  doxygen 1.6.1