Horizon
Loading...
Searching...
No Matches
horizon::ParameterProgram Class Reference
Inheritance diagram for horizon::ParameterProgram:
horizon::ParameterProgramPolygon horizon::Package::MyParameterProgram horizon::Padstack::MyParameterProgram

Classes

class  Token
class  TokenInt
class  TokenCommand
class  TokenString
class  TokenUUID

Public Types

using Stack = std::vector<int64_t>

Public Member Functions

 ParameterProgram (const std::string &s)
 ParameterProgram (const ParameterProgram &other)
ParameterProgram & operator= (const ParameterProgram &other)
std::optional< std::string > get_init_error ()
const std::string & get_code () const
std::optional< std::string > set_code (const std::string &s)
std::optional< std::string > run (const ParameterSet &pset={})
const auto & get_stack () const
bool stack_pop (int64_t &va)

Protected Types

using CommandHandler = std::optional<std::string> (ParameterProgram::*)(const TokenCommand &cmd)

Protected Member Functions

virtual CommandHandler get_command (const std::string &cmd)

Protected Attributes

std::vector< int64_t > stack

Friends

class ParameterCommands

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