Flow123d  DF_mechanic_bench-4968b1b
Classes | Namespaces | Functions
factory.hh File Reference


More...

#include <memory>
#include <string>
#include <map>
#include <functional>
#include <boost/functional/factory.hpp>
#include <boost/any.hpp>
#include "system/exceptions.hh"
#include "factory_impl.hh"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Input::Factory< Type, Arguments >
 This class implements more general factory mechanism to construct classes. More...
 

Namespaces

 Input
 Abstract linear system class.
 

Functions

 Input::TYPEDEF_ERR_INFO (EI_KeyName, const string)
 
 Input::TYPEDEF_ERR_INFO (EI_TypeName, const string)
 
 Input::DECLARE_EXCEPTION (ExcNotRegistredClass,<< "Key "<< EI_KeyName::val<< " isn't registered in factory for type "<< EI_TypeName::val<< "!")
 
template<class ChildType , class... Arguments>
int Input::register_class (string class_name)
 Function allows simplified call of registering class to factory. More...
 

Detailed Description


 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file factory.hh.