pythonIO.h File Reference

Header file declaring routines for importing & exporting things in a format that's readable & writable by the python programming language. More...

#include <iostream>
#include <string>

Include dependency graph for pythonIO.h:

Go to the source code of this file.


Namespaces

namespace  dlr::utilities
 This namespace contains general utility functions and classes for string manipluation, program option parsing, working with time and filenames, and a few other odds and ends.

Functions

template<class ArrayType >
std::string dlr::utilities::toPythonList (const ArrayType &array0)
 This function formats a 1D array in a way that python can parse into a built-in list.
template<class ArrayType >
std::string dlr::utilities::toPythonNumericArray (const ArrayType &array0)
template<class ArrayType >
std::string dlr::utilities::toPythonNumeric1DArray (const ArrayType &array0)
 This function formats a 1D Array object in a way that python can parse into a Numeric array.
template<class ArrayType >
std::string dlr::utilities::toPythonNumeric2DArray (const ArrayType &array0)
 This function formats an 2D Array object in a way that python can parse into a Numeric array.


Detailed Description

Header file declaring routines for importing & exporting things in a format that's readable & writable by the python programming language.

Copyright (C) 2005-2007, David LaRose, dlr@cs.cmu.edu See accompanying file, LICENSE.TXT, for details.

Revision
975
Date
2007-12-30 01:57:17 -0500 (Sun, 30 Dec 2007)

Definition in file pythonIO.h.


Generated on Wed Nov 25 11:07:10 2009 for dlrUtilities Utility Library by  doxygen 1.5.8