FEDEM Solver
R8.0
Source code of the dynamics solver
|
Enum variables with text representations. More...
#include <vector>
#include <utility>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <iostream>
Go to the source code of this file.
Classes | |
class | FFaEnum< EnumType, ETMapping > |
Class to be used as a enum variable with text representations. More... | |
Macros | |
#define | FFaEnumMapping(EnumType) |
Defines the start of an enum mapping definition. More... | |
#define | FFaEnumEntry(EnumValue, EnumText) enumMap.push_back(std::make_pair(EnumValue,EnumText)); |
Adds one entry to the current enum mapping definition. More... | |
#define | FFaEnumEntryEnd } return enumMap; } |
Defines the end of an enum mapping definition. More... | |
Functions | |
template<class EnumType , class ETMapping > | |
std::ostream & | operator<< (std::ostream &s, const FFaEnum< EnumType, ETMapping > &e) |
Global output stream operator. More... | |
template<class EnumType , class ETMapping > | |
std::istream & | operator>> (std::istream &s, FFaEnum< EnumType, ETMapping > &e) |
Global input stream operator. More... | |
Enum variables with text representations.
#define FFaEnumEntry | ( | EnumValue, | |
EnumText | |||
) | enumMap.push_back(std::make_pair(EnumValue,EnumText)); |
Adds one entry to the current enum mapping definition.
#define FFaEnumEntryEnd } return enumMap; } |
Defines the end of an enum mapping definition.
#define FFaEnumMapping | ( | EnumType | ) |
Defines the start of an enum mapping definition.
std::ostream& operator<< | ( | std::ostream & | s, |
const FFaEnum< EnumType, ETMapping > & | e | ||
) |
Global output stream operator.
std::istream& operator>> | ( | std::istream & | s, |
FFaEnum< EnumType, ETMapping > & | e | ||
) |
Global input stream operator.