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

Detailed Description
an arc by a point (center), a starting point and an angleDefinition at line 47 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 ArcBCPAType * | instance () |
Member Function Documentation
| const ArcBCPAType * ArcBCPAType::instance | ( | ) | [static] |
Definition at line 183 of file arc_type.cc.
| ObjectImp * ArcBCPAType::calc | ( | const Args & | args, | |
| const KigDocument & | ||||
| ) | const [virtual] |
| const ObjectImpType * ArcBCPAType::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 205 of file arc_type.cc.
| bool ArcBCPAType::inherits | ( | int | type | ) | const [virtual] |
| const ObjectImpType * ArcBCPAType::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 215 of file arc_type.cc.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference