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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 757 - (hide 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 jgs 82 /*
2 elspeth 626 ************************************************************
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 jgs 82 */
12    
13     #if !defined finley_FinleyError_20040528_H
14     #define finley_FinleyError_20040528_H
15 woo409 757 #include "system_dep.h"
16 jgs 82
17     extern "C" {
18 robwdcock 682 #include "../Finley.h"
19 jgs 82 }
20    
21 jgs 472 #include "FinleyAdapterException.h"
22    
23 jgs 82 #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 woo409 757 FINLEY_DLL_API
32 jgs 150 void setFinleyError(Finley_ErrorCodeType errorCode,
33 jgs 82 const std::string& errMess);
34    
35     /**
36     \brief
37     Convert a C finley error into a C++ exception.
38     */
39 woo409 757 FINLEY_DLL_API
40 jgs 82 void checkFinleyError();
41 jgs 150 /**
42     \brief
43     Convert a C paso error into a C++ exception.
44     */
45 woo409 757 FINLEY_DLL_API
46 jgs 150 void checkPasoError();
47 jgs 82 } // 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