# WOK
TKWOK
WOKBuilder

# WOKBuilder_Command Class Reference

`#include <WOKBuilder_Command.hxx>`

Inheritance diagram for WOKBuilder_Command:

[legend]

## Public Member Functions

Standard_EXPORT | WOKBuilder_Command (const Handle(TCollection_HAsciiString)&aname, const WOKUtils_Param &params)
virtual Standard_EXPORT void | Load ()
Standard_EXPORT WOKBuilder_BuildStatus | Copy (const Handle(WOKUtils_Path)&afrom, const Handle(WOKUtils_Path)&ato)
| copies afrom in ato
Standard_EXPORT WOKBuilder_BuildStatus | PreserveCopy (const Handle(WOKUtils_Path)&afrom, const Handle(WOKUtils_Path)&ato)
| copies afrom in ato
Standard_EXPORT WOKBuilder_BuildStatus | CopyAndChmod (const Handle(WOKUtils_Path)&afrom, const Handle(WOKUtils_Path)&ato)
| copies afrom in ato and chmod
Standard_EXPORT WOKBuilder_BuildStatus | Move (const Handle(WOKUtils_Path)&afrom, const Handle(WOKUtils_Path)&ato)
| Moves afrom in ato .
Standard_EXPORT WOKBuilder_BuildStatus | ReplaceIfChanged (const Handle(WOKUtils_Path)&afrom, const Handle(WOKUtils_Path)&ato)
| Replaces <ato> with <afrom> if <afrom> differs from <ato> NB : Destroys afrom in all cases .
Standard_EXPORT WOKBuilder_BuildStatus | ReplaceIfChangedWith (const Handle(WOKUtils_Path)&afrom, const Handle(WOKUtils_Path)&abase, const Handle(WOKUtils_Path)&ato)
| Replaces <ato> with <afrom> if <afrom> differs from <abase> NB : - Destroys afrom in all cases - Status is Success if replacement was done Unbuilt if replacement was not done Failed if errors occured .
Standard_EXPORT WOKBuilder_BuildStatus | Compress (const Handle(WOKUtils_Path)&afile)
Standard_EXPORT WOKBuilder_BuildStatus | CompressTo (const Handle(WOKUtils_Path)&afile, const Handle(WOKUtils_Path)&adest)
Standard_EXPORT WOKBuilder_BuildStatus | UnCompress (const Handle(WOKUtils_Path)&afile)
Standard_EXPORT WOKBuilder_BuildStatus | UnCompressTo (const Handle(WOKUtils_Path)&afile, const Handle(WOKUtils_Path)&adest)
Standard_EXPORT WOKBuilder_BuildStatus | Execute ()
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Constructor & Destructor Documentation

Standard_EXPORT WOKBuilder_Command::WOKBuilder_Command | ( | const Handle(TCollection_HAsciiString)& | aname,
|  | const WOKUtils_Param & | params
| ) |

## Member Function Documentation

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::Compress | ( | const Handle(WOKUtils_Path)& | afile | ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::CompressTo | ( | const Handle(WOKUtils_Path)& | afile,
|  | const Handle(WOKUtils_Path)& | adest
| ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::Copy | ( | const Handle(WOKUtils_Path)& | afrom,
|  | const Handle(WOKUtils_Path)& | ato
| ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::CopyAndChmod | ( | const Handle(WOKUtils_Path)& | afrom,
|  | const Handle(WOKUtils_Path)& | ato
| ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::Execute | ( |  | ) | `[virtual]`

| Implements WOKBuilder_Tool.

Standard_EXPORT const WOKBuilder_Command::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from WOKBuilder_ToolInShell.

virtual Standard_EXPORT void WOKBuilder_Command::Load | ( |  | ) | `[virtual]`

| Reimplemented from WOKBuilder_ToolInShell.

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::Move | ( | const Handle(WOKUtils_Path)& | afrom,
|  | const Handle(WOKUtils_Path)& | ato
| ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::PreserveCopy | ( | const Handle(WOKUtils_Path)& | afrom,
|  | const Handle(WOKUtils_Path)& | ato
| ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::ReplaceIfChanged | ( | const Handle(WOKUtils_Path)& | afrom,
|  | const Handle(WOKUtils_Path)& | ato
| ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::ReplaceIfChangedWith | ( | const Handle(WOKUtils_Path)& | afrom,
|  | const Handle(WOKUtils_Path)& | abase,
|  | const Handle(WOKUtils_Path)& | ato
| ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::UnCompress | ( | const Handle(WOKUtils_Path)& | afile | ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_Command::UnCompressTo | ( | const Handle(WOKUtils_Path)& | afile,
|  | const Handle(WOKUtils_Path)& | adest
| ) |

The documentation for this class was generated from the following file:

- WOKBuilder_Command.hxx