• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

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, 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.

List of all members.


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 ObjectImpType * impRequirement (const ObjectImp *o, const Args &parents) const
bool isDefinedOnOrThrough (const ObjectImp *o, const Args &parents) const
const ArgsParser & argsParser () const
std::vector< ObjectCalcer * > sortArgs (const std::vector< ObjectCalcer * > &args) const
Args sortArgs (const Args &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 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.

const ArgsParser & ArgsParserObjectType::argsParser (  )  const

Definition at line 79 of file object_type.cc.

std::vector< ObjectCalcer * > ArgsParserObjectType::sortArgs ( const std::vector< ObjectCalcer * > &  args  )  const [virtual]

Implements ObjectType.

Reimplemented in LocusType.

Definition at line 106 of file object_type.cc.

Args ArgsParserObjectType::sortArgs ( const Args &  args  )  const [virtual]

Implements ObjectType.

Reimplemented in LocusType.

Definition at line 111 of file object_type.cc.


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:
  • object_type.h
  • object_type.cc

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal