Menu

description.h File Reference

Go to the source code of this file.

Defines

#define DESCRIPTION(description)
 The DESCRIPTION macro generates a Description type that provides a static desc method, that returns a const char* const. This return pointer can be used for output.

Define Documentation

#define DESCRIPTION ( description   ) 
Value:
struct Description { \
    static const char* const desc() {                           \
        static const char* const _desc=description;             \
        return _desc;                                           \
    }                                                           \
}

The DESCRIPTION macro generates a Description type that provides a static desc method, that returns a const char* const. This return pointer can be used for output.

Parameters:
description the description message that describes something e.g. a FAMOUSO configuration.