net.loadbang.jython.util
Class JythonConverters

java.lang.Object
  extended by net.loadbang.scripting.util.Converters
      extended by net.loadbang.jython.util.JythonConverters

public class JythonConverters
extends net.loadbang.scripting.util.Converters


Constructor Summary
JythonConverters()
           
 
Method Summary
 java.util.List<org.python.core.PyObject> atomsToPyObjects(com.cycling74.max.Atom[] args, int start)
          Convert an array of Atoms into a list of Python objects.
 
Methods inherited from class net.loadbang.scripting.util.Converters
atomsToObject, atomsToObjects, objectToAtoms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JythonConverters

public JythonConverters()
Method Detail

atomsToPyObjects

public java.util.List<org.python.core.PyObject> atomsToPyObjects(com.cycling74.max.Atom[] args,
                                                                 int start)
                                                          throws net.loadbang.scripting.util.exn.DataException
Convert an array of Atoms into a list of Python objects.

Parameters:
args - the Atoms
start - the start position in the Atom array
Returns:
a list of Python objects
Throws:
net.loadbang.scripting.util.exn.DataException - if the Atom cannot be easily represented as a Python object