https://mooseframework.inl.gov
WebServerControlTypeRegistry.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
12 namespace Moose
13 {
14 WebServerControlTypeRegistry &
16 {
17  static WebServerControlTypeRegistry * registry_singleton = nullptr;
18  if (!registry_singleton)
19  registry_singleton = new WebServerControlTypeRegistry;
20  return *registry_singleton;
21 }
22 }
static WebServerControlTypeRegistry & getRegistry()
A static registry used to register and build values of different types for the WebServerControl.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...