/[escript]/branches/RW_WIN32/finley/src/CPPAdapter/FinleyError.h
ViewVC logotype

Contents of /branches/RW_WIN32/finley/src/CPPAdapter/FinleyError.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 194 - (show annotations)
Mon Nov 21 08:39:19 2005 UTC (14 years, 7 months ago) by phornby
File MIME type: text/plain
File size: 1774 byte(s)
Remove hanging }


1 /*
2 ******************************************************************************
3 * *
4 * COPYRIGHT ACcESS 2004 - All Rights Reserved *
5 * *
6 * This software is the property of ACcESS. No part of this code *
7 * may be copied in any form or by any means without the expressed written *
8 * consent of ACcESS. Copying, use or modification of this software *
9 * by any unauthorised person is illegal unless that person has a software *
10 * license agreement with ACcESS. *
11 * *
12 ******************************************************************************
13 */
14
15 #if !defined finley_FinleyError_20040528_H
16 #define finley_FinleyError_20040528_H
17
18 #ifdef MSVC
19 #ifdef FINLEY_EXPORTS
20 #define FINLEY_DLL __declspec(dllexport)
21 #else
22 #define FINLEY_DLL __declspec(dllimport)
23 #endif
24 #else
25 #define FINLEY_DLL
26 #endif
27 #include "finley/finleyC/Finley.h"
28
29 #include <string>
30
31 namespace finley {
32 /**
33 \brief
34 Provide a C++ interface to the finley C funcion of the same name.
35 Needed because of constness problems.
36 */
37 FINLEY_DLL void setFinleyError(Finley_ErrorCodeType errorCode,
38 const std::string& errMess);
39
40 /**
41 \brief
42 Convert a C finley error into a C++ exception.
43 */
44 FINLEY_DLL void checkFinleyError();
45 /**
46 \brief
47 Convert a C paso error into a C++ exception.
48 */
49 FINLEY_DLL void checkPasoError();
50 } // end of namespace
51 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26