LibraryLink Utilities  3.0.1
Modern C++ wrapper over LibraryLink and WSTP
LLU::WS::BeginExpr Struct Reference

Description

A token for the WSStream to indicate that we will be sending an expression which length is not known beforehand

+ Inheritance diagram for LLU::WS::BeginExpr:
+ Collaboration diagram for LLU::WS::BeginExpr:

#include <Utilities.h>

Public Member Functions

 BeginExpr (const std::string &head)
 Create a token for the WSStream which initiates sending an expression with given head and unknown number of arguments. More...
 
const std::string & getHead () const
 Get Symbol name/head. More...
 
void setHead (std::string h)
 Set Symbol name/head. More...
 

Constructor & Destructor Documentation

◆ BeginExpr()

LLU::WS::BeginExpr::BeginExpr ( const std::string &  head)
inlineexplicit

Create a token for the WSStream which initiates sending an expression with given head and unknown number of arguments.

Parameters
head- head of the expression to be sent

Member Function Documentation

◆ getHead()

const std::string & LLU::WS::Symbol::getHead ( ) const
inherited

Get Symbol name/head.

Returns
head

◆ setHead()

void LLU::WS::Symbol::setHead ( std::string  h)
inherited

Set Symbol name/head.

Parameters
h- new head for the Symbol