kig
ArgsParserObjectType Class Reference
#include <object_type.h>
Inherits ObjectType.
Inherited by AffinityB2TrType, AffinityGI3PType, AngleType, ApplyTransformationObjectType, ArcBCPAType, ArcBTPType, ArcLineIntersectionType, AreCollinearType, AreOrthogonalType, AreParallelType, CastShadowType, CircleBPRType, CircleBTPType, CircleCircleIntersectionType, CircleCircleOtherIntersectionType, CircularInversionType, CocConicType, CocCubicType, CocCurveType, ConicArcB5PType, ConicArcBCTPType, ConicAsymptoteType, ConicB5PType, ConicBAAPType, ConicBDFPType, ConicBFFPType, ConicDirectrixType, ConicLineIntersectionType, ConicLineOtherIntersectionType, ConicPolarLineType, ConicPolarPointType, ConicRadicalType, ConstrainedPointType, ContainsTestType, ConvexHullType, ConvexPolygonTestType, CubicB9PType, CubicCuspB4PType, CubicLineOtherIntersectionType, CubicLineTwoIntersectionType, CubicNodeB6PType, EquilateralHyperbolaB4PType, ExistenceTestType, FixedPointType, HalfAngleType, HalflineByVectorType, HarmonicHomologyType, InPolygonTestType, InvertArcType, InvertCircleType, InvertLineType, InvertPointType, InvertSegmentType, LineByVectorType, LineCubicIntersectionType, LineLineIntersectionType, LineReflectionType, LocusType, MeasureTransportTypeOld, ObjectABType, ObjectLPType, ParabolaBTPType, PointByCoordsType, PointReflectionType, PolygonLineIntersectionType, PolygonPolygonIntersectionType, PolygonSideType, PolygonVertexType, ProjectiveRotationType, ProjectivityB2QuType, ProjectivityGI4PType, RelativePointType, RotationType, SameDistanceType, ScalingOverCenter2Type, ScalingOverCenterType, ScalingOverLine2Type, ScalingOverLineType, SimilitudeType, TangentArcType, TangentConicType, TangentCubicType, TangentCurveType, TranslatedType, TriangleB3PType, VectorEqualityTestType, VectorSumType, and VerticalCubicB4PType.
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.
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 |
| Args | sortArgs (const Args &args) const |
| std::vector< ObjectCalcer * > | sortArgs (const std::vector< ObjectCalcer * > &args) const |
Protected Member Functions | |
| ArgsParserObjectType (const char fulltypename[], const struct ArgsParser::spec argsspec[], int n) | |
Protected Attributes | |
| const ArgsParser | margsparser |
Constructor & Destructor Documentation
| ArgsParserObjectType::ArgsParserObjectType | ( | const char | fulltypename[], | |
| const struct ArgsParser::spec | argsspec[], | |||
| int | n | |||
| ) | [protected] |
Definition at line 67 of file object_type.cc.
Member Function Documentation
| const ArgsParser & ArgsParserObjectType::argsParser | ( | ) | const |
Definition at line 79 of file object_type.cc.
| const ObjectImpType * ArgsParserObjectType::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 )
Implements ObjectType.
Reimplemented in ArcBTPType, ArcBCPAType, and LocusType.
Definition at line 74 of file object_type.cc.
| bool ArgsParserObjectType::isDefinedOnOrThrough | ( | 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 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 121 of file object_type.cc.
| std::vector< ObjectCalcer * > ArgsParserObjectType::sortArgs | ( | const std::vector< ObjectCalcer * > & | args | ) | const [virtual] |
Member Data Documentation
const ArgsParser ArgsParserObjectType::margsparser [protected] |
Definition at line 117 of file object_type.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference