summaryrefslogtreecommitdiff
path: root/thirdparty/windows/include/coin/CoinMessage.hpp
diff options
context:
space:
mode:
authorharpreet2016-07-01 00:11:55 +0530
committerharpreet2016-07-01 00:11:55 +0530
commit89b96cb79cbe75ba8c1afea61b3caca37a083f62 (patch)
tree1b879fb0dce2406c1c49bf5bdabcedfb12ff020c /thirdparty/windows/include/coin/CoinMessage.hpp
parent10e2e4d8b4a7592a8631ddac8e8d1664d6f0b9e3 (diff)
downloadFOSSEE-Optimization-toolbox-89b96cb79cbe75ba8c1afea61b3caca37a083f62.tar.gz
FOSSEE-Optimization-toolbox-89b96cb79cbe75ba8c1afea61b3caca37a083f62.tar.bz2
FOSSEE-Optimization-toolbox-89b96cb79cbe75ba8c1afea61b3caca37a083f62.zip
Windows Included
Diffstat (limited to 'thirdparty/windows/include/coin/CoinMessage.hpp')
-rw-r--r--thirdparty/windows/include/coin/CoinMessage.hpp96
1 files changed, 96 insertions, 0 deletions
diff --git a/thirdparty/windows/include/coin/CoinMessage.hpp b/thirdparty/windows/include/coin/CoinMessage.hpp
new file mode 100644
index 0000000..cfdcd49
--- /dev/null
+++ b/thirdparty/windows/include/coin/CoinMessage.hpp
@@ -0,0 +1,96 @@
+/* $Id: CoinMessage.hpp 1691 2014-03-19 12:43:56Z forrest $ */
+// Copyright (C) 2002, International Business Machines
+// Corporation and others. All Rights Reserved.
+// This code is licensed under the terms of the Eclipse Public License (EPL).
+
+#ifndef CoinMessage_H
+#define CoinMessage_H
+
+#if defined(_MSC_VER)
+// Turn off compiler warning about long names
+# pragma warning(disable:4786)
+#endif
+
+/*! \file
+
+ This file contains the enum for the standard set of Coin messages and a
+ class definition whose sole purpose is to supply a constructor. The text
+ ot the messages is defined in CoinMessage.cpp,
+
+ CoinMessageHandler.hpp contains the generic facilities for message
+ handling.
+*/
+
+#include "CoinMessageHandler.hpp"
+
+/*! \brief Symbolic names for the standard set of COIN messages */
+
+enum COIN_Message
+{
+ COIN_MPS_LINE=0,
+ COIN_MPS_STATS,
+ COIN_MPS_ILLEGAL,
+ COIN_MPS_BADIMAGE,
+ COIN_MPS_DUPOBJ,
+ COIN_MPS_DUPROW,
+ COIN_MPS_NOMATCHROW,
+ COIN_MPS_NOMATCHCOL,
+ COIN_MPS_FILE,
+ COIN_MPS_BADFILE1,
+ COIN_MPS_BADFILE2,
+ COIN_MPS_EOF,
+ COIN_MPS_RETURNING,
+ COIN_MPS_CHANGED,
+ COIN_SOLVER_MPS,
+ COIN_PRESOLVE_COLINFEAS,
+ COIN_PRESOLVE_ROWINFEAS,
+ COIN_PRESOLVE_COLUMNBOUNDA,
+ COIN_PRESOLVE_COLUMNBOUNDB,
+ COIN_PRESOLVE_NONOPTIMAL,
+ COIN_PRESOLVE_STATS,
+ COIN_PRESOLVE_INFEAS,
+ COIN_PRESOLVE_UNBOUND,
+ COIN_PRESOLVE_INFEASUNBOUND,
+ COIN_PRESOLVE_INTEGERMODS,
+ COIN_PRESOLVE_POSTSOLVE,
+ COIN_PRESOLVE_NEEDS_CLEANING,
+ COIN_PRESOLVE_PASS,
+# if PRESOLVE_DEBUG
+ COIN_PRESOLDBG_FIRSTCHECK,
+ COIN_PRESOLDBG_RCOSTACC,
+ COIN_PRESOLDBG_RCOSTSTAT,
+ COIN_PRESOLDBG_STATSB,
+ COIN_PRESOLDBG_DUALSTAT,
+# endif
+ COIN_GENERAL_INFO,
+ COIN_GENERAL_INFO2,
+ COIN_GENERAL_WARNING,
+ COIN_DUMMY_END
+};
+
+
+/*! \class CoinMessage
+ \brief The standard set of Coin messages
+
+ This class provides convenient access to the standard set of Coin messages.
+ In a nutshell, it's a CoinMessages object with a constructor that
+ preloads the standard Coin messages.
+*/
+
+class CoinMessage : public CoinMessages {
+
+public:
+
+ /**@name Constructors etc */
+ //@{
+ /*! \brief Constructor
+
+ Build a CoinMessages object and load it with the standard set of
+ Coin messages.
+ */
+ CoinMessage(Language language=us_en);
+ //@}
+
+};
+
+#endif