Py::seqref< 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 &key)
Object getAttr (const std::string &attr_name) const
Object getItem (const Object &key) const
bool hasAttr (const std::string &attr_name) const
long hashValue () const
bool isCallable () const
bool isDict () 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
 operator T () const
bool operator!= (const Object &o2) const
bool operator< (const Object &o2) const
bool operator<= (const Object &o2) const
seqref< T > & operator= (const T &ob)
seqref< T > & operator= (const seqref< T > &rhs)
bool operator== (const Object &o2) const
bool operator> (const Object &o2) const
bool operator>= (const Object &o2) const
PyObjectptr () const
int reference_count () const
String repr () const
 seqref (Object &obj)
 seqref (const seqref< T > &range)
 seqref (SeqBase< T > &seq, sequence_index_type j)
void setAttr (const std::string &attr_name, const Object &value)
String str () const
Type type () const
 ~seqref ()

Protected Attributes

int offset
SeqBase< T > & s
the_item

Detailed Description

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

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


Constructor & Destructor Documentation

template<TEMPLATE_TYPENAME T>
Py::seqref< T >::seqref ( SeqBase< T > &  seq,
sequence_index_type  j 
) [inline]

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

template<TEMPLATE_TYPENAME T>
Py::seqref< T >::seqref ( const seqref< T > &  range  )  [inline]

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

template<TEMPLATE_TYPENAME T>
Py::seqref< T >::seqref ( Object obj  )  [inline]

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

template<TEMPLATE_TYPENAME T>
Py::seqref< T >::~seqref (  )  [inline]

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


Member Function Documentation

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
Object Py::seqref< T >::getItem ( const Object key  )  const [inline]

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
bool Py::seqref< T >::hasAttr ( const std::string &  attr_name  )  const [inline]

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
bool Py::seqref< T >::isDict (  )  const [inline]

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
bool Py::seqref< T >::operator!= ( const Object o2  )  const [inline]

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
bool Py::seqref< T >::operator< ( const Object o2  )  const [inline]

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
bool Py::seqref< T >::operator<= ( const Object o2  )  const [inline]

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
seqref<T>& Py::seqref< T >::operator= ( const T &  ob  )  [inline]
template<TEMPLATE_TYPENAME T>
seqref<T>& Py::seqref< T >::operator= ( const seqref< T > &  rhs  )  [inline]
template<TEMPLATE_TYPENAME T>
bool Py::seqref< T >::operator== ( const Object o2  )  const [inline]

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
bool Py::seqref< T >::operator> ( const Object o2  )  const [inline]

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

References Py::seqref< T >::the_item.

template<TEMPLATE_TYPENAME T>
bool Py::seqref< T >::operator>= ( const Object o2  )  const [inline]

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.

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

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

References Py::seqref< T >::the_item.


Member Data Documentation

template<TEMPLATE_TYPENAME T>
int Py::seqref< T >::offset [protected]

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

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

template<TEMPLATE_TYPENAME T>
SeqBase<T>& Py::seqref< T >::s [protected]

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

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

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

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