|
Macaulay2 Engine
|
Process-wide singleton holding the BIBasis monomial order and variable count. More...
#include <settings-manager.hpp>
Public Member Functions | |
| ~SettingsManager () | |
| Monom::Order | GetMonomialOrder () const |
| void | SetMonomialOrder (Monom::Order order) |
| void | SetNumberOfVariables (Monom::Integer numberOfVariables) |
Private Member Functions | |
| SettingsManager () | |
| SettingsManager (const SettingsManager &) | |
| SettingsManager & | operator= (const SettingsManager &) |
Private Attributes | |
| Monom::Order | MonomialOrder |
Friends | |
| SettingsManager & | GetSettingsManager () |
Process-wide singleton holding the BIBasis monomial order and variable count.
Hidden constructor / copy disabled — the only way to reach an instance is through the free function GetSettingsManager(), which is declared a friend. Stores MonomialOrder (Lex / DegLex / DegRevLex) so the BIBasis monom subclasses can consult it before doing comparisons, and forwards SetNumberOfVariables to Monom's static DimIndepend slot.
Definition at line 56 of file settings-manager.hpp.