/[escript]/trunk/dudley/src/CPPAdapter/DudleyError.h
ViewVC logotype

Contents of /trunk/dudley/src/CPPAdapter/DudleyError.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 757 - (show annotations)
Mon Jun 26 13:12:56 2006 UTC (12 years, 9 months ago) by woo409
Original Path: trunk/finley/src/CPPAdapter/FinleyError.h
File MIME type: text/plain
File size: 1374 byte(s)
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)

1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12
13 #if !defined finley_FinleyError_20040528_H
14 #define finley_FinleyError_20040528_H
15 #include "system_dep.h"
16
17 extern "C" {
18 #include "../Finley.h"
19 }
20
21 #include "FinleyAdapterException.h"
22
23 #include <string>
24
25 namespace finley {
26 /**
27 \brief
28 Provide a C++ interface to the finley C funcion of the same name.
29 Needed because of constness problems.
30 */
31 FINLEY_DLL_API
32 void setFinleyError(Finley_ErrorCodeType errorCode,
33 const std::string& errMess);
34
35 /**
36 \brief
37 Convert a C finley error into a C++ exception.
38 */
39 FINLEY_DLL_API
40 void checkFinleyError();
41 /**
42 \brief
43 Convert a C paso error into a C++ exception.
44 */
45 FINLEY_DLL_API
46 void checkPasoError();
47 } // end of namespace
48 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26