OpenMM
 All Classes Namespaces Functions Variables Pages
XmlSerializer Class Reference

XmlSerializer is used for serializing objects as XML, and for reconstructing them again. More...

Inherits _object.

Public Member Functions

def __init__
 
def serializeSystem
 serializeSystem(System object) -> std::string More...
 
def deserializeSystem
 deserializeSystem(char const * inputString) -> System More...
 
def __del__
 del(OpenMM::XmlSerializer self) More...
 

Static Public Member Functions

def serialize
 Serialize an object as XML. More...
 
def deserialize
 Reconstruct an object that has been serialized as XML. More...
 

Detailed Description

XmlSerializer is used for serializing objects as XML, and for reconstructing them again.

Constructor & Destructor Documentation

def __init__ (   self,
  args,
  kwargs 
)
def __del__ (   self)

del(OpenMM::XmlSerializer self)

References simtk.openmm.openmm.stripUnits().

Member Function Documentation

def deserialize (   inputString)
static

Reconstruct an object that has been serialized as XML.

def deserializeSystem (   args)

deserializeSystem(char const * inputString) -> System

This method exists only for backward compatibility.

Deprecated:
Use deserialize() instead.
def serialize (   object)
static

Serialize an object as XML.

def serializeSystem (   args)

serializeSystem(System object) -> std::string

This method exists only for backward compatibility.

Deprecated:
Use serialize() instead.

The documentation for this class was generated from the following file: