Menu

OutputDescriptionPolicy Struct Reference

OutputDescriptionPolicy prints the description of the configuration if such a description exists. More...

#include <OutputDescriptionPolicy.h>

Static Public Member Functions

template<typename T , typename SubType , typename R >
static R process ()
 The method is provided for calling within the context of a selector template. As the name of the policy class describes this is intended to be called for a subtype with containing the description.

Detailed Description

OutputDescriptionPolicy prints the description of the configuration if such a description exists.


Member Function Documentation

template<typename T , typename SubType , typename R >
static R OutputDescriptionPolicy::process (  )  [inline, static]

The method is provided for calling within the context of a selector template. As the name of the policy class describes this is intended to be called for a subtype with containing the description.

Template Parameters:
T is a type normally a configuration type/class
SubType is the type and you can call the desc method that gives you a const char* const pointer to the description. If the policy is used in the context of IF_CONTAINS_TYPE_(NAME) it is guaranteed, that SubType is the requested type.
R is the return value of the static process method and its default is void

The documentation for this struct was generated from the following file: