/[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 1312 - (hide annotations)
Mon Sep 24 06:18:44 2007 UTC (11 years, 6 months ago) by ksteube
Original Path: trunk/finley/src/CPPAdapter/FinleyError.h
File MIME type: text/plain
File size: 1173 byte(s)
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.

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