(
void*a_pFun,
inta_iArgc);
116 void AddStrFun(
void*a_pFun,
inta_iArgc,
inta_iIdx);
Bytecode implementation of the Math Parser.
ParserByteCode & operator=(const ParserByteCode &a_ByteCode)
Assignment operator.
void AddOp(ECmdCode a_Oprt)
Add an operator identifier to bytecode.
ParserToken< value_type, string_type > token_type
Token type for internal use only.
unsigned GetValSize() const
Return size of a value entry.
bytecode_type map_type
Underlying type of the container.
const map_type * GetRawData() const
Get Pointer to bytecode data storage.
const int mc_iSizeValEntry
A value entry requires that much entires in the bytecode.
void Assign(const ParserByteCode &a_ByteCode)
Copy state of another object to this.
const int mc_iSizePtr
Size of a pointer, relative to size of underlying TMapType.
void AddVal(value_type a_fVal)
Add a Variable pointer to bytecode.
void RemoveValEntries(unsigned a_iNumber)
Remove a value number of entries from the bytecode.
ParserByteCode()
Bytecode default constructor.
void clear()
Delete the bytecode.
const int mc_iSizeVal
Size of a value entry in the bytecode, relative to TMapType size.
std::size_t GetBufSize() const
void AsciiDump()
Dump bytecode (for debugging only!).
~ParserByteCode()
Destructor (trivial).
void StorePtr(void *a_pAddr)
Store an address in bytecode.
void AddStrFun(void *a_pFun, int a_iArgc, int a_iIdx)
Add Strung function entry to the parser bytecode.
void AddVar(value_type *a_pVar)
Add a Variable pointer to bytecode.
std::vector< map_type > storage_type
Core type of the bytecode.
unsigned m_iStackPos
Position in the Calculation array.
unsigned GetPtrSize() const
Return size of a pointer entry.
void Finalize()
Add end marker to bytecode.
void AddAssignOp(value_type *a_pVar)
Add an assignement operator.
storage_type m_vBase
Core type of the bytecode.
void AddFun(void *a_pFun, int a_iArgc)
Add function to bytecode.
This file contains standard definitions used by the parser.
This file defines the error class used by the parser.
This file contains the parser token definition.
Namespace for mathematical applications.
long bytecode_type
The bytecode type used by the parser.
ECmdCode
Bytecode values.
double value_type
The numeric datatype used by the parser.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4