votca 2024-dev
Loading...
Searching...
No Matches
Public Member Functions | List of all members
votca::csg::FileFormatFactory< T > Class Template Reference

#include <fileformatfactory.h>

Inheritance diagram for votca::csg::FileFormatFactory< T >:
Inheritance graph
[legend]
Collaboration diagram for votca::csg::FileFormatFactory< T >:
Collaboration graph
[legend]

Public Member Functions

 FileFormatFactory ()=default
 
std::unique_ptr< T > Create (const std::string &file) final
 
- Public Member Functions inherited from votca::tools::ObjectFactory< std::string, T >
 ObjectFactory ()=default
 
virtual ~ObjectFactory ()=default
 
void Register (const std::string &key, creator_t creator)
 register an object
 
void Register (const std::string &key)
 
virtual std::unique_ptr< T > Create (const std::string &key, args_t &&...arguments)
 
bool IsRegistered (const std::string &id_) const
 
std::vector< std::string > getKeys () const
 

Additional Inherited Members

- Public Types inherited from votca::tools::ObjectFactory< std::string, T >
using creator_t = std::unique_ptr< T >(*)(args_t &&...)
 

Detailed Description

template<typename T>
class votca::csg::FileFormatFactory< T >

Definition at line 32 of file fileformatfactory.h.

Constructor & Destructor Documentation

◆ FileFormatFactory()

template<typename T >
votca::csg::FileFormatFactory< T >::FileFormatFactory ( )
default

Member Function Documentation

◆ Create()

template<typename T >
std::unique_ptr< T > votca::csg::FileFormatFactory< T >::Create ( const std::string &  file)
final

Definition at line 40 of file fileformatfactory.h.


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