Update of /cvsroot/wpdev/wolfpack/python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27565/python
Modified Files:
item.cpp
Log Message:
Documentation Updates
Index: item.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/python/item.cpp,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** item.cpp 19 Jun 2004 02:06:52 -0000 1.114
--- item.cpp 17 Jul 2004 08:23:27 -0000 1.115
***************
*** 735,739 ****
{
Q_UNUSED(args);
! /*
if( self->pItem->free )
{
--- 735,739 ----
{
Q_UNUSED(args);
! /*
if( self->pItem->free )
{
***************
*** 741,745 ****
return Py_None;
}
! return PyGetMultiObject( dynamic_cast< cMulti* >( FindItemBySerial( self->pItem->multis() ) )
*/
Py_INCREF( Py_None );
--- 741,745 ----
return Py_None;
}
! return PyGetMultiObject( dynamic_cast< cMulti* >( FindItemBySerial( self->pItem->multis() ) )
*/
Py_INCREF( Py_None );
***************
*** 1151,1154 ****
--- 1151,1157 ----
{
// Special Python things
+ /*
+ \rproperty item.content A list of all items inside of the container.
+ */
if ( !strcmp( "content", name ) )
{
***************
*** 1159,1162 ****
--- 1162,1168 ----
return list;
}
+ /*
+ \property item.tags A list of all tag names the object currently has.
+ */
else if ( !strcmp( "tags", name ) )
{
***************
*** 1175,1183 ****
return list;
- /*
- \rproperty item.objects If the item is a multi object, this is a list of objects that are within
- the multi. If it's not a multi, this property is None.
- */
}
else if ( !strcmp( "objects", name ) )
{
--- 1181,1189 ----
return list;
}
+ /*
+ \rproperty item.objects If the item is a multi object, this is a list of objects that are within
+ the multi. If it's not a multi, this property is None.
+ */
else if ( !strcmp( "objects", name ) )
{
***************
*** 1200,1203 ****
--- 1206,1212 ----
return tuple;
}
+ /*
+ \rproperty item.events Returns a list of all event names the object has.
+ */
else if ( !strcmp( "events", name ) )
{
***************
*** 1281,1284 ****
--- 1290,1296 ----
}
}
+ /*
+ \rproperty item.container Returns the serial of the container this item is in. Returns 0 if no container.
+ */
else if ( !strcmp( "container", name ) )
{
|