-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Nicolas BOITEUX edited this page Mar 16, 2019
·
23 revisions
Welcome to the OOP wiki that describes the OOP (Object oriented programming) language. You can request or add informations about it
oop.h technicaly is a header file containing preprocessor commands that are used by the Arma preprocessor engine to rewrite on the fly the code before compilation. oop.h contains a lot of MACRO that permit to extend the native SQF language to SQF Oriented object language. As this transformation is done during the precompilation stage there is not overhead of the translation during the execution time.
Here a global overview of all features that are avalaible with oop language :)
- Human-readable syntax that closely resembles PHP's OOP integration.
- Only one header file, and it's fully macro-based, and only executed by the preprocessor.
- Implements full class-based object inheritance.
- Data encapsulation
- Allows for public, protected, and private class visibility, for instituting complex objects and inheritance.
- Full support for polymorphism (to the limits of the SQF syntax).
- Small memory footprint - all functions are static, and no code is unnecessarily duplicated.
- Support for constructors and deconstructors.
- Completely recursive via the MEMBER macro.
- Allows for static variables, which are persistent to all class of the same type.
- Object can run in a multi thread context
- Last versions were released by Code34 - nicolas_boiteux@yahoo.fr & Minipopov
- Original version was released in nov 2013 by Naught under GPL 3.0 - dylanplecki@gmail.com