libtenum
include/tenum/detail/type.hpp File Reference
#include <boost/config.hpp>
#include <boost/preprocessor.hpp>
Include dependency graph for type.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TENUM_TYPE(type_m)   BOOST_PP_CAT(type_m,_t)
 Expands to the typename that should be used when manipulating type_m enum variables, parameters or template typenames.
#define TENUM_VALUE(type_m, value_m)   type_m :: value_m
 Expands to the type_m enum value value_m.
#define TENUM_VALUE_UNKNOWN(type_m)   TENUM_VALUE(type_m,lte_unknown)
 Expands to the type_m defined "unknown" enum value.

Detailed Description

Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt

Definition in file type.hpp.


Define Documentation

#define TENUM_TYPE (   type_m)    BOOST_PP_CAT(type_m,_t)

Expands to the typename that should be used when manipulating type_m enum variables, parameters or template typenames.

Parameters:
type_mthe enum typename.

Definition at line 24 of file type.hpp.

#define TENUM_VALUE (   type_m,
  value_m 
)    type_m :: value_m

Expands to the type_m enum value value_m.

Parameters:
type_mthe enum typename.
value_mthe defined enum value.

Definition at line 33 of file type.hpp.

#define TENUM_VALUE_UNKNOWN (   type_m)    TENUM_VALUE(type_m,lte_unknown)

Expands to the type_m defined "unknown" enum value.

Parameters:
type_mthe enum typename.

Definition at line 41 of file type.hpp.

 All Classes Namespaces Files Functions Defines