openModeller
Version 1.5.0
Main Page
Modules
Classes
Files
File List
File Members
Model.hh
Go to the documentation of this file.
1
29
#ifndef _MODEL_HH
30
#define _MODEL_HH
31
32
#include <
openmodeller/om_defs.hh
>
33
34
#include <
openmodeller/Sampler.hh
>
35
#include <
openmodeller/Environment.hh
>
36
#include <
openmodeller/refcount.hh
>
37
38
class
ModelImpl
;
39
40
typedef
ReferenceCountedPointer<ModelImpl>
Model
;
41
42
class
ModelImpl
:
public
ReferenceCountedObject
{
43
44
friend
class
ReferenceCountedPointer
<
ModelImpl
>;
45
46
public
:
47
48
virtual
~ModelImpl
() {};
49
53
virtual
void
setNormalization
(
const
SamplerPtr
& samp )
const
= 0;
54
58
virtual
void
setNormalization
(
const
EnvironmentPtr
& env )
const
= 0;
59
63
virtual
Scalar
getValue
(
const
Sample
& x )
const
= 0;
64
65
};
66
67
68
#endif
Environment.hh
om_defs.hh
Sampler.hh
ModelImpl::getValue
virtual Scalar getValue(const Sample &x) const =0
Scalar
double Scalar
Type of map values.
Definition:
om_defs.hh:39
Model
ReferenceCountedPointer< ModelImpl > Model
Definition:
Model.hh:38
ReferenceCountedPointer
Definition:
refcount.hh:72
ReferenceCountedObject
Definition:
refcount.hh:49
refcount.hh
ModelImpl::setNormalization
virtual void setNormalization(const SamplerPtr &samp) const =0
ModelImpl::~ModelImpl
virtual ~ModelImpl()
Definition:
Model.hh:48
Sample
Definition:
Sample.hh:25
ModelImpl
Definition:
Model.hh:42
src
openmodeller
Model.hh
Generated on Thu Jan 8 2015 17:05:09 for openModeller by
1.8.6