WSF
wizard::WsfExe Class Reference

#include <WsfExe.hpp>

Inherits UtReferenceTracked.

Collaboration diagram for wizard::WsfExe:

Classes

class  GrammarVersion

Public Member Functions

 WsfExe (const UtPath &aExePath)
 WsfExe (std::shared_ptr< WsfParseDefinitions > &aParseDefinition, const std::string &aGrammar)
 WsfExe (const WsfExe &)=delete
 WsfExe (WsfExe &&)=default
WsfExeoperator= (const WsfExe &)=delete
WsfExeoperator= (WsfExe &&)=default
virtual ~WsfExe ()
bool LoadFromDisk ()
bool IsLoaded () const
const UtPath & GetPath () const
const std::string & GetVersion () const
const std::string & GetApplication () const
const std::string & GetGrammar ()
std::shared_ptr< WsfParseDefinitionsGetParseDefinitions ()
std::shared_ptr< GrammarDocumentationGetGrammarDocumentation ()
std::shared_ptr< WsfPProxyRegistryGetProxyRegistry () const
std::string GetAlias () const
void SetAlias (const std::string &aAlias)
std::string GetDescriptiveName () const
virtual void ExeTypeToXML (XML_Context &aInput)
WsfScriptTypesTakeScriptTypes ()
void GiveScriptTypes (WsfScriptTypes *aScriptTypesPtr)
WsfStylerGetStyler ()
GrammarVersion GetGrammarVersion () const

Static Public Member Functions

static WsfExeFromDisk (const UtPath &aExePath)
static std::string GetDescriptiveNameFor (const std::string &aApplicationName, const std::string &aVersion)

Static Public Attributes

static UtCallbackListN< void(WsfExe *)> ExeUpdated

Protected Member Functions

void BeginBuildDoc ()
void Cleanup ()
void ProcessData (const std::string &aBlockName, const std::string &aText)
void BuildProxyRegistry ()

Protected Attributes

UtPath mExePath
std::string mVersion
std::string mApplication
std::string mAlias
std::string mGrammarText
std::shared_ptr< WsfParseDefinitionsmParseDefinitions
std::vector< WsfScriptTypes * > mScriptTypesObjects
std::set< WsfScriptTypes * > mGivenScriptTypes
std::shared_ptr< GrammarDocumentationmGrammarDocumentation
bool mGrammarDocumentationFutureStarted
QFuture< std::shared_ptr< GrammarDocumentation > > mGrammarDocumentationFuture
WsfStylermWSF_StylerPtr
std::shared_ptr< WsfPProxyRegistrymProxyRegistry
GrammarVersion mGrammarVersion

Constructor & Destructor Documentation

◆ WsfExe() [1/4]

wizard::WsfExe::WsfExe ( const UtPath & aExePath)
explicit

◆ WsfExe() [2/4]

wizard::WsfExe::WsfExe ( std::shared_ptr< WsfParseDefinitions > & aParseDefinition,
const std::string & aGrammar )

◆ WsfExe() [3/4]

wizard::WsfExe::WsfExe ( const WsfExe & )
delete

References WsfExe().

◆ WsfExe() [4/4]

wizard::WsfExe::WsfExe ( WsfExe && )
default

References WsfExe().

◆ ~WsfExe()

wizard::WsfExe::~WsfExe ( )
virtual

References Cleanup().

Member Function Documentation

◆ BeginBuildDoc()

◆ BuildProxyRegistry()

void wizard::WsfExe::BuildProxyRegistry ( )
protected

◆ Cleanup()

void wizard::WsfExe::Cleanup ( )
protected

References mGivenScriptTypes, and mScriptTypesObjects.

Referenced by LoadFromDisk(), and ~WsfExe().

◆ ExeTypeToXML()

void wizard::WsfExe::ExeTypeToXML ( XML_Context & aInput)
virtual

◆ FromDisk()

wizard::WsfExe * wizard::WsfExe::FromDisk ( const UtPath & aExePath)
static

◆ GetAlias()

std::string wizard::WsfExe::GetAlias ( ) const
inline

References mAlias.

◆ GetApplication()

