#include <ShellScript.h>
Inheritance diagram for PLearn::ShellScript:


Public Member Functions | |
| ShellScript () | |
| Default constructor. | |
| PLEARN_DECLARE_OBJECT (ShellScript) | |
| virtual void | build () |
| Should call simply inherited::build(), then this class's build_(). | |
| virtual void | makeDeepCopyFromShallowCopy (map< const void *, void * > &copies) |
| Transforms a shallow copy into a deep copy. | |
| virtual void | run () |
| Execute the shell commands. | |
Public Attributes | |
| TVec< string > | shell_commands |
Static Protected Member Functions | |
| void | declareOptions (OptionList &ol) |
| Declares this class' options. | |
Private Types | |
| typedef Object | inherited |
Private Member Functions | |
| void | build_ () |
| This does the actual building. | |
|
|
Reimplemented from PLearn::Object. Definition at line 57 of file ShellScript.h. |
|
|
Default constructor.
Definition at line 49 of file ShellScript.cc. |
|
|
Should call simply inherited::build(), then this class's build_(). This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object. Reimplemented from PLearn::Object. Definition at line 89 of file ShellScript.cc. References build_(). |
|
|
This does the actual building.
Reimplemented from PLearn::Object. Definition at line 77 of file ShellScript.cc. Referenced by build(). |
|
|
Declares this class' options.
Reimplemented from PLearn::Object. Definition at line 62 of file ShellScript.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
|
Transforms a shallow copy into a deep copy.
Definition at line 95 of file ShellScript.cc. References PLearn::deepCopyField(), and shell_commands. |
|
|
|
|
|
Execute the shell commands.
Reimplemented from PLearn::Object. Definition at line 104 of file ShellScript.cc. References c_str(), PLearn::TVec< string >::length(), and shell_commands. |
|
|
Definition at line 73 of file ShellScript.h. Referenced by makeDeepCopyFromShallowCopy(), and run(). |
1.3.7