Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
6c7b8737
Commit
6c7b8737
authored
Feb 20, 2013
by
Yutong Zhao
Browse files
Added the header files for integrator serialization.
parent
4244b42a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
0 deletions
+58
-0
serialization/include/openmm/serialization/IntegratorProxy.h
serialization/include/openmm/serialization/IntegratorProxy.h
+24
-0
serialization/include/openmm/serialization/LangevinIntegratorProxy.h
...on/include/openmm/serialization/LangevinIntegratorProxy.h
+17
-0
serialization/include/openmm/serialization/VerletIntegratorProxy.h
...tion/include/openmm/serialization/VerletIntegratorProxy.h
+17
-0
No files found.
serialization/include/openmm/serialization/IntegratorProxy.h
0 → 100644
View file @
6c7b8737
#ifndef OPENMM_INTEGRATOR_PROXY_H_
#define OPENMM_INTEGRATOR_PROXY_H_
#include "openmm/internal/windowsExport.h"
#include "openmm/serialization/SerializationProxy.h"
namespace
OpenMM
{
/**
* This is a proxy for serializing generic Integrator objects.
* It makes calls to the serialize/deserialize methods in
* derived classes of Integrator.
*/
class
OPENMM_EXPORT
IntegratorProxy
:
public
SerializationProxy
{
public:
IntegratorProxy
();
virtual
void
serialize
(
const
void
*
object
,
SerializationNode
&
node
)
const
;
virtual
void
*
deserialize
(
const
SerializationNode
&
node
)
const
;
};
}
// namespace OpenMM
#endif
/*OPENMM_INTEGRATOR_PROXY_H_*/
serialization/include/openmm/serialization/LangevinIntegratorProxy.h
0 → 100644
View file @
6c7b8737
#ifndef OPENMM_LANGEVIN_INTEGRATOR_PROXY_H_
#define OPENMM_LANGEVIN_INTEGRATOR_PROXY_H_
#include "openmm/serialization/XmlSerializer.h"
namespace
OpenMM
{
class
LangevinIntegratorProxy
:
public
SerializationProxy
{
public:
LangevinIntegratorProxy
();
void
serialize
(
const
void
*
object
,
SerializationNode
&
node
)
const
;
void
*
deserialize
(
const
SerializationNode
&
node
)
const
;
};
}
#endif
/*OPENMM_LANGEVIN_INTEGRATOR_PROXY_H_*/
\ No newline at end of file
serialization/include/openmm/serialization/VerletIntegratorProxy.h
0 → 100644
View file @
6c7b8737
#ifndef OPENMM_VERLET_INTEGRATOR_PROXY_H_
#define OPENMM_VERLET_INTEGRATOR_PROXY_H_
#include "openmm/serialization/XmlSerializer.h"
namespace
OpenMM
{
class
VerletIntegratorProxy
:
public
SerializationProxy
{
public:
VerletIntegratorProxy
();
void
serialize
(
const
void
*
object
,
SerializationNode
&
node
)
const
;
void
*
deserialize
(
const
SerializationNode
&
node
)
const
;
};
}
#endif
/*OPENMM_VERLET_INTEGRATOR_PROXY_H_*/
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment