NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
ProcedureCommandLine Class Reference

#include <procedurecommandline.hpp>

Collaboration diagram for ProcedureCommandLine:

Public Types

enum  Types { TYPE_UNSPECIFIED = 0 , TYPE_PROCEDURE_HEAD , TYPE_PROCEDURE_FOOT , TYPE_PROCEDURE_BODY }
 
enum  Flags {
  FLAG_NONE = 0x0 , FLAG_EXPLICIT = 0x1 , FLAG_INLINE = 0x2 , FLAG_MASK = 0x4 ,
  FLAG_PRIVATE = 0x8 , FLAG_TEMPLATE = 0x10 , FLAG_EVENT = 0x20 , FLAG_MACRO = 0x40 ,
  FLAG_TEST = 0x80
}
 
enum  ByteCodes {
  BYTECODE_NOT_PARSED = 0x0 , BYTECODE_COMMAND = 0x1 , BYTECODE_NUMERICAL = 0x2 , BYTECODE_STRING = 0x4 ,
  BYTECODE_DATAACCESS = 0x8 , BYTECODE_VARDEF = 0x10 , BYTECODE_NAMESPACE = 0x20 , BYTECODE_FLOWCTRLSTATEMENT = 0x40 ,
  BYTECODE_RETURNCOMMAND = 0x80 , BYTECODE_THROWCOMMAND = 0x100 , BYTECODE_DEBUGBREAKPOINT = 0x200 , BYTECODE_EXPLICIT = 0x400 ,
  BYTECODE_TOCOMMAND = 0x800 , BYTECODE_PROCEDUREINTERFACE = 0x1000 , BYTECODE_INCLUDE = 0x2000 , BYTECODE_BREAKCMD = 0x4000 ,
  BYTECODE_PROMPT = 0x8000 , BYTECODE_RECURSIVEEXPRESSION = 0x10000 , BYTECODE_SUPPRESSANSWER = 0x20000 , BYTECODE_ASSERT = 0x40000
}
 
enum  Inlineable { INLINING_UNKNOWN = -1 , INLINING_IMPOSSIBLE = 0 , INLINING_POSSIBLE = 1 , INLINING_GLOBALINRETURN = 2 }
 

Public Member Functions

 ProcedureCommandLine ()
 
 ProcedureCommandLine (int _nFlags, int _nType, const std::string &_sCommandLine, const std::string &_sArgumentList="")
 
 ProcedureCommandLine (const ProcedureCommandLine &_procCommandLine)
 
std::string getCommandLine () const
 
std::string getArgumentList () const
 
int getType () const
 
int getFlags () const
 
int getByteCode () const
 
void setByteCode (int _nByteCode)
 
int isInlineable () const
 
void setInlineable (int inlineable)
 

Private Attributes

int nFlags
 
int nType
 
int nByteCode
 
int nInlinable
 
std::string sCommandLine
 
std::string sArgumentList
 

Detailed Description

Definition at line 29 of file procedurecommandline.hpp.

Member Enumeration Documentation

◆ ByteCodes

Enumerator
BYTECODE_NOT_PARSED 
BYTECODE_COMMAND 
BYTECODE_NUMERICAL 
BYTECODE_STRING 
BYTECODE_DATAACCESS 
BYTECODE_VARDEF 
BYTECODE_NAMESPACE 
BYTECODE_FLOWCTRLSTATEMENT 
BYTECODE_RETURNCOMMAND 
BYTECODE_THROWCOMMAND 
BYTECODE_DEBUGBREAKPOINT 
BYTECODE_EXPLICIT 
BYTECODE_TOCOMMAND 
BYTECODE_PROCEDUREINTERFACE 
BYTECODE_INCLUDE 
BYTECODE_BREAKCMD 
BYTECODE_PROMPT 
BYTECODE_RECURSIVEEXPRESSION 
BYTECODE_SUPPRESSANSWER 
BYTECODE_ASSERT 

Definition at line 61 of file procedurecommandline.hpp.

◆ Flags

Enumerator
FLAG_NONE 
FLAG_EXPLICIT 
FLAG_INLINE 
FLAG_MASK 
FLAG_PRIVATE 
FLAG_TEMPLATE 
FLAG_EVENT 
FLAG_MACRO 
FLAG_TEST 

Definition at line 48 of file procedurecommandline.hpp.

◆ Inlineable

Enumerator
INLINING_UNKNOWN 
INLINING_IMPOSSIBLE 
INLINING_POSSIBLE 
INLINING_GLOBALINRETURN 

Definition at line 85 of file procedurecommandline.hpp.

◆ Types

Enumerator
TYPE_UNSPECIFIED 
TYPE_PROCEDURE_HEAD 
TYPE_PROCEDURE_FOOT 
TYPE_PROCEDURE_BODY 

Definition at line 40 of file procedurecommandline.hpp.

Constructor & Destructor Documentation

◆ ProcedureCommandLine() [1/3]

ProcedureCommandLine::ProcedureCommandLine ( )
inline

Definition at line 94 of file procedurecommandline.hpp.

◆ ProcedureCommandLine() [2/3]

ProcedureCommandLine::ProcedureCommandLine ( int  _nFlags,
int  _nType,
const std::string &  _sCommandLine,
const std::string &  _sArgumentList = "" 
)
inline

Definition at line 96 of file procedurecommandline.hpp.

◆ ProcedureCommandLine() [3/3]

ProcedureCommandLine::ProcedureCommandLine ( const ProcedureCommandLine _procCommandLine)
inline

Definition at line 98 of file procedurecommandline.hpp.

Member Function Documentation

◆ getArgumentList()

std::string ProcedureCommandLine::getArgumentList ( ) const
inline

Definition at line 109 of file procedurecommandline.hpp.

References sArgumentList.

Referenced by Procedure::execute().

◆ getByteCode()

int ProcedureCommandLine::getByteCode ( ) const
inline

Definition at line 127 of file procedurecommandline.hpp.

References nByteCode.

◆ getCommandLine()

std::string ProcedureCommandLine::getCommandLine ( ) const
inline

Definition at line 103 of file procedurecommandline.hpp.

References sCommandLine.

◆ getFlags()

int ProcedureCommandLine::getFlags ( ) const
inline

Definition at line 121 of file procedurecommandline.hpp.

References nFlags.

◆ getType()

int ProcedureCommandLine::getType ( ) const
inline

Definition at line 115 of file procedurecommandline.hpp.

References nType.

◆ isInlineable()

int ProcedureCommandLine::isInlineable ( ) const
inline

Definition at line 142 of file procedurecommandline.hpp.

References FLAG_INLINE, INLINING_IMPOSSIBLE, nFlags, and nInlinable.

◆ setByteCode()

void ProcedureCommandLine::setByteCode ( int  _nByteCode)
inline

Definition at line 134 of file procedurecommandline.hpp.

References BYTECODE_NOT_PARSED, and nByteCode.

◆ setInlineable()

void ProcedureCommandLine::setInlineable ( int  inlineable)
inline

Member Data Documentation

◆ nByteCode

int ProcedureCommandLine::nByteCode
private

Definition at line 34 of file procedurecommandline.hpp.

Referenced by getByteCode(), and setByteCode().

◆ nFlags

int ProcedureCommandLine::nFlags
private

Definition at line 32 of file procedurecommandline.hpp.

Referenced by getFlags(), isInlineable(), and setInlineable().

◆ nInlinable

int ProcedureCommandLine::nInlinable
private

Definition at line 35 of file procedurecommandline.hpp.

Referenced by isInlineable(), and setInlineable().

◆ nType

int ProcedureCommandLine::nType
private

Definition at line 33 of file procedurecommandline.hpp.

Referenced by getType(), and setInlineable().

◆ sArgumentList

std::string ProcedureCommandLine::sArgumentList
private

Definition at line 37 of file procedurecommandline.hpp.

Referenced by getArgumentList().

◆ sCommandLine

std::string ProcedureCommandLine::sCommandLine
private

Definition at line 36 of file procedurecommandline.hpp.

Referenced by getCommandLine().


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