Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
Chain_selection Class Reference

Selection object representing a chain selection for molecular viewers. More...

#include <Chain_selection.hpp>

Constructors

 Chain_selection (const std::string &chain_id)
 Constructor with chain identifier.

Accessors

const std::string & get_chain_id () const
 Returns the chain identifier.

Detailed Description

Selection object representing a chain selection for molecular viewers.

This class encapsulates chain selection information that can be processed by different molecular viewers (VMD, PyMOL, etc.) using their native selection syntax while maintaining a viewer-agnostic interface.

Constructor & Destructor Documentation

◆ Chain_selection()

Chain_selection ( const std::string & chain_id)
inline

Constructor with chain identifier.

Member Function Documentation

◆ get_chain_id()

const std::string & get_chain_id ( ) const
inline

Returns the chain identifier.