# WOK
TKWOK
WOKBuilder

# WOKBuilder_MSTranslator Class Reference

Translates a file to fill MetaSchema
.

`#include <WOKBuilder_MSTranslator.hxx>`

Inheritance diagram for WOKBuilder_MSTranslator:

[legend]

## Public Member Functions

Standard_EXPORT | WOKBuilder_MSTranslator (const Handle(TCollection_HAsciiString)&aname, const Handle(TCollection_HAsciiString)&ashared)
Standard_EXPORT | WOKBuilder_MSTranslator (const Handle(TCollection_HAsciiString)&aname, const WOKUtils_Param &params)
virtual Standard_EXPORT void | Load ()
Standard_EXPORT WOKBuilder_MSActionStatus | MSActionStatus (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile) const
Standard_EXPORT void | AddAction (WOKBuilder_MSTranslatorIterator &anit, const Handle(TCollection_HAsciiString)&aname, const WOKBuilder_MSActionType anaction)
virtual Standard_EXPORT WOKBuilder_BuildStatus | Execute ()
Standard_EXPORT WOKBuilder_BuildStatus | Execute (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
| Executes an action and updates Iterator and MSchema .
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Member Functions

Standard_EXPORT WOKBuilder_BuildStatus | Translate (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, Handle(TColStd_HSequenceOfHAsciiString)&globlist, Handle(TColStd_HSequenceOfHAsciiString)&inctypes, Handle(TColStd_HSequenceOfHAsciiString)&insttypes, Handle(TColStd_HSequenceOfHAsciiString)&gentypes)
Standard_EXPORT WOKBuilder_BuildStatus | BuildPackage (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildSchema (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildInterface (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildClient (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildEngine (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildExecutable (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildComponent (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildDirectUses (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildSchUses (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildUses (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildGlobEnt (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildInstantiate (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildInterfaceTypes (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildSchemaTypes (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildPackageMethods (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildInstToStd (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildCompleteType (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildSchemaType (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildTypeUsed (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildInherits (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)
Standard_EXPORT WOKBuilder_BuildStatus | BuildGenClass (const Handle(WOKBuilder_MSAction)&anaction, const Handle(WOKBuilder_Specification)&afile, WOKBuilder_MSTranslatorIterator &anit)

## Private Attributes

WOKBuilder_MSTranslatorPtr | mytranslator
Handle_WOKBuilder_Specification | myspecfile

## Constructor & Destructor Documentation

Standard_EXPORT WOKBuilder_MSTranslator::WOKBuilder_MSTranslator | ( | const Handle(TCollection_HAsciiString)& | aname,
|  | const Handle(TCollection_HAsciiString)& | ashared
| ) |

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

## Member Function Documentation

Standard_EXPORT void WOKBuilder_MSTranslator::AddAction | ( | WOKBuilder_MSTranslatorIterator & | anit,
|  | const Handle(TCollection_HAsciiString)& | aname,
|  | const WOKBuilder_MSActionType | anaction
| ) |

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildClient | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildCompleteType | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildComponent | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildDirectUses | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildEngine | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildExecutable | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildGenClass | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildGlobEnt | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildInherits | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildInstantiate | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildInstToStd | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildInterface | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildInterfaceTypes | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildPackage | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildPackageMethods | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildSchema | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildSchemaType | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildSchemaTypes | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildSchUses | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildTypeUsed | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::BuildUses | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) | `[private]`

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::Execute | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | WOKBuilder_MSTranslatorIterator & | anit
| ) |

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

| Reimplemented from WOKBuilder_MSTool.

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

| Reimplemented from WOKBuilder_MSTool.

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

| Reimplemented from WOKBuilder_ToolInProcess.

Standard_EXPORT WOKBuilder_MSActionStatus WOKBuilder_MSTranslator::MSActionStatus | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile
| ) | const

Standard_EXPORT WOKBuilder_BuildStatus WOKBuilder_MSTranslator::Translate | ( | const Handle(WOKBuilder_MSAction)& | anaction,
|  | const Handle(WOKBuilder_Specification)& | afile,
|  | Handle(TColStd_HSequenceOfHAsciiString)& | globlist,
|  | Handle(TColStd_HSequenceOfHAsciiString)& | inctypes,
|  | Handle(TColStd_HSequenceOfHAsciiString)& | insttypes,
|  | Handle(TColStd_HSequenceOfHAsciiString)& | gentypes
| ) | `[private]`

## Field Documentation

Handle_WOKBuilder_Specification WOKBuilder_MSTranslator::myspecfile `[private]`

WOKBuilder_MSTranslatorPtr WOKBuilder_MSTranslator::mytranslator `[private]`

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

- WOKBuilder_MSTranslator.hxx