Chemical Data Processing Library C++ API - Version 1.2.0
Macros
LookupKeyDefinition.hpp File Reference

Definition of the preprocessor macro CDPL_DEFINE_LOOKUP_KEY. More...

#include "CDPL/Base/LookupKey.hpp"

Go to the source code of this file.

Macros

#define CDPL_DEFINE_LOOKUP_KEY(name)    const CDPL::Base::LookupKey name = CDPL::Base::LookupKey::create(#name);
 Defines a constant CDPL::Base::LookupKey variable with the specified name. More...
 

Detailed Description

Definition of the preprocessor macro CDPL_DEFINE_LOOKUP_KEY.

Macro Definition Documentation

◆ CDPL_DEFINE_LOOKUP_KEY

#define CDPL_DEFINE_LOOKUP_KEY (   name)     const CDPL::Base::LookupKey name = CDPL::Base::LookupKey::create(#name);

Defines a constant CDPL::Base::LookupKey variable with the specified name.

The variable is initialized with a new unique CDPL::Base::LookupKey instance created by a call to CDPL::Base::LookupKey::create(const std::string& name).

Parameters
nameThe name of the variable to define.