#include <StringManipulator.hpp>
Inheritance diagram for Ionflux::Tools::StringCenter:
Public Member Functions | |
StringCenter () | |
Constructor. | |
virtual | ~StringCenter () |
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 = "center" |
Name of this string manipulator. |
center(w, p, c)
w - Center width.
p - Right/left padding.
c - Padding used for centering.
|
Constructor.
|
|
Destructor.
|
|
Get name.
Implements Ionflux::Tools::StringManipulator. |
|
Process bytes. Processes a byte string and returns the result.
Implements Ionflux::Tools::StringManipulator. |
|
Name of this string manipulator.
|