void syten::T3N::Lattice::add | ( | std::string const & | id, |
std::string const & | desc, | ||
Operator const & | op, | ||
bool const | overwrite = false |
||
) |
Add a global operator.
id | key used in globalOperators |
desc | free-form string describing the operator |
op | TNO operator |
overwrite | set to true if you want to overwrite an existing operator |
References globalOperators, syten::RepRegister::id(), std::make_pair(), and SYTEN_ASSERT.
Referenced by buildIdentity().