// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
// vi: set et ts=4 sw=4 sts=4:
/*****************************************************************************
* Copyright (C) 2010-2013 by Andreas Lauser *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see . *
*****************************************************************************/
/*!
* \file
* \brief Provides the magic behind the OPM property system.
*
* Properties allow to associate arbitrary data types to
* identifiers. A property is always defined on a pair (\c TypeTag,
* \c PropertyTag) where \c TypeTag is the identifier for the object the
* property is defined for and \c PropertyTag is an unique identifier of
* the property.
*
* Type tags are hierarchic and inherit properties defined on their
* ancesters. At each level, properties defined on lower levels can be
* overwritten or even made undefined.
*
* Properties may use other properties for the respective type tag and
* these properties can also be defined on an arbitrary level of the
* hierarchy. The only restriction on this is that cycles are not
* allowed when defining properties.
*/
#ifndef OPM_PROPERTIES_HH
#define OPM_PROPERTIES_HH
#include
#include
#include
#include // required for 'is_base_of'
#include