HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CL_FitParms.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: CL_FitParms.h ( CL Library, C++)
7  *
8  * COMMENTS:
9  *
10  * A container class to hold conversion parameters
11  * between raw and spline fit data
12  */
13 
14 #ifndef __CL_FitParms__
15 #define __CL_FitParms__
16 
17 #include "CL_API.h"
18 #include "CL_Defines.h"
19 #include <UT/UT_String.h>
20 #include <SYS/SYS_Types.h>
21 
22 class UT_IStream;
23 class UT_OStream;
24 
26 {
27 
28 public:
29 
30  CL_FitParms();
31  ~CL_FitParms();
32 
33  CL_FitParms &operator= (const CL_FitParms &v);
34 
35 
37  int relative;
43 
44  bool save(UT_OStream &os);
45  bool load(UT_IStream &is);
46  int64 getMemoryUsage(bool inclusive) const
47  {
48  int64 mem = inclusive ? sizeof(*this) : 0;
49  mem += scope.getMemoryUsage(false);
50  mem += status.getMemoryUsage(false);
51  return mem;
52  }
53 };
54 
55 #endif
56 
fpreal end
Definition: CL_FitParms.h:39
const GLdouble * v
Definition: glcorearb.h:836
UT_String scope
Definition: CL_FitParms.h:41
fpreal tolerance
Definition: CL_FitParms.h:40
int64 getMemoryUsage(bool inclusive) const
Definition: CL_FitParms.h:46
#define CL_API
Definition: CL_API.h:10
long long int64
Definition: SYS_Types.h:106
double fpreal
Definition: SYS_Types.h:269
UT_String status
Definition: CL_FitParms.h:42
CL_Unit
Definition: CL_Defines.h:18
CL_Unit units
Definition: CL_FitParms.h:36
fpreal start
Definition: CL_FitParms.h:38