moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kig / objects / tests_type.h
blob4df780463a989f80b780008058c9744913778886
1 // Copyright (C) 2004 Dominique Devriese <devriese@kde.org>
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
16 // 02111-1307, USA.
18 #ifndef KIG_OBJECTS_TESTS_TYPE_H
19 #define KIG_OBJECTS_TESTS_TYPE_H
21 #include "base_type.h"
23 class AreParallelType
24 : public ArgsParserObjectType
26 AreParallelType();
27 ~AreParallelType();
28 public:
29 static const AreParallelType* instance();
30 ObjectImp* calc( const Args& parents, const KigDocument& ) const;
31 const ObjectImpType* resultId() const;
34 class AreOrthogonalType
35 : public ArgsParserObjectType
37 AreOrthogonalType();
38 ~AreOrthogonalType();
39 public:
40 static const AreOrthogonalType* instance();
41 ObjectImp* calc( const Args& parents, const KigDocument& ) const;
42 const ObjectImpType* resultId() const;
45 class AreCollinearType
46 : public ArgsParserObjectType
48 AreCollinearType();
49 ~AreCollinearType();
50 public:
51 static const AreCollinearType* instance();
52 ObjectImp* calc( const Args& parents, const KigDocument& ) const;
53 const ObjectImpType* resultId() const;
56 class ContainsTestType
57 : public ArgsParserObjectType
59 ContainsTestType();
60 ~ContainsTestType();
61 public:
62 static const ContainsTestType* instance();
63 ObjectImp* calc( const Args& parents, const KigDocument& ) const;
64 const ObjectImpType* resultId() const;
67 class InPolygonTestType
68 : public ArgsParserObjectType
70 InPolygonTestType();
71 ~InPolygonTestType();
72 public:
73 static const InPolygonTestType* instance();
74 ObjectImp* calc( const Args& parents, const KigDocument& ) const;
75 const ObjectImpType* resultId() const;
78 class ConvexPolygonTestType
79 : public ArgsParserObjectType
81 ConvexPolygonTestType();
82 ~ConvexPolygonTestType();
83 public:
84 static const ConvexPolygonTestType* instance();
85 ObjectImp* calc( const Args& parents, const KigDocument& ) const;
86 const ObjectImpType* resultId() const;
89 class SameDistanceType
90 : public ArgsParserObjectType
92 SameDistanceType();
93 ~SameDistanceType();
94 public:
95 static const SameDistanceType* instance();
96 ObjectImp* calc( const Args& parents, const KigDocument& ) const;
97 const ObjectImpType* resultId() const;
100 class VectorEqualityTestType
101 : public ArgsParserObjectType
103 VectorEqualityTestType();
104 ~VectorEqualityTestType();
105 public:
106 static const VectorEqualityTestType* instance();
107 ObjectImp* calc( const Args& parents, const KigDocument& ) const;
108 const ObjectImpType* resultId() const;
111 #endif