kig
python_type.cc
Go to the documentation of this file.
149 CompiledPythonScript& script = static_cast<const PythonCompiledScriptImp*>( parents[0] )->data();
155 const ObjectImpType* PythonExecuteType::impRequirement( const ObjectImp* o, const Args& parents ) const
166 std::vector<ObjectCalcer*> PythonCompileType::sortArgs( const std::vector<ObjectCalcer*>& args ) const
176 std::vector<ObjectCalcer*> PythonExecuteType::sortArgs( const std::vector<ObjectCalcer*>& args ) const
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
static const ObjectImpType * stype()
Returns the ObjectImpType representing the BogusImp type.
Definition: bogus_imp.cc:286
std::vector< ObjectCalcer * > sortArgs(const std::vector< ObjectCalcer * > &args) const
Definition: python_type.cc:166
KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(SegmentAxisType)
bool isDefinedOnOrThrough(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: python_type.cc:191
static const PythonExecuteType * instance()
Definition: python_type.cc:138
virtual void visit(ObjectImpVisitor *vtor) const =0
Definition: python_type.h:23
ObjectImp * calc(const Args &a, const KigDocument &doc)
Definition: python_scripter.cc:439
ObjectImp * calc(const Args &parents, const KigDocument &d) const
Definition: python_type.cc:111
bool isDefinedOnOrThrough(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: python_type.cc:186
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: python_type.cc:106
virtual const ObjectImpType * type() const =0
Returns the lowermost ObjectImpType that this object is an instantiation of.
CompiledPythonScript compile(const char *code)
Definition: python_scripter.cc:457
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: python_type.cc:161
ObjectImp * calc(const Args &parents, const KigDocument &d) const
Definition: python_type.cc:144
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: python_type.cc:101
Definition: python_scripter.h:28
The ObjectType class is a thing that represents the "behaviour" for a certain type.
Definition: object_type.h:32
const ObjectImpType * impRequirement(const ObjectImp *o, const Args &parents) const
Supposing that parents would be given as parents to this type's calc function, this function returns ...
Definition: python_type.cc:155
static bool visit(const ObjectCalcer *o, const std::vector< ObjectCalcer * > &from, std::vector< ObjectCalcer * > &ret)
Definition: calcpaths.cc:193
QByteArray toLatin1() const
std::vector< ObjectCalcer * > sortArgs(const std::vector< ObjectCalcer * > &args) const
Definition: python_type.cc:176
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
static const ObjectImpType * stype()
Returns the ObjectImpType representing the StringImp type.
Definition: bogus_imp.cc:220
Definition: python_type.h:41
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
virtual bool equals(const ObjectImp &rhs) const =0
Returns true if this ObjectImp is equal to rhs.
Definition: object_imp.h:56
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
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.