Metaclass

(redirected from Metaclasses)

Metaclass

The class of a class. A metaclass is a class whose instances are themselves classes.
Mentioned in ?
References in periodicals archive ?
This stereotype extends the UML Call Operation and Call Behavior metaclasses which are themselves two refinements of the UML Execution Action metaclass:
From how to avoid common pitfalls with metaclasses to manipulating Python's built-in modules to best effect, code writers already working with Python will find this packed with optimization solutions that will improve the quality of their efforts and streamline productions by taking the guesswork out of results.
He covers Pythonic thinking, functions, classes and inheritance, metaclasses and attributes, concurrency and parallelism, built-in-modules, collaboration, and production.
However, the first-class extensibility is handled through metamodel extension, where there are no restrictions on what one is allowed to do with a metamodel: one can add and remove metaclasses and relationships as one finds it necessary.
For instance, in OpenC++ [26], developers are allowed to define metaclasses specializing certain types of transformation by subclassing standard built-in metaclasses.
This edition emphasizes Python 3.0 (while still covering 2.6); reorganizes and expands some material; and includes new chapters on advanced topics like object-oriented programming, Unicode and byte strings and string and file differences, managed attribute tools and descriptors, function and class decorators, and metaclasses. No previous experience with the language is required; the book is aimed at professional developers and those new to programming.
Four metaclasses of transportation objects are involved in dynamic and spatialized relations:
Thus functors from M-CLS-SPEC to CLS-SPEC are the refinements from metaclasses to classes, and functors from MM-CLS-SPEC to M-CLS-SPEC the refinements from meta-meta-classes to meta-classes.
The following is the hierarchy given by Laenzlinger (2000: 59), where he conflates under larger semantic metaclasses several adjacent adjective classes proposed by Scott (1998):
3.1 Static and Dynamic aspects of metaentities The metamodel consists of metaclasses. Within a metaclass, we are able to express all aspects relevant to a metaentity:
This year's tracks included: Foundations; Distributed Objects; Java; Patterns and Frameworks; Components; Project Management; Analysis and Design; Business Objects; Process and Methodology; Architecture; User Interfaces; Languages and Implementation; Emerging Technologies; Reflection and Metaclasses; Testing; Software Engineering; and Databases.
1995], there can be infinite layers of objects: ordinary objects, classes, metaclasses, etc.