SplitItemProcess Class Reference

#include <SplitItemProcess.h>

Inheritance diagram for SplitItemProcess:

Process List of all members.

Public Member Functions

 SplitItemProcess ()
 SplitItemProcess (Item *original, Item *target)
 ENABLE_RUNTIME_CLASSTYPE ()
virtual bool run (const uint32 framenum)
bool loadData (IDataSource *ids, uint32 version)

Protected Member Functions

virtual void saveData (ODataSource *ods)

Protected Attributes

ObjId target

Detailed Description

Definition at line 26 of file SplitItemProcess.h.


Constructor & Destructor Documentation

SplitItemProcess::SplitItemProcess (  ) 

Definition at line 32 of file SplitItemProcess.cpp.

SplitItemProcess::SplitItemProcess ( Item original,
Item target 
)

Definition at line 37 of file SplitItemProcess.cpp.

References Object::getObjId(), Item::getShapeInfo(), ShapeInfo::hasQuantity(), Process::item_num, and target.


Member Function Documentation

SplitItemProcess::ENABLE_RUNTIME_CLASSTYPE (  ) 

Reimplemented from Process.

bool SplitItemProcess::loadData ( IDataSource ids,
uint32  version 
)

load Process data

Reimplemented from Process.

Definition at line 102 of file SplitItemProcess.cpp.

References Process::loadData(), and target.

bool SplitItemProcess::run ( const uint32  framenum  )  [virtual]

Implements Process.

Definition at line 51 of file SplitItemProcess.cpp.

References Item::callUsecodeEvent_combine(), Item::destroy(), getItem(), Item::getQuality(), Item::getShapeInfo(), ShapeInfo::hasQuantity(), Process::is_terminated(), Process::item_num, pout, Process::result, Item::setQuality(), target, and Process::terminate().

void SplitItemProcess::saveData ( ODataSource ods  )  [protected, virtual]

save the Process data

Reimplemented from Process.

Definition at line 95 of file SplitItemProcess.cpp.

References Process::saveData(), target, and ODataSource::write2().


Member Data Documentation

ObjId SplitItemProcess::target [protected]

Definition at line 41 of file SplitItemProcess.h.

Referenced by loadData(), run(), saveData(), and SplitItemProcess().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:58 2007 for pentagram by  doxygen 1.4.7