# WOK
TKWOK
WOKUtils

# WOKUtils_Trigger Class Reference

`#include <WOKUtils_Trigger_proto.hxx>`

## Public Member Functions

Standard_EXPORT | WOKUtils_Trigger ()
Standard_EXPORT WOKUtils_Trigger & | SetName (const Standard_CString aname)
WOKUtils_Trigger & | operator() (const Standard_CString aname)
Standard_EXPORT WOKUtils_Trigger & | SetName (const Handle(TCollection_HAsciiString)&aname)
WOKUtils_Trigger & | operator() (const Handle(TCollection_HAsciiString)&aname)
Standard_EXPORT Handle_TCollection_HAsciiString | Name () const
Standard_EXPORT WOKUtils_Trigger & | AddFile (const Handle(TCollection_HAsciiString)&afile, const WOKUtils_Param &params, const WOKTools_InterpFileType type=WOKTools_TclInterp)
WOKUtils_Trigger & | operator() (const Handle(TCollection_HAsciiString)&afile, const WOKUtils_Param &params, const WOKTools_InterpFileType type)
Standard_EXPORT WOKUtils_Trigger & | AddFile (const Standard_CString afile, const WOKUtils_Param &params, const WOKTools_InterpFileType type=WOKTools_TclInterp)
WOKUtils_Trigger & | operator() (const Standard_CString afile, const WOKUtils_Param &params, const WOKTools_InterpFileType type)
Standard_EXPORT WOKUtils_Trigger & | AddArg (const Handle(TCollection_HAsciiString)&anarg)
WOKUtils_Trigger & | operator<< (const Handle(TCollection_HAsciiString)&anarg)
Standard_EXPORT WOKUtils_Trigger & | AddArg (const Standard_CString anarg)
WOKUtils_Trigger & | operator<< (const Standard_CString anarg)
Standard_EXPORT WOKUtils_Trigger & | AddArg (const Standard_Boolean anarg)
WOKUtils_Trigger & | operator<< (const Standard_Boolean anarg)
Standard_EXPORT WOKUtils_Trigger & | AddArg (const Standard_Integer anarg)
WOKUtils_Trigger & | operator<< (const Standard_Integer anarg)
Standard_EXPORT WOKUtils_Trigger & | AddControl (const WOKUtils_TriggerControl anctrl)
WOKUtils_Trigger & | operator<< (const WOKUtils_TriggerControl anctrl)
Standard_EXPORT const WOKTools_Return & | Args () const
Standard_EXPORT WOKUtils_TriggerStatus | Execute ()
Standard_EXPORT WOKUtils_Trigger & | AddResult (const Handle(TCollection_HAsciiString)&aresult)
Standard_EXPORT WOKUtils_Trigger & | AddResult (const Standard_CString aresult)
Standard_EXPORT WOKUtils_Trigger & | AddResult (const Standard_Boolean aresult)
Standard_EXPORT WOKUtils_Trigger & | AddResult (const Standard_Integer aresult)
Standard_EXPORT WOKUtils_Trigger & | GetResult (Handle(TCollection_HAsciiString)&aresult)
WOKUtils_Trigger & | operator>> (Handle(TCollection_HAsciiString)&aresult)
Standard_EXPORT WOKUtils_Trigger & | GetResult (Standard_Boolean &aresult)
WOKUtils_Trigger & | operator>> (Standard_Boolean &aresult)
Standard_EXPORT WOKUtils_Trigger & | GetResult (Standard_Integer &aresult)
WOKUtils_Trigger & | operator>> (Standard_Integer &aresult)
Standard_EXPORT const WOKTools_Return & | Return () const
Standard_EXPORT WOKTools_Return & | ChangeReturn ()
Standard_EXPORT WOKUtils_TriggerStatus | Status () const
Standard_EXPORT | WOKUtils_Trigger ()
Standard_EXPORT WOKUtils_Trigger & | SetName (const Standard_CString aname)
WOKUtils_Trigger & | operator() (const Standard_CString aname)
Standard_EXPORT WOKUtils_Trigger & | SetName (const Handle(TCollection_HAsciiString)&aname)
WOKUtils_Trigger & | operator() (const Handle(TCollection_HAsciiString)&aname)
Standard_EXPORT Handle_TCollection_HAsciiString | Name () const
Standard_EXPORT WOKUtils_Trigger & | AddFile (const Handle(TCollection_HAsciiString)&afile, const WOKUtils_Param &params, const WOKTools_InterpFileType type=WOKTools_TclInterp)
WOKUtils_Trigger & | operator() (const Handle(TCollection_HAsciiString)&afile, const WOKUtils_Param &params, const WOKTools_InterpFileType type)
Standard_EXPORT WOKUtils_Trigger & | AddFile (const Standard_CString afile, const WOKUtils_Param &params, const WOKTools_InterpFileType type=WOKTools_TclInterp)
WOKUtils_Trigger & | operator() (const Standard_CString afile, const WOKUtils_Param &params, const WOKTools_InterpFileType type)
Standard_EXPORT WOKUtils_Trigger & | AddArg (const Handle(TCollection_HAsciiString)&anarg)
WOKUtils_Trigger & | operator<< (const Handle(TCollection_HAsciiString)&anarg)
Standard_EXPORT WOKUtils_Trigger & | AddArg (const Standard_CString anarg)
WOKUtils_Trigger & | operator<< (const Standard_CString anarg)
Standard_EXPORT WOKUtils_Trigger & | AddArg (const Standard_Boolean anarg)
WOKUtils_Trigger & | operator<< (const Standard_Boolean anarg)
Standard_EXPORT WOKUtils_Trigger & | AddArg (const Standard_Integer anarg)
WOKUtils_Trigger & | operator<< (const Standard_Integer anarg)
Standard_EXPORT WOKUtils_Trigger & | AddControl (const WOKUtils_TriggerControl anctrl)
WOKUtils_Trigger & | operator<< (const WOKUtils_TriggerControl anctrl)
Standard_EXPORT const WOKTools_Return & | Args () const
Standard_EXPORT WOKUtils_TriggerStatus | Execute ()
Standard_EXPORT WOKUtils_Trigger & | AddResult (const Handle(TCollection_HAsciiString)&aresult)
Standard_EXPORT WOKUtils_Trigger & | AddResult (const Standard_CString aresult)
Standard_EXPORT WOKUtils_Trigger & | AddResult (const Standard_Boolean aresult)
Standard_EXPORT WOKUtils_Trigger & | AddResult (const Standard_Integer aresult)
Standard_EXPORT WOKUtils_Trigger & | GetResult (Handle(TCollection_HAsciiString)&aresult)
WOKUtils_Trigger & | operator>> (Handle(TCollection_HAsciiString)&aresult)
Standard_EXPORT WOKUtils_Trigger & | GetResult (Standard_Boolean &aresult)
WOKUtils_Trigger & | operator>> (Standard_Boolean &aresult)
Standard_EXPORT WOKUtils_Trigger & | GetResult (Standard_Integer &aresult)
WOKUtils_Trigger & | operator>> (Standard_Integer &aresult)
Standard_EXPORT const WOKTools_Return & | Return () const
Standard_EXPORT WOKTools_Return & | ChangeReturn ()
Standard_EXPORT WOKUtils_TriggerStatus | Status () const

