kig
#include <object_type.h>

Public Member Functions | |
| const ArgsParser & | argsParser () const |
| const ObjectImpType * | impRequirement (const ObjectImp *o, const Args &parents) const |
| bool | isDefinedOnOrThrough (const ObjectImp *o, const Args &parents) const |
| std::vector< ObjectCalcer * > | sortArgs (const std::vector< ObjectCalcer * > &args) const |
| Args | sortArgs (const Args &args) const |
Public Member Functions inherited from ObjectType | |
| virtual | ~ObjectType () |
| virtual ObjectImp * | calc (const Args &parents, const KigDocument &d) const =0 |
| virtual bool | canMove (const ObjectTypeCalcer &ourobj) const |
| virtual void | executeAction (int i, ObjectHolder &o, ObjectTypeCalcer &t, KigPart &d, KigWidget &w, NormalMode &m) const |
| const char * | fullName () const |
| virtual bool | inherits (int type) const |
| virtual bool | isFreelyTranslatable (const ObjectTypeCalcer &ourobj) const |
| virtual bool | isTransform () const |
| virtual std::vector < ObjectCalcer * > | movableParents (const ObjectTypeCalcer &ourobj) const |
| virtual void | move (ObjectTypeCalcer &ourobj, const Coordinate &to, const KigDocument &d) const |
| virtual const Coordinate | moveReferencePoint (const ObjectTypeCalcer &ourobj) const |
| virtual const ObjectImpType * | resultId () const =0 |
| virtual QStringList | specialActions () const |
Protected Member Functions | |
| ArgsParserObjectType (const char fulltypename[], const struct ArgsParser::spec argsspec[], int n) | |
Protected Member Functions inherited from ObjectType | |
| ObjectType (const char fulltypename[]) | |
Protected Attributes | |
| const ArgsParser | margsparser |
Additional Inherited Members | |
Public Types inherited from ObjectType | |
| enum | { ID_ConstrainedPointType, ID_LocusType, ID_FixedPointType } |
Detailed Description
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be specified in an ArgsParser.
Definition at line 113 of file object_type.h.
Constructor & Destructor Documentation
|
protected |
Definition at line 69 of file object_type.cc.
Member Function Documentation
| const ArgsParser & ArgsParserObjectType::argsParser | ( | ) | const |
Definition at line 81 of file object_type.cc.
|
virtual |
Supposing that parents would be given as parents to this type's calc function, this function returns the ObjectImp id that o should at least have.
( o should be part of parents )
Implements ObjectType.
Reimplemented in LocusType.
Definition at line 76 of file object_type.cc.
|
virtual |
Supposing that parents would be given as parents to this type's calc function, this function returns whether the returned ObjectImp will be, by construction, on o ( if o is a curve ), or through o ( if o is a point ).
Implements ObjectType.
Definition at line 123 of file object_type.cc.
|
virtual |
Member Data Documentation
|
protected |
Definition at line 117 of file object_type.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from