Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:17

0001 // Created on: 2007-07-06
0002 // Created by: Pavel TELKOV
0003 // Copyright (c) 2007-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 // Original implementation copyright (c) RINA S.p.A.
0017 
0018 #ifndef Message_Status_HeaderFile
0019 #define Message_Status_HeaderFile
0020 
0021 #include <Message_StatusType.hxx>
0022 
0023 //! Enumeration covering all execution statuses supported by the class
0024 //! Message_ExecStatus: 32 statuses per each of 4 types (DONE, WARN, ALARM, FAIL)
0025 
0026 enum Message_Status
0027 {
0028   //! Empty status
0029   Message_None  = 0,          
0030 
0031   //! Something done, 32 variants
0032   Message_Done1 = Message_DONE, 
0033   Message_Done2,  Message_Done3,  Message_Done4,  Message_Done5,
0034   Message_Done6,  Message_Done7,  Message_Done8,  Message_Done9,
0035   Message_Done10, Message_Done11, Message_Done12, Message_Done13,
0036   Message_Done14, Message_Done15, Message_Done16, Message_Done17,
0037   Message_Done18, Message_Done19, Message_Done20, Message_Done21,
0038   Message_Done22, Message_Done23, Message_Done24, Message_Done25,
0039   Message_Done26, Message_Done27, Message_Done28, Message_Done29,
0040   Message_Done30, Message_Done31, Message_Done32,
0041 
0042   //! Warning for possible problem encountered, 32 variants
0043   Message_Warn1 = Message_WARN, 
0044   Message_Warn2,  Message_Warn3,  Message_Warn4,  Message_Warn5,
0045   Message_Warn6,  Message_Warn7,  Message_Warn8,  Message_Warn9,
0046   Message_Warn10, Message_Warn11, Message_Warn12, Message_Warn13,
0047   Message_Warn14, Message_Warn15, Message_Warn16, Message_Warn17,
0048   Message_Warn18, Message_Warn19, Message_Warn20, Message_Warn21,
0049   Message_Warn22, Message_Warn23, Message_Warn24, Message_Warn25,
0050   Message_Warn26, Message_Warn27, Message_Warn28, Message_Warn29,
0051   Message_Warn30, Message_Warn31, Message_Warn32,
0052 
0053   //! Alarm (severe warning) for problem encountered, 32 variants
0054   Message_Alarm1 = Message_ALARM, 
0055   Message_Alarm2,  Message_Alarm3,  Message_Alarm4,  Message_Alarm5,
0056   Message_Alarm6,  Message_Alarm7,  Message_Alarm8,  Message_Alarm9,
0057   Message_Alarm10, Message_Alarm11, Message_Alarm12, Message_Alarm13,
0058   Message_Alarm14, Message_Alarm15, Message_Alarm16, Message_Alarm17,
0059   Message_Alarm18, Message_Alarm19, Message_Alarm20, Message_Alarm21,
0060   Message_Alarm22, Message_Alarm23, Message_Alarm24, Message_Alarm25,
0061   Message_Alarm26, Message_Alarm27, Message_Alarm28, Message_Alarm29,
0062   Message_Alarm30, Message_Alarm31, Message_Alarm32,
0063 
0064   //! Execution failed, 32 variants
0065   Message_Fail1 = Message_FAIL, 
0066   Message_Fail2,  Message_Fail3,  Message_Fail4,  Message_Fail5,
0067   Message_Fail6,  Message_Fail7,  Message_Fail8,  Message_Fail9,
0068   Message_Fail10, Message_Fail11, Message_Fail12, Message_Fail13,
0069   Message_Fail14, Message_Fail15, Message_Fail16, Message_Fail17,
0070   Message_Fail18, Message_Fail19, Message_Fail20, Message_Fail21,
0071   Message_Fail22, Message_Fail23, Message_Fail24, Message_Fail25,
0072   Message_Fail26, Message_Fail27, Message_Fail28, Message_Fail29,
0073   Message_Fail30, Message_Fail31, Message_Fail32
0074 };
0075 
0076 #endif