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 ?
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.
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.
Metaclasses provide introspective features, such as obtaining information about classes, methods, and parameter types, as well as dynamic features for changing structural and behavioural properties of a running program.
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):
1 Static and Dynamic aspects of metaentities The metamodel consists of metaclasses.
own metaclasses, making it easier to define new UML Profiles
Beazley has been a Python programmer since 1996, and he describes advanced features such as generators, co-routines, closures, metaclasses and decorators while providing coverage of library modules for threads, subprocesses and multi-processing.
These classes can be regarded as metaclasses whose instances are classes defining domain ontologies.