|
|
|||
Warning, file /include/opencascade/IGESData_Protocol.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // Created on: 1993-05-05 0002 // Created by: Christian CAILLET 0003 // Copyright (c) 1993-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 _IGESData_Protocol_HeaderFile 0018 #define _IGESData_Protocol_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_Type.hxx> 0022 0023 #include <Interface_Protocol.hxx> 0024 #include <Standard_Integer.hxx> 0025 class Interface_InterfaceModel; 0026 class Standard_Transient; 0027 0028 //! Description of basic Protocol for IGES 0029 //! This comprises treatment of IGESModel and Recognition of 0030 //! Undefined-FreeFormat-Entity 0031 class IGESData_Protocol : public Interface_Protocol 0032 { 0033 0034 public: 0035 Standard_EXPORT IGESData_Protocol(); 0036 0037 //! Gives the count of Resource Protocol. Here, none 0038 Standard_EXPORT int NbResources() const override; 0039 0040 //! Returns a Resource, given a rank. Here, none 0041 Standard_EXPORT occ::handle<Interface_Protocol> Resource(const int num) const override; 0042 0043 //! Returns a Case Number, specific of each recognized Type 0044 //! Here, Undefined and Free Format Entities have the Number 1. 0045 Standard_EXPORT int TypeNumber(const occ::handle<Standard_Type>& atype) const override; 0046 0047 //! Creates an empty Model for IGES Norm 0048 Standard_EXPORT occ::handle<Interface_InterfaceModel> NewModel() const override; 0049 0050 //! Returns True if <model> is a Model of IGES Norm 0051 Standard_EXPORT bool IsSuitableModel( 0052 const occ::handle<Interface_InterfaceModel>& model) const override; 0053 0054 //! Creates a new Unknown Entity for IGES (UndefinedEntity) 0055 Standard_EXPORT occ::handle<Standard_Transient> UnknownEntity() const override; 0056 0057 //! Returns True if <ent> is an Unknown Entity for the Norm, i.e. 0058 //! Type UndefinedEntity, status Unknown 0059 Standard_EXPORT bool IsUnknownEntity(const occ::handle<Standard_Transient>& ent) const override; 0060 0061 DEFINE_STANDARD_RTTIEXT(IGESData_Protocol, Interface_Protocol) 0062 }; 0063 0064 #endif // _IGESData_Protocol_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|