~ubuntu-branches/ubuntu/vivid/kig/vivid

« back to all changes in this revision

Viewing changes to objects/object_type_factory.cc

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark
  • Date: 2014-07-24 23:07:41 UTC
  • mfrom: (1.1.46)
  • Revision ID: package-import@ubuntu.com-20140724230741-rud8rfeu5cvo7amu
Tags: 4:4.13.90-0ubuntu1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
ObjectTypeFactory::ObjectTypeFactory()
42
42
  : malreadysetup( false )
43
43
{
44
 
  setupBuiltinTypes();
45
44
}
46
45
 
47
46
ObjectTypeFactory::~ObjectTypeFactory()
67
66
  else return i->second;
68
67
}
69
68
 
70
 
void ObjectTypeFactory::setupBuiltinTypes()
71
 
{
72
 
//   assert( ! malreadysetup );
73
 
//   malreadysetup = true;
74
 
 
75
 
//   // circle_type.h
76
 
//   add( CircleBCPType::instance() );
77
 
//   add( CircleBPRType::instance() );
78
 
//   add( CircleBTPType::instance() );
79
 
 
80
 
//   // conic_types.h
81
 
//   add( ConicB5PType::instance() );
82
 
//   add( ConicBAAPType::instance() );
83
 
//   add( EllipseBFFPType::instance() );
84
 
//   add( HyperbolaBFFPType::instance() );
85
 
//   add( ConicBDFPType::instance() );
86
 
//   add( ParabolaBTPType::instance() );
87
 
//   add( EquilateralHyperbolaB4PType::instance() );
88
 
//   add( ConicPolarPointType::instance() );
89
 
//   add( ConicPolarLineType::instance() );
90
 
//   add( ConicDirectrixType::instance() );
91
 
//   add( ParabolaBDPType::instance() );
92
 
//   add( ConicAsymptoteType::instance() );
93
 
//   add( ConicRadicalType::instance() );
94
 
 
95
 
//   // cubic_type.h
96
 
//   add( CubicB9PType::instance() );
97
 
//   add( CubicNodeB6PType::instance() );
98
 
//   add( CubicCuspB4PType::instance() );
99
 
 
100
 
//   // intersection_types.h
101
 
//   add( ConicLineIntersectionType::instance() );
102
 
//   add( ConicLineOtherIntersectionType::instance() );
103
 
//   add( LineLineIntersectionType::instance() );
104
 
//   add( LineCubicIntersectionType::instance() );
105
 
//   add( CircleCircleIntersectionType::instance() );
106
 
 
107
 
//   // line_type.h
108
 
//   add( SegmentABType::instance() );
109
 
//   add( LineABType::instance() );
110
 
//   add( RayABType::instance() );
111
 
//   add( LinePerpendLPType::instance() );
112
 
//   add( LineParallelLPType::instance() );
113
 
 
114
 
//   // other_type.h
115
 
//   add( AngleType::instance() );
116
 
//   add( VectorType::instance() );
117
 
//   add( LocusType::instance() );
118
 
//   add( ArcBTPType::instance() );
119
 
//   add( CopyObjectType::instance() );
120
 
 
121
 
//   // point_type.h
122
 
//   add( FixedPointType::instance() );
123
 
//   add( ConstrainedPointType::instance() );
124
 
//   add( MidPointType::instance() );
125
 
//   add( MeasureTransportType::instance() );
126
 
 
127
 
//   // text_type.h
128
 
//   add( TextType::instance() );
129
 
 
130
 
//   // tests_type.h
131
 
//   add( AreParallelType::instance() );
132
 
 
133
 
//   // transform_types.h
134
 
//   add( TranslatedType::instance() );
135
 
//   add( PointReflectionType::instance() );
136
 
//   add( LineReflectionType::instance() );
137
 
//   add( RotationType::instance() );
138
 
//   add( ScalingOverCenterType::instance() );
139
 
//   add( ScalingOverLineType::instance() );
140
 
//   add( ProjectiveRotationType::instance() );
141
 
//   add( CastShadowType::instance() );
142
 
 
143
 
// #ifdef KIG_ENABLE_PYTHON_SCRIPTING
144
 
//   // python types
145
 
//   add( PythonCompileType::instance() );
146
 
//   add( PythonExecuteType::instance() );
147
 
// #endif
148
 
}
 
69