Properties

The property system. More...

Collaboration diagram for Properties:

Files

file  propertysystem.hh
 The Opm property system, traits with inheritance.
 

Detailed Description

The property system.

The purpose of the eWoms property system is to specify compile-time parameters. It can thus be used to specify types and things which cause the compiler to alter its decisions.

Semantically, the property system can be thought of being very similar to the standard C++ "traits" pattern. The advantages of the property system are that it includes build-in introspection capabilities and (more importantly) an easy to use inheritance mechanism.