votca 2024.2-dev
Loading...
Searching...
No Matches
votca::csg::FileFormatFactory< T > Class Template Reference

#include <fileformatfactory.h>

Inheritance diagram for votca::csg::FileFormatFactory< T >:
Collaboration diagram for votca::csg::FileFormatFactory< T >:

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
 

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: