From 8cf24170a4998e316c1b9c9bfd2b56e266c544cd Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 16 Jan 2015 12:31:06 +0100 Subject: renamed isa to superclass in Domain::Descriptor and id some cosmetic changes. --- src/core/model/Domain.hpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/core/model/Domain.hpp') diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp index 791d563..8bc21e9 100644 --- a/src/core/model/Domain.hpp +++ b/src/core/model/Domain.hpp @@ -546,7 +546,7 @@ typedef RangeSet Cardinality; class StructuredClass : public Descriptor { private: const Cardinality cardinality; - Owned isa; + Owned superclass; NodeVector subclasses; public: @@ -570,7 +570,7 @@ public: * @param attributesDescriptor is a StructType that specifies the attribute * keys as well as value domains for this * Descriptor. - * @param isa references a parent StructuredClass. Please + * @param superclass references a parent StructuredClass. Please * look for more information on inheritance in * the class documentation above. The default is * a null reference, meaning no super class. @@ -585,7 +585,7 @@ public: const Cardinality &cardinality, Handle attributesDescriptor = nullptr, // TODO: What would be a wise default value for isa? - Handle isa = nullptr, + Handle superclass = nullptr, bool transparent = false, bool root = false); /** @@ -596,13 +596,12 @@ public: const Cardinality &getCardinality() const { return cardinality; } /** - * Returns the parent of this StructuredClass in the class inheritance - * hierarchy (!). This is not the same as the parents in the Structure Tree! + * Returns the superclass of this StructuredClass. This is not the same as + * the parents in the Structure Tree! * - * @return the parent of this StructuredClass in the class inheritance - * hierarchy (!). + * @return the superclass of this StructuredClass. */ - Rooted getIsA() const { return isa; } + Rooted getSuperclass() const { return superclass; } /** * Returns the StructuredClasses that are subclasses of this class. This -- cgit v1.2.3