kig
ArcBTPType Class Reference
#include <arc_type.h>
Inheritance diagram for ArcBTPType:

Detailed Description
an arc by a start point, an intermediate point and an end pointDefinition at line 27 of file arc_type.h.
Public Member Functions | |
| ObjectImp * | calc (const Args &args, const KigDocument &) const |
| const ObjectImpType * | impRequirement (const ObjectImp *o, const Args &parents) const |
| bool | inherits (int type) const |
| const ObjectImpType * | resultId () const |
Static Public Member Functions | |
| static const ArcBTPType * | instance () |
Member Function Documentation
| const ArcBTPType * ArcBTPType::instance | ( | ) | [static] |
Definition at line 69 of file arc_type.cc.
| ObjectImp * ArcBTPType::calc | ( | const Args & | args, | |
| const KigDocument & | ||||
| ) | const [virtual] |
| const ObjectImpType * ArcBTPType::impRequirement | ( | const ObjectImp * | o, | |
| const Args & | parents | |||
| ) | const [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 )
Reimplemented from ArgsParserObjectType.
Definition at line 143 of file arc_type.cc.
| bool ArcBTPType::inherits | ( | int | type | ) | const [virtual] |
| const ObjectImpType * ArcBTPType::resultId | ( | ) | const [virtual] |
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
if the ObjectType can return different sorts of ObjectImp's, it should return the biggest common id, or ID_AnyImp.
Implements ObjectType.
Definition at line 153 of file arc_type.cc.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference