#include <ShManipulator.hpp>
Public Types | |
typedef storage_trait< T >::StorageType | StorageType |
typedef OffsetRange< StorageType > | IndexRange |
typedef std::vector< IndexRange > | IndexRangeVector |
Public Member Functions | |
ShManipulator () | |
Creates empty manipulator of given size. | |
ShManipulator< T > & | operator() (T i) |
ShManipulator< T > & | operator() (T start, T end) |
ShManipulator< T > & | operator() (const IndexRange &range) |
IndexRangeVector | getRanges () const |
std::string | toString () const |
Protected Member Functions | |
OffsetRange< int > | convertRange (IndexRange range, const ShProgramNode::VarList &v) const |
Protected Attributes | |
IndexRangeVector | m_ranges |
Currently, two types are supported - T = int and T = char*. T = int references channels by position (negative numbers are position from end) T = char* references channels by name. (The Manipulator<char*> operator()(??) methods store copies of the string) (negative indices -k mean k^th channel from the end, with -1 being the last output channel)
Definition at line 99 of file ShManipulator.hpp.