/[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 626 - (hide annotations)
Thu Mar 23 02:16:36 2006 UTC (13 years, 1 month ago) by elspeth
Original Path: trunk/finley/src/CPPAdapter/FinleyError.h
File MIME type: text/plain
File size: 1296 byte(s)
Copyright information inserted

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    
16     extern "C" {
17 jgs 203 #include "Finley.h"
18 jgs 82 }
19    
20 jgs 472 #include "FinleyAdapterException.h"
21    
22 jgs 82 #include <string>
23    
24     namespace finley {
25     /**
26     \brief
27     Provide a C++ interface to the finley C funcion of the same name.
28     Needed because of constness problems.
29     */
30 jgs 150 void setFinleyError(Finley_ErrorCodeType errorCode,
31 jgs 82 const std::string& errMess);
32    
33     /**
34     \brief
35     Convert a C finley error into a C++ exception.
36     */
37     void checkFinleyError();
38 jgs 150 /**
39     \brief
40     Convert a C paso error into a C++ exception.
41     */
42     void checkPasoError();
43 jgs 82 } // end of namespace
44     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26