Special type of a Function which corresponds to the List expression when exchanged with the Kernel via WSStream.
#include <Utilities.h>
◆ List() [1/2]
Default constructor - sets "List" to be the head of expression with no arguments.
◆ List() [2/2]
| LLU::WS::List::List |
( |
int |
argCount | ) |
|
|
inlineexplicit |
Create a WSStream-compatible structure that corresponds to a List of given length.
- Parameters
-
| argCount | - number of arguments for the List expression, i.e. length of the list |
◆ getArgc()
| int LLU::WS::Function::getArgc |
( |
| ) |
const |
|
inherited |
Get argument count.
- Returns
- number of arguments this function takes
◆ getHead()
| const std::string & LLU::WS::Symbol::getHead |
( |
| ) |
const |
|
inherited |
Get Symbol name/head.
- Returns
- head
◆ setArgc()
| void LLU::WS::Function::setArgc |
( |
int |
newArgc | ) |
|
|
inherited |
Set argument count.
- Parameters
-
| newArgc | - new value for argument count |
◆ setHead()
| void LLU::WS::Symbol::setHead |
( |
std::string |
h | ) |
|
|
inherited |
Set Symbol name/head.
- Parameters
-