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

Contents of /trunk/finley/src/CPPAdapter/FinleyError.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2548 - (show annotations)
Mon Jul 20 06:20:06 2009 UTC (13 years, 8 months ago) by jfenwick
File MIME type: text/plain
File size: 1138 byte(s)
Updating copyright notices
1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2009 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 #if !defined finley_FinleyError_20040528_H
16 #define finley_FinleyError_20040528_H
17 #include "system_dep.h"
18
19 extern "C" {
20 #include "../Finley.h"
21 }
22
23 #include "FinleyAdapterException.h"
24
25 #include <string>
26
27 namespace finley {
28 /**
29 \brief
30 Provide a C++ interface to the finley C funcion of the same name.
31 Needed because of constness problems.
32 */
33 FINLEY_DLL_API
34 void setFinleyError(Finley_ErrorCodeType errorCode,
35 const std::string& errMess);
36
37 /**
38 \brief
39 Convert a C finley error into a C++ exception.
40 */
41 FINLEY_DLL_API
42 void checkFinleyError();
43 /**
44 \brief
45 Convert a C paso error into a C++ exception.
46 */
47 FINLEY_DLL_API
48 void checkPasoError();
49 } // end of namespace
50 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26