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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 472 - (hide annotations)
Fri Jan 27 01:50:59 2006 UTC (13 years, 4 months ago) by jgs
File MIME type: text/plain
File size: 1618 byte(s)
rationalise all #includes

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26