ionflux.org | Impressum

Ionflux::Tools::StringMove Class Reference
[String filters]

Move a substring. More...

#include <StringManipulator.hpp>

Inheritance diagram for Ionflux::Tools::StringMove:

Inheritance graph
[legend]
Collaboration diagram for Ionflux::Tools::StringMove:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StringMove ()
 Constructor.
virtual ~StringMove ()
 Destructor.
virtual std::string process (const std::string &bytes, std::vector< std::string > *args=0)
 Process bytes.
virtual std::string getName ()
 Get name.

Static Public Attributes

static const std::string STRINGMANIP_NAME = "move"
 Name of this string manipulator.

Detailed Description

Move a substring.

move(s, l, p)
s - Start position of the substring.
l - Length of the substring.
p - Target position (<number>|front|back).


Constructor & Destructor Documentation

Ionflux::Tools::StringMove::StringMove  )  [inline]
 

Constructor.

virtual Ionflux::Tools::StringMove::~StringMove  )  [inline, virtual]
 

Destructor.


Member Function Documentation

std::string Ionflux::Tools::StringMove::getName  )  [virtual]
 

Get name.

Returns:
Name of the string manipulator.

Implements Ionflux::Tools::StringManipulator.

std::string Ionflux::Tools::StringMove::process const std::string &  bytes,
std::vector< std::string > *  args = 0
[virtual]
 

Process bytes.

Processes a byte string and returns the result.

Parameters:
bytes The bytes to process.
args Arguments for the manipulator.
Returns:
The result of applying the string manipulator to bytes.

Implements Ionflux::Tools::StringManipulator.


Member Data Documentation

const string Ionflux::Tools::StringMove::STRINGMANIP_NAME = "move" [static]
 

Name of this string manipulator.


The documentation for this class was generated from the following files:
Generated on Tue Mar 14 21:09:58 2006 for Ionflux Tools Class Library (iftools) by  doxygen 1.4.6