|
||||
File indexing completed on 2025-01-18 10:03:53
0001 // Created on: 1994-11-07 0002 // Created by: Christian CAILLET 0003 // Copyright (c) 1994-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _IFSelect_CheckCounter_HeaderFile 0018 #define _IFSelect_CheckCounter_HeaderFile 0019 0020 #include <Standard.hxx> 0021 0022 #include <IFSelect_SignatureList.hxx> 0023 class MoniTool_SignText; 0024 class Interface_CheckIterator; 0025 class Interface_InterfaceModel; 0026 0027 0028 class IFSelect_CheckCounter; 0029 DEFINE_STANDARD_HANDLE(IFSelect_CheckCounter, IFSelect_SignatureList) 0030 0031 //! A CheckCounter allows to see a CheckList (i.e. CheckIterator) 0032 //! not per entity, its messages, but per message, the entities 0033 //! attached (count and list). Because many messages can be 0034 //! repeated if they are due to systematic errors 0035 class IFSelect_CheckCounter : public IFSelect_SignatureList 0036 { 0037 0038 public: 0039 0040 0041 //! Creates a CheckCounter, empty ready to work 0042 Standard_EXPORT IFSelect_CheckCounter(const Standard_Boolean withlist = Standard_False); 0043 0044 //! Sets a specific signature 0045 //! Else, the current SignType (in the model) is used 0046 Standard_EXPORT void SetSignature (const Handle(MoniTool_SignText)& sign); 0047 0048 //! Returns the Signature; 0049 Standard_EXPORT Handle(MoniTool_SignText) Signature() const; 0050 0051 //! Analyses a CheckIterator according a Model (which detains the 0052 //! entities for which the CheckIterator has messages), i.e. 0053 //! counts messages for entities 0054 //! If <original> is True, does not consider final messages but 0055 //! those before interpretation (such as inserting variables : 0056 //! integers, reals, strings) 0057 //! If <failsonly> is True, only Fails are considered 0058 //! Remark : global messages are recorded with a Null entity 0059 Standard_EXPORT void Analyse (const Interface_CheckIterator& list, const Handle(Interface_InterfaceModel)& model, const Standard_Boolean original = Standard_False, const Standard_Boolean failsonly = Standard_False); 0060 0061 0062 0063 0064 DEFINE_STANDARD_RTTIEXT(IFSelect_CheckCounter,IFSelect_SignatureList) 0065 0066 protected: 0067 0068 0069 0070 0071 private: 0072 0073 0074 Handle(MoniTool_SignText) thesign; 0075 0076 0077 }; 0078 0079 0080 0081 0082 0083 0084 0085 #endif // _IFSelect_CheckCounter_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |