/[escript]/trunk/esys2/escript/inc/esys/Data.h.1
ViewVC logotype

Annotation of /trunk/esys2/escript/inc/esys/Data.h.1

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (hide annotations)
Tue Oct 26 06:53:54 2004 UTC (16 years ago) by jgs
File size: 2045 byte(s)
Initial revision

1 jgs 82 /*=============================================================================
2    
3     ******************************************************************************
4     * *
5     * COPYRIGHT ??????? - All Rights Reserved *
6     * *
7     * This software is the property of ??????????????. No part of this code *
8     * may be copied in any form or by any means without the expressed written *
9     * consent of ???????????. Copying, use or modification of this software *
10     * by any unauthorised person is illegal unless that *
11     * person has a software license agreement with ?????????????. *
12     * *
13     ******************************************************************************
14    
15     *********************************************************************************/
16    
17     #ifndef DATA_H
18     #define DATA_H
19    
20     #include <string>
21     #include <Python.h>
22     #include <boost/python/object.hpp>
23     #include <boost/python/list.hpp>
24     #include <boost/python/numeric.hpp>
25    
26     /**
27     @memo
28     Data
29    
30     @version 1.0.0
31    
32     @doc
33    
34     Class Description:
35     Data
36    
37     Class Limitations:
38     None
39    
40     Class Conditions of Use:
41     None
42    
43     Throws:
44     None
45    
46     */
47     class Data {
48     public:
49     /**
50     @memo
51     Constructor which creates a Data object with only a constant value
52    
53     @param constValue Input - The constant value
54     */
55     Data(const double& constValue);
56     /**
57     @memo
58     Constructor which copies data from a python numarray.
59    
60     @param exceptionReason Input - Exception message.
61     */
62     Data(const boost::python::numeric::array& data);
63     /**
64     @memo
65     Constructor which copies data from any object that can be converted into
66     a numarray.
67    
68     @param exceptionReason Input - Exception message.
69     */
70     Data(const boost::python::object& data);
71    
72     private:
73    
74     };
75    
76     #endif
77    
78    
79    
80    
81    
82    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26