Skip to content
Nicolas BOITEUX edited this page Mar 16, 2019 · 23 revisions

Welcome to the OOP wiki!


Welcome to the OOP wiki that describes the OOP (Object oriented programming) language. You can request or add informations about it

1. What is OOP

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.

2. OOP features

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

3. Releases

Clone this wiki locally