Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
Molecular_view< Viewer, ViewableObject > Class Template Reference

Base class for viewing an object in one of the available format (VMD, PyMOL). More...

#include <Molecular_view.hpp>

Detailed Description

template<class Viewer, class ViewableObject>
class SBL::IO::Molecular_view< Viewer, ViewableObject >

Base class for viewing an object in one of the available format (VMD, PyMOL).

There are two ways for instantiating the Molecular_view class for a given object type:

  • the intrusive method: one can define a Molecular_view static method in the class of the given object,
  • the non-intrusive method: one can use partial template specialization of the class Molecular_view.

If it fails to compile here, this probably means that you did not implement correctly the Molecular_view method or class.