Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-27 09:19:36

0001 // Created on: 2007-05-14
0002 // Created by: data exchange team
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 #ifndef Units_Operators_HeaderFile
0017 #define Units_Operators_HeaderFile
0018 
0019 #include <Units_Token.hxx>
0020 #include <Units_Quantity.hxx>
0021 
0022 Standard_EXPORT bool operator==(const occ::handle<Units_Quantity>&, const char* const);
0023 Standard_EXPORT bool operator==(const occ::handle<Units_Token>&, const char* const);
0024 Standard_EXPORT bool operator==(const occ::handle<Units_Unit>&, const char* const);
0025 
0026 Standard_EXPORT occ::handle<Units_Dimensions> operator*(const occ::handle<Units_Dimensions>&,
0027                                                         const occ::handle<Units_Dimensions>&);
0028 Standard_EXPORT occ::handle<Units_Dimensions> operator/(const occ::handle<Units_Dimensions>&,
0029                                                         const occ::handle<Units_Dimensions>&);
0030 
0031 Standard_EXPORT occ::handle<Units_Dimensions> pow(const occ::handle<Units_Dimensions>&,
0032                                                   const double);
0033 Standard_EXPORT occ::handle<Units_Token> pow(const occ::handle<Units_Token>&,
0034                                              const occ::handle<Units_Token>&);
0035 Standard_EXPORT occ::handle<Units_Token> pow(const occ::handle<Units_Token>&, const double);
0036 
0037 Standard_EXPORT occ::handle<Units_Token> operator+(const occ::handle<Units_Token>&, const int);
0038 Standard_EXPORT occ::handle<Units_Token> operator+(const occ::handle<Units_Token>&,
0039                                                    const occ::handle<Units_Token>&);
0040 Standard_EXPORT occ::handle<Units_Token> operator-(const occ::handle<Units_Token>&,
0041                                                    const occ::handle<Units_Token>&);
0042 Standard_EXPORT occ::handle<Units_Token> operator*(const occ::handle<Units_Token>&,
0043                                                    const occ::handle<Units_Token>&);
0044 Standard_EXPORT occ::handle<Units_Token> operator/(const occ::handle<Units_Token>&,
0045                                                    const occ::handle<Units_Token>&);
0046 
0047 Standard_EXPORT bool operator!=(const occ::handle<Units_Token>&, const char* const);
0048 Standard_EXPORT bool operator<=(const occ::handle<Units_Token>&, const char* const);
0049 Standard_EXPORT bool operator>(const occ::handle<Units_Token>&, const char* const);
0050 Standard_EXPORT bool operator>(const occ::handle<Units_Token>&, const occ::handle<Units_Token>&);
0051 Standard_EXPORT bool operator>=(const occ::handle<Units_Token>&, const occ::handle<Units_Token>&);
0052 
0053 #endif