step/stepcore
StepCore::Item Class Reference
#include <world.h>
Inheritance diagram for StepCore::Item:
Public Member Functions | |
Item (const QString &name=QString()) | |
Item (const Item &item) | |
virtual | ~Item () |
Color | color () const |
void | deleteObjectErrors () |
ItemGroup * | group () const |
ObjectErrors * | objectErrors () |
Item & | operator= (const Item &item) |
void | setColor (Color color) |
virtual void | setGroup (ItemGroup *group) |
virtual void | setWorld (World *world) |
ObjectErrors * | tryGetObjectErrors () const |
World * | world () const |
virtual void | worldItemRemoved (Item *item STEPCORE_UNUSED) |
Public Member Functions inherited from StepCore::Object | |
Object (const QString &name=QString()) | |
virtual | ~Object () |
const QString & | name () const |
void | setName (const QString &name) |
Protected Member Functions | |
virtual ObjectErrors * | createObjectErrors () |
Additional Inherited Members | |
Protected Attributes inherited from StepCore::Object | |
QString | _name |
Detailed Description
Constructor & Destructor Documentation
|
inline |
|
inlinevirtual |
Member Function Documentation
|
inline |
|
inlineprotectedvirtual |
Creates specific ObjectErrors-derived class (to be reimplemented in derived classes)
Reimplemented in StepCore::RigidBody, StepCore::ChargedParticle, StepCore::Spring, StepCore::Gas, StepCore::Particle, StepCore::WeightForce, StepCore::GasLJForce, StepCore::CoulombForce, and StepCore::GravitationForce.
|
inline |
|
inline |
ObjectErrors * StepCore::Item::objectErrors | ( | ) |
Get existing ObjectErrors or try to create it.
Assignment operator (copies objectErrors if necessary)
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Set/change pointer to World in which this object lives.
Reimplemented in StepCore::ItemGroup, and StepCore::SoftBody.
|
inline |
Get ObjectErrors only if it already exists.
|
inline |
|
inlinevirtual |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.