const std::string & wizard::WsfExe::GetApplication ( ) const
inline

References mApplication.

◆ GetDescriptiveName()

std::string wizard::WsfExe::GetDescriptiveName ( ) const

◆ GetDescriptiveNameFor()

std::string wizard::WsfExe::GetDescriptiveNameFor ( const std::string & aApplicationName,
const std::string & aVersion )
static

Referenced by GetDescriptiveName().

◆ GetGrammar()

const std::string & wizard::WsfExe::GetGrammar ( )

References mGrammarText.

◆ GetGrammarDocumentation()

◆ GetGrammarVersion()

GrammarVersion wizard::WsfExe::GetGrammarVersion ( ) const
inline

References mGrammarVersion.

◆ GetParseDefinitions()

◆ GetPath()

const UtPath & wizard::WsfExe::GetPath ( ) const
inline

◆ GetProxyRegistry()

std::shared_ptr< WsfPProxyRegistry > wizard::WsfExe::GetProxyRegistry ( ) const
inline

◆ GetStyler()

WsfStyler * wizard::WsfExe::GetStyler ( )
inline

References mWSF_StylerPtr.

Referenced by WsfExe(), and WsfExe().

◆ GetVersion()

const std::string & wizard::WsfExe::GetVersion ( ) const
inline

References mVersion.

◆ GiveScriptTypes()

void wizard::WsfExe::GiveScriptTypes ( WsfScriptTypes * aScriptTypesPtr)

◆ IsLoaded()

bool wizard::WsfExe::IsLoaded ( ) const

References mGrammarText.

Referenced by operator=().

◆ LoadFromDisk()

◆ operator=() [1/2]

WsfExe & wizard::WsfExe::operator= ( const WsfExe & )
delete

References WsfExe().

◆ operator=() [2/2]

WsfExe & wizard::WsfExe::operator= ( WsfExe && )
default

◆ ProcessData()

void wizard::WsfExe::ProcessData ( const std::string & aBlockName,
const std::string & aText )
protected

References mApplication, mGrammarText, and mVersion.

Referenced by LoadFromDisk().

◆ SetAlias()

void wizard::WsfExe::SetAlias ( const std::string & aAlias)
inline

References mAlias.

Referenced by wizard::WsfExeManager::Add().

◆ TakeScriptTypes()

Member Data Documentation

◆ ExeUpdated

UtCallbackListN< void(wizard::WsfExe *)> wizard::WsfExe::ExeUpdated
static

◆ mAlias

std::string wizard::WsfExe::mAlias
protected

◆ mApplication

std::string wizard::WsfExe::mApplication
protected

◆ mExePath

UtPath wizard::WsfExe::mExePath
protected

◆ mGivenScriptTypes

std::set<WsfScriptTypes*> wizard::WsfExe::mGivenScriptTypes
protected

◆ mGrammarDocumentation

std::shared_ptr<GrammarDocumentation> wizard::WsfExe::mGrammarDocumentation
protected

◆ mGrammarDocumentationFuture

QFuture<std::shared_ptr<GrammarDocumentation> > wizard::WsfExe::mGrammarDocumentationFuture
protected

◆ mGrammarDocumentationFutureStarted

bool wizard::WsfExe::mGrammarDocumentationFutureStarted
protected

◆ mGrammarText

std::string wizard::WsfExe::mGrammarText
protected

◆ mGrammarVersion

GrammarVersion wizard::WsfExe::mGrammarVersion
protected

◆ mParseDefinitions

std::shared_ptr<WsfParseDefinitions> wizard::WsfExe::mParseDefinitions
protected

◆ mProxyRegistry

std::shared_ptr<WsfPProxyRegistry> wizard::WsfExe::mProxyRegistry
protected

◆ mScriptTypesObjects

std::vector<WsfScriptTypes*> wizard::WsfExe::mScriptTypesObjects
protected

◆ mVersion

std::string wizard::WsfExe::mVersion
protected

◆ mWSF_StylerPtr

WsfStyler* wizard::WsfExe::mWSF_StylerPtr
protected

Referenced by GetStyler(), WsfExe(), and WsfExe().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved