Limited implementation of the Unix sed command.
More...
#include <Sed.hh>
|
| Sed (const std::string &Expression) |
| Constructor.
|
|
| Sed (const std::string &Expression) |
| Constructor.
|
|
std::string | operator() (const std::string &Input) const |
|
void | operator() (std::istream &Input, std::ostream &Output) const |
|
std::string | operator() (const std::string &Input) const |
|
void | operator() (std::istream &Input, std::ostream &Output) const |
|
Limited implementation of the Unix sed command.
◆ Sed() [1/2]
LDASTools::Cmd::Sed::Sed |
( |
const std::string & | Expression | ) |
|
Constructor.
- Parameters
-
[in] | Expression | The sed expression describing the actions to be performed. |
- Returns
- A new instance of a Sed object
The constructor takes Expression and tries to parse it for correctness.
- Todo
- Handle the address portion of the expression
◆ Sed() [2/2]
LDASTools::Cmd::Sed::Sed |
( |
const std::string & | Expression | ) |
|
Constructor.
- Parameters
-
[in] | Expression | The sed expression describing the actions to be performed. |
- Returns
- A new instance of a Sed object
◆ operator()() [1/4]
std::string LDASTools::Cmd::Sed::operator() |
( |
const std::string & | Input | ) |
const |
◆ operator()() [2/4]
std::string LDASTools::Cmd::Sed::operator() |
( |
const std::string & | Input | ) |
const |
◆ operator()() [3/4]
void LDASTools::Cmd::Sed::operator() |
( |
std::istream & | Input, |
|
|
std::ostream & | Output ) const |
◆ operator()() [4/4]
void LDASTools::Cmd::Sed::operator() |
( |
std::istream & | Input, |
|
|
std::ostream & | Output ) const |
◆ pdata
boost::shared_ptr< pd > LDASTools::Cmd::Sed::pdata |
|
private |
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/build/include/ldastoolsal/Sed.hh
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/src/Sed.hh
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/src/Sed.cc