enums.h File Reference
#include <map>
#include "interop/util/constant_mapping.h"
#include "interop/constants/enums.h"
#include "interop/util/length_of.h"
Go to the source code of this file.
Namespaces | |
illumina | |
illumina::interop | |
illumina::interop::constants | |
illumina::interop::constants::detail | |
Macros | |
#define | INTEROP_TUPLE1(X) name_type_pair_t(#X,X) |
#define | INTEROP_TUPLE_ASSIGN(X, IGNORED_1) name_type_pair_t(#X,X) |
#define | INTEROP_TUPLE2(X, IGNORED_1) name_type_pair_t(#X,X) |
#define | INTEROP_TUPLE3(X, IGNORED_1, IGNORED_2) name_type_pair_t(#X,X) |
#define | INTEROP_TUPLE4(X, IGNORED_1, IGNORED_2, IGNORED_3) name_type_pair_t(#X,X), |
#define | INTEROP_TUPLE7(X, IGNORED_1, IGNORED_2, IGNORED_3, IGNORED_4, IGNORED_5, IGNORED_6) name_type_pair_t(#X,X), |
Functions | |
template<typename Enum > | |
std::string | to_string (Enum value) |
template<typename Enum > | |
Enum | parse (const std::string &name) |
template<typename Enum > | |
void | list_enums (std::vector< Enum > &vec, const size_t skip=0) |
template<typename Enum > | |
void | list_enum_names (std::vector< std::string > &vec, const size_t skip=0) |
Detailed Description
Options to filter metrics
- Date
- 4/27/16
- Version
- 1.0
- Copyright
- GNU Public License.
Macro Definition Documentation
#define INTEROP_TUPLE1 | ( | X | ) | name_type_pair_t(#X,X) |
This macro maps an enum to a string/enum pair
#define INTEROP_TUPLE2 | ( | X, | |
IGNORED_1 | |||
) | name_type_pair_t(#X,X) |
This macro maps an enum description to a string/enum pair
#define INTEROP_TUPLE3 | ( | X, | |
IGNORED_1, | |||
IGNORED_2 | |||
) | name_type_pair_t(#X,X) |
This macro maps an enum description to a string/enum pair
#define INTEROP_TUPLE4 | ( | X, | |
IGNORED_1, | |||
IGNORED_2, | |||
IGNORED_3 | |||
) | name_type_pair_t(#X,X), |
This macro maps an enum description to a string/enum pair
#define INTEROP_TUPLE7 | ( | X, | |
IGNORED_1, | |||
IGNORED_2, | |||
IGNORED_3, | |||
IGNORED_4, | |||
IGNORED_5, | |||
IGNORED_6 | |||
) | name_type_pair_t(#X,X), |
This macro maps an enum description to a string/enum pair
#define INTEROP_TUPLE_ASSIGN | ( | X, | |
IGNORED_1 | |||
) | name_type_pair_t(#X,X) |
This temp macro converts an enum/value pair to an enum