/[escript]/branches/domexper/dudley/src/CPPAdapter/FinleyError.h
ViewVC logotype

Contents of /branches/domexper/dudley/src/CPPAdapter/FinleyError.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (show annotations)
Fri Jan 11 07:45:58 2008 UTC (11 years, 4 months ago) by trankine
Original Path: trunk/finley/src/CPPAdapter/FinleyError.h
File MIME type: text/plain
File size: 1173 byte(s)
And get the *(&(*&(* name right
1
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 #if !defined finley_FinleyError_20040528_H
17 #define finley_FinleyError_20040528_H
18 #include "system_dep.h"
19
20 extern "C" {
21 #include "../Finley.h"
22 }
23
24 #include "FinleyAdapterException.h"
25
26 #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 FINLEY_DLL_API
35 void setFinleyError(Finley_ErrorCodeType errorCode,
36 const std::string& errMess);
37
38 /**
39 \brief
40 Convert a C finley error into a C++ exception.
41 */
42 FINLEY_DLL_API
43 void checkFinleyError();
44 /**
45 \brief
46 Convert a C paso error into a C++ exception.
47 */
48 FINLEY_DLL_API
49 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