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

Annotation of /temp/finley/src/CPPAdapter/FinleyError.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (hide annotations)
Thu Sep 15 03:44:45 2005 UTC (13 years, 10 months ago) by jgs
Original Path: trunk/esys2/finley/src/CPPAdapter/FinleyError.h
File MIME type: text/plain
File size: 1596 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-15

1 jgs 82 /*
2     ******************************************************************************
3     * *
4     * COPYRIGHT ACcESS 2004 - All Rights Reserved *
5     * *
6     * This software is the property of ACcESS. No part of this code *
7     * may be copied in any form or by any means without the expressed written *
8     * consent of ACcESS. Copying, use or modification of this software *
9     * by any unauthorised person is illegal unless that person has a software *
10     * license agreement with ACcESS. *
11     * *
12     ******************************************************************************
13     */
14    
15     #if !defined finley_FinleyError_20040528_H
16     #define finley_FinleyError_20040528_H
17    
18     extern "C" {
19     #include "finley/finleyC/Finley.h"
20     }
21    
22     #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