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

kig

  • sources
  • kde-4.14
  • kdeedu
  • kig
  • objects
cubic_type.h
Go to the documentation of this file.
1 // Copyright (C) 2003 Dominique Devriese <devriese@kde.org>
2 
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.
7 
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.
12 
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., 51 Franklin Street, Fifth Floor, Boston, MA
16 // 02110-1301, USA.
17 
18 #ifndef KIG_OBJECTS_CUBIC_TYPE_H
19 #define KIG_OBJECTS_CUBIC_TYPE_H
20 
21 #include "object_type.h"
22 
23 class CubicB9PType
24  : public ArgsParserObjectType
25 {
26  CubicB9PType();
27  ~CubicB9PType();
28 public:
29  static const CubicB9PType* instance();
30  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
31  const ObjectImpType* resultId() const;
32 };
33 
34 class CubicNodeB6PType
35  : public ArgsParserObjectType
36 {
37  CubicNodeB6PType();
38  ~CubicNodeB6PType();
39 public:
40  static const CubicNodeB6PType* instance();
41  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
42  const ObjectImpType* resultId() const;
43 };
44 
45 class CubicCuspB4PType
46  : public ArgsParserObjectType
47 {
48  CubicCuspB4PType();
49  ~CubicCuspB4PType();
50 public:
51  static const CubicCuspB4PType* instance();
52  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
53  const ObjectImpType* resultId() const;
54 };
55 
56 class VerticalCubicB4PType
57  : public ArgsParserObjectType
58 {
59  VerticalCubicB4PType();
60  ~VerticalCubicB4PType();
61 public:
62  static const VerticalCubicB4PType* instance();
63  ObjectImp* calc( const Args& parents, const KigDocument& ) const;
64  const ObjectImpType* resultId() const;
65 };
66 
67 #endif
ObjectImpType
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
CubicCuspB4PType
Definition: cubic_type.h:45
CubicCuspB4PType::instance
static const CubicCuspB4PType * instance()
Definition: cubic_type.cc:135
ArgsParserObjectType
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
CubicCuspB4PType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: cubic_type.cc:141
CubicB9PType::instance
static const CubicB9PType * instance()
Definition: cubic_type.cc:53
VerticalCubicB4PType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: cubic_type.cc:207
VerticalCubicB4PType::instance
static const VerticalCubicB4PType * instance()
Definition: cubic_type.cc:173
CubicCuspB4PType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: cubic_type.cc:202
object_type.h
Args
std::vector< const ObjectImp * > Args
Definition: objects/common.h:47
CubicNodeB6PType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: cubic_type.cc:101
CubicB9PType
Definition: cubic_type.h:23
CubicNodeB6PType::instance
static const CubicNodeB6PType * instance()
Definition: cubic_type.cc:95
CubicB9PType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: cubic_type.cc:192
KigDocument
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
CubicNodeB6PType
Definition: cubic_type.h:34
CubicB9PType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: cubic_type.cc:59
VerticalCubicB4PType
Definition: cubic_type.h:56
ObjectImp
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
VerticalCubicB4PType::calc
ObjectImp * calc(const Args &parents, const KigDocument &) const
Definition: cubic_type.cc:179
CubicNodeB6PType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: cubic_type.cc:197
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal