// // Generated file, do not edit! Created by nedtool 5.4 from sim_std.msg. // #if defined(__clang__) # pragma clang diagnostic ignored "-Wreserved-id-macro" #endif #ifndef __OMNETPP_SIM_STD_M_H #define __OMNETPP_SIM_STD_M_H #include // nedtool version check #define MSGC_VERSION 0x0504 #if (MSGC_VERSION!=OMNETPP_VERSION) # error Version mismatch! Probably this file was generated by an earlier version of nedtool: 'make clean' should help. #endif namespace omnetpp { } // namespace omnetpp // cplusplus {{ #ifdef _MSC_VER # pragma warning(disable:4996) // deprecation #endif #ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif #include "resultfilters.h" #include "resultrecorders.h" namespace omnetpp { // // Register enums from the sim. kernel // #define cF cFigure Register_Enum(cPar::Type, (cPar::BOOL, cPar::DOUBLE, cPar::LONG, cPar::STRING, cPar::XML)); Register_Enum(cGate::Type, (cGate::INPUT, cGate::OUTPUT, cGate::INOUT)); Register_Enum(cHistogram::Mode, (cHistogram::MODE_INTEGERS, cHistogram::MODE_REALS, cHistogram::MODE_AUTO)); Register_Enum(cFigure::LineStyle, (cF::LINE_SOLID, cF::LINE_DOTTED, cF::LINE_DASHED)); Register_Enum(cFigure::CapStyle, (cF::CAP_BUTT, cF::CAP_SQUARE, cF::CAP_ROUND)); Register_Enum(cFigure::JoinStyle, (cF::JOIN_BEVEL, cF::JOIN_MITER, cF::JOIN_ROUND)); Register_Enum(cFigure::FillRule, (cF::FILL_EVENODD, cF::FILL_NONZERO)); Register_Enum(cFigure::Arrowhead, (cF::ARROW_NONE, cF::ARROW_SIMPLE, cF::ARROW_TRIANGLE, cF::ARROW_BARBED)); Register_Enum(cFigure::Anchor, (cF::ANCHOR_CENTER, cF::ANCHOR_N, cF::ANCHOR_E, cF::ANCHOR_S, cF::ANCHOR_W, cF::ANCHOR_NW, cF::ANCHOR_NE, cF::ANCHOR_SE, cF::ANCHOR_SW, cF::ANCHOR_BASELINE_START, cF::ANCHOR_BASELINE_MIDDLE, cF::ANCHOR_BASELINE_END)); Register_Enum(cFigure::Interpolation, (cF::INTERPOLATION_NONE, cF::INTERPOLATION_FAST, cF::INTERPOLATION_BEST)); #undef cF // // Define operator<< for some classes // inline std::ostream& operator<<(std::ostream& os, const cDisplayString& d) { return os << "\"" << d.str() << "\""; } inline std::ostream& operator<<(std::ostream& os, const cAbstractHistogram::Bin& bin) { return os << "[" << bin.lower << ", " << bin.upper << ") ==> " << bin.value << " (" << bin.relativeFreq << ")"; } using namespace canvas_stream_ops; // // This function is to be referenced from sim. kernel classes, to force the // linker to include this file in executables // void std_sim_descriptor_dummy() {} } // namespace omnetpp // }} namespace omnetpp { } // namespace omnetpp #endif // ifndef __OMNETPP_SIM_STD_M_H