Mantid
|
#include <ExtractSubtrees.h>
Public Types | |
using | RandomAccessConstRowIterator = std::vector< Row >::const_iterator |
using | RandomAccessRowIterator = std::vector< Row >::iterator |
Public Member Functions | |
boost::optional< std::vector< Subtree > > | operator() (std::vector< Row > region) const |
Private Member Functions | |
RandomAccessConstRowIterator | findEndOfSubtree (RandomAccessConstRowIterator subtreeBegin, RandomAccessConstRowIterator regionEnd, int subtreeRootDepth) const |
Subtree | makeSubtreeFromRows (RowLocation subtreeRootLocation, RandomAccessConstRowIterator subtreeBegin, RandomAccessConstRowIterator subtreeEnd) const |
std::vector< Subtree > | makeSubtreesFromRows (std::vector< Row > const &rows, int subtreeRootDepth) const |
Definition at line 24 of file ExtractSubtrees.h.
using MantidQt::MantidWidgets::Batch::ExtractSubtrees::RandomAccessConstRowIterator = std::vector<Row>::const_iterator |
Definition at line 27 of file ExtractSubtrees.h.
using MantidQt::MantidWidgets::Batch::ExtractSubtrees::RandomAccessRowIterator = std::vector<Row>::iterator |
Definition at line 26 of file ExtractSubtrees.h.
|
private |
Definition at line 14 of file ExtractSubtrees.cpp.
References MantidQt::MantidWidgets::Batch::Row::location().
Referenced by makeSubtreesFromRows().
|
private |
Definition at line 22 of file ExtractSubtrees.cpp.
References MantidQt::MantidWidgets::Batch::Row::cells(), MantidQt::MantidWidgets::Batch::Row::location(), and MantidQt::MantidWidgets::Batch::RowLocation::relativeTo().
Referenced by makeSubtreesFromRows().
|
private |
Definition at line 32 of file ExtractSubtrees.cpp.
References findEndOfSubtree(), and makeSubtreeFromRows().
auto MantidQt::MantidWidgets::Batch::ExtractSubtrees::operator() | ( | std::vector< Row > | region | ) | const |