GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — mexcppclass/include/mexcppclass/matlab/message.hpp at master · rymut/mexcppclass Expand file tree/ Copy pathmessage.hppMore file actions 45 lines (33 loc) · 1.05 KB / Copy pathmessage.hppFile metadata and controls45 lines (33 loc) · 1.05 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 /// Copyright (C) 2017 by Boguslaw Rymut /// /// This file is distributed under the Apache 2.0 License /// See LICENSE for details. #ifndef MEXCPPCLASS_MATLAB_MESSAGE_HPP_ #define MEXCPPCLASS_MATLAB_MESSAGE_HPP_ #include <string> #include "mexcppclass/matlab/msgid.hpp" #include "mexcppclass/matlab/msglevel.hpp" namespace mexcppclass { namespace matlab { /*! \brief Matlab message */ class Message { public: Message(const MsgId &msg_id, const std::string &component = "unknown", const std::string &details = ""); MsgId GetMsgId() const; std::string GetDetails() const; std::string GetComponent() const; void Display(const MsgLevel &level) const; static void Display(const std::string &details, const std::string &component = "", const MsgId &msg_id = MsgId::None, const MsgLevel &level = MsgLevel::Information); private: MsgId msg_id_; std::string details_; std::string component_; }; } // namespace matlab } // namespace mexcppclass #endif // MEXCPPCLASS_MATLAB_MESSAGE_HPP_ |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |