Skip to content

Commit

Permalink
Refs #766. Exposing vector<V3D> to python.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed May 19, 2015
1 parent fb06545 commit 9534577
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -2,6 +2,7 @@

#include "MantidKernel/DateAndTime.h"
#include "MantidKernel/Quat.h"
#include "MantidKernel/V3D.h"

using Mantid::PythonInterface::std_vector_exporter;
using Mantid::PythonInterface::std_set_exporter;
Expand All @@ -20,6 +21,7 @@ void exportStlContainers()
std_vector_exporter<std::string>::wrap("std_vector_str");
std_vector_exporter<Mantid::Kernel::DateAndTime>::wrap("std_vector_dateandtime");
std_vector_exporter<Mantid::Kernel::Quat>::wrap("std_vector_quat");
std_vector_exporter<Mantid::Kernel::V3D>::wrap("std_vector_v3d");
//std::set
std_set_exporter<int>::wrap("std_set_int");
std_set_exporter<std::string>::wrap("std_set_str");
Expand Down

0 comments on commit 9534577

Please sign in to comment.