## Static Public Member Functions

static Standard_EXPORT void | SetTriggerHandler (const WOKUtils_TriggerHandler ahandler)
static Standard_EXPORT WOKUtils_TriggerHandler & | TriggerHandler ()
static Standard_EXPORT void | SetTriggerHandler (const WOKUtils_TriggerHandler ahandler)
static Standard_EXPORT WOKUtils_TriggerHandler & | TriggerHandler ()

## Private Attributes

Handle_WOKUtils_Path | myfile
Handle_TCollection_HAsciiString | myname
WOKTools_InterpFileType | mytype
WOKTools_Return | myargs
WOKTools_Return | myrets
Standard_Integer | myidx
WOKUtils_TriggerStatus | mystat

## Constructor & Destructor Documentation

Standard_EXPORT WOKUtils_Trigger::WOKUtils_Trigger | ( |  | ) |

Standard_EXPORT WOKUtils_Trigger::WOKUtils_Trigger | ( |  | ) |

## Member Function Documentation

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddArg | ( | const Standard_Integer | anarg | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddArg | ( | const Standard_Boolean | anarg | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddArg | ( | const Standard_CString | anarg | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddArg | ( | const Handle(TCollection_HAsciiString)& | anarg | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddArg | ( | const Standard_Integer | anarg | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddArg | ( | const Standard_Boolean | anarg | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddArg | ( | const Standard_CString | anarg | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddArg | ( | const Handle(TCollection_HAsciiString)& | anarg | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddControl | ( | const WOKUtils_TriggerControl | anctrl | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddControl | ( | const WOKUtils_TriggerControl | anctrl | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddFile | ( | const Standard_CString | afile,
|  | const WOKUtils_Param & | params,
|  | const WOKTools_InterpFileType | type = `WOKTools_TclInterp`
| ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddFile | ( | const Handle(TCollection_HAsciiString)& | afile,
|  | const WOKUtils_Param & | params,
|  | const WOKTools_InterpFileType | type = `WOKTools_TclInterp`
| ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddFile | ( | const Standard_CString | afile,
|  | const WOKUtils_Param & | params,
|  | const WOKTools_InterpFileType | type = `WOKTools_TclInterp`
| ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddFile | ( | const Handle(TCollection_HAsciiString)& | afile,
|  | const WOKUtils_Param & | params,
|  | const WOKTools_InterpFileType | type = `WOKTools_TclInterp`
| ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddResult | ( | const Standard_Integer | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddResult | ( | const Standard_Boolean | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddResult | ( | const Standard_CString | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddResult | ( | const Handle(TCollection_HAsciiString)& | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddResult | ( | const Standard_Integer | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddResult | ( | const Standard_Boolean | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddResult | ( | const Standard_CString | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::AddResult | ( | const Handle(TCollection_HAsciiString)& | aresult | ) |

Standard_EXPORT const WOKTools_Return& WOKUtils_Trigger::Args | ( |  | ) | const

Standard_EXPORT const WOKTools_Return& WOKUtils_Trigger::Args | ( |  | ) | const

Standard_EXPORT WOKTools_Return& WOKUtils_Trigger::ChangeReturn | ( |  | ) |

Standard_EXPORT WOKTools_Return& WOKUtils_Trigger::ChangeReturn | ( |  | ) |

Standard_EXPORT WOKUtils_TriggerStatus WOKUtils_Trigger::Execute | ( |  | ) |

Standard_EXPORT WOKUtils_TriggerStatus WOKUtils_Trigger::Execute | ( |  | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::GetResult | ( | Standard_Integer & | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::GetResult | ( | Standard_Boolean & | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::GetResult | ( | Handle(TCollection_HAsciiString)& | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::GetResult | ( | Standard_Integer & | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::GetResult | ( | Standard_Boolean & | aresult | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::GetResult | ( | Handle(TCollection_HAsciiString)& | aresult | ) |

Standard_EXPORT Handle_TCollection_HAsciiString WOKUtils_Trigger::Name | ( |  | ) | const

Standard_EXPORT Handle_TCollection_HAsciiString WOKUtils_Trigger::Name | ( |  | ) | const

WOKUtils_Trigger& WOKUtils_Trigger::operator() | ( | const Standard_CString | afile,
|  | const WOKUtils_Param & | params,
|  | const WOKTools_InterpFileType | type
| ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator() | ( | const Handle(TCollection_HAsciiString)& | afile,
|  | const WOKUtils_Param & | params,
|  | const WOKTools_InterpFileType | type
| ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator() | ( | const Handle(TCollection_HAsciiString)& | aname | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator() | ( | const Standard_CString | aname | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator() | ( | const Standard_CString | afile,
|  | const WOKUtils_Param & | params,
|  | const WOKTools_InterpFileType | type
| ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator() | ( | const Handle(TCollection_HAsciiString)& | afile,
|  | const WOKUtils_Param & | params,
|  | const WOKTools_InterpFileType | type
| ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator() | ( | const Handle(TCollection_HAsciiString)& | aname | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator() | ( | const Standard_CString | aname | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const WOKUtils_TriggerControl | anctrl | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const Standard_Integer | anarg | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const Standard_Boolean | anarg | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const Standard_CString | anarg | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const Handle(TCollection_HAsciiString)& | anarg | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const WOKUtils_TriggerControl | anctrl | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const Standard_Integer | anarg | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const Standard_Boolean | anarg | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const Standard_CString | anarg | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator<< | ( | const Handle(TCollection_HAsciiString)& | anarg | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator>> | ( | Standard_Integer & | aresult | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator>> | ( | Standard_Boolean & | aresult | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator>> | ( | Handle(TCollection_HAsciiString)& | aresult | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator>> | ( | Standard_Integer & | aresult | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator>> | ( | Standard_Boolean & | aresult | ) | `[inline]`

WOKUtils_Trigger& WOKUtils_Trigger::operator>> | ( | Handle(TCollection_HAsciiString)& | aresult | ) | `[inline]`

Standard_EXPORT const WOKTools_Return& WOKUtils_Trigger::Return | ( |  | ) | const

Standard_EXPORT const WOKTools_Return& WOKUtils_Trigger::Return | ( |  | ) | const

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::SetName | ( | const Handle(TCollection_HAsciiString)& | aname | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::SetName | ( | const Standard_CString | aname | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::SetName | ( | const Handle(TCollection_HAsciiString)& | aname | ) |

Standard_EXPORT WOKUtils_Trigger& WOKUtils_Trigger::SetName | ( | const Standard_CString | aname | ) |

static Standard_EXPORT void WOKUtils_Trigger::SetTriggerHandler | ( | const WOKUtils_TriggerHandler | ahandler | ) | `[static]`

static Standard_EXPORT void WOKUtils_Trigger::SetTriggerHandler | ( | const WOKUtils_TriggerHandler | ahandler | ) | `[static]`

Standard_EXPORT WOKUtils_TriggerStatus WOKUtils_Trigger::Status | ( |  | ) | const

Standard_EXPORT WOKUtils_TriggerStatus WOKUtils_Trigger::Status | ( |  | ) | const

static Standard_EXPORT WOKUtils_TriggerHandler& WOKUtils_Trigger::TriggerHandler | ( |  | ) | `[static]`

static Standard_EXPORT WOKUtils_TriggerHandler& WOKUtils_Trigger::TriggerHandler | ( |  | ) | `[static]`

## Field Documentation

WOKTools_Return WOKUtils_Trigger::myargs `[private]`

Handle_WOKUtils_Path WOKUtils_Trigger::myfile `[private]`

Standard_Integer WOKUtils_Trigger::myidx `[private]`

Handle_TCollection_HAsciiString WOKUtils_Trigger::myname `[private]`

WOKTools_Return WOKUtils_Trigger::myrets `[private]`

WOKUtils_TriggerStatus WOKUtils_Trigger::mystat `[private]`

WOKTools_InterpFileType WOKUtils_Trigger::mytype `[private]`

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

- WOKUtils_Trigger.hxx
- WOKUtils_Trigger_proto.hxx