Leviathan  0.8.0.0
Leviathan game engine
Leviathan::ScriptRunningSetup Class Reference

#include <ScriptRunningSetup.h>

Public Member Functions

DLLEXPORT ScriptRunningSetup ()
 
DLLEXPORT ScriptRunningSetup (const std::string &entrypoint)
 Set entry point in constructor. More...
 
DLLEXPORT ~ScriptRunningSetup ()
 
ScriptRunningSetupSetEntrypoint (const std::string &epoint)
 
ScriptRunningSetupSetUseFullDeclaration (const bool &state)
 
ScriptRunningSetupSetPrintErrors (const bool &state)
 

Public Attributes

bool PrintErrors = true
 
bool FullDeclaration = false
 
bool ErrorOnNonExistingFunction = true
 
SCRIPT_RUNTYPE RunType = SCRIPT_RUNTYPE_BREAKONERROR
 
bool ScriptExisted = false
 
std::string Entryfunction
 

Detailed Description

Definition at line 16 of file ScriptRunningSetup.h.

Constructor & Destructor Documentation

◆ ScriptRunningSetup() [1/2]

DLLEXPORT ScriptRunningSetup::ScriptRunningSetup ( )

Definition at line 5 of file ScriptRunningSetup.cpp.

5 {}

◆ ScriptRunningSetup() [2/2]

DLLEXPORT ScriptRunningSetup::ScriptRunningSetup ( const std::string &  entrypoint)

Set entry point in constructor.

Definition at line 7 of file ScriptRunningSetup.cpp.

7  :
8  Entryfunction(entrypoint)
9 {
10 }

◆ ~ScriptRunningSetup()

DLLEXPORT ScriptRunningSetup::~ScriptRunningSetup ( )

Definition at line 12 of file ScriptRunningSetup.cpp.

12 {}

Member Function Documentation

◆ SetEntrypoint()

ScriptRunningSetup& Leviathan::ScriptRunningSetup::SetEntrypoint ( const std::string &  epoint)
inline

Definition at line 26 of file ScriptRunningSetup.h.

27  {
28  // set //
29  Entryfunction = epoint;
30  return *this;
31  }

◆ SetPrintErrors()

ScriptRunningSetup& Leviathan::ScriptRunningSetup::SetPrintErrors ( const bool &  state)
inline

Definition at line 50 of file ScriptRunningSetup.h.

51  {
52 
53  PrintErrors = state;
54  return *this;
55  }

◆ SetUseFullDeclaration()

ScriptRunningSetup& Leviathan::ScriptRunningSetup::SetUseFullDeclaration ( const bool &  state)
inline

Definition at line 43 of file ScriptRunningSetup.h.

44  {
45  // set //
46  FullDeclaration = state;
47  return *this;
48  }

Member Data Documentation

◆ Entryfunction

std::string Leviathan::ScriptRunningSetup::Entryfunction

Definition at line 65 of file ScriptRunningSetup.h.

◆ ErrorOnNonExistingFunction

bool Leviathan::ScriptRunningSetup::ErrorOnNonExistingFunction = true

Definition at line 59 of file ScriptRunningSetup.h.

◆ FullDeclaration

bool Leviathan::ScriptRunningSetup::FullDeclaration = false

Definition at line 58 of file ScriptRunningSetup.h.

◆ PrintErrors

bool Leviathan::ScriptRunningSetup::PrintErrors = true

Definition at line 57 of file ScriptRunningSetup.h.

◆ RunType

SCRIPT_RUNTYPE Leviathan::ScriptRunningSetup::RunType = SCRIPT_RUNTYPE_BREAKONERROR

Definition at line 60 of file ScriptRunningSetup.h.

◆ ScriptExisted

bool Leviathan::ScriptRunningSetup::ScriptExisted = false

Definition at line 63 of file ScriptRunningSetup.h.


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