Loading...
Searching...
No Matches
by::param Class Reference

Function parameter. More...

#include <param.hpp>

Inheritance diagram for by::param:

Public Member Functions

 param (const std::string &newName, const node &org)
 
 param (const std::string &newName, const node *org)
 
nbool operator== (const me &rhs) const
 
nbool operator!= (const me &rhs) const
 
const std::string & getName () const
 
void setName (const std::string &new1)
 
void setName (const std::string *it) BY_SIDE_FUNC(setName)
 
void setName (const nchar *new1) BY_SIDE_FUNC(new1
 
void setName (std::string(new1))
 
void void ())
 
const nodegetOrigin () const
 
void setOrigin (const node &newType)
 Sets the origin node (type) for this parameter.
 
void onCloneDeep (const clonable &from) override
 

Public Attributes

std::string _name
 
str _org
 

Detailed Description

Function parameter.

param literally represents a parameter. It has a name and a reference to an origin object to represent the type.

Member Function Documentation

◆ setOrigin()

void by::param::setOrigin ( const node & newType)

Sets the origin node (type) for this parameter.

Parameters
newTypeThe new node to set as the parameter's origin (type).

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