Rosetta
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
protocols::motifs::MotifLibrary Class Reference

#include <MotifLibrary.hh>

Inheritance diagram for protocols::motifs::MotifLibrary:
Inheritance graph
[legend]

Public Types

typedef utility::vector1< utility::file::FileName > const FileNames
 

Public Member Functions

 MotifLibrary ()
 
 ~MotifLibrary () override
 
 MotifLibrary (utility::vector1< utility::file::FileName > const &motif_filenames)
 
 MotifLibrary (std::istream &motif_info)
 
void add_to_library (Motif const &new_motif)
 
 MotifLibrary (std::istream &motif_info, core::Size ligand_marker)
 
void add_ligand_from_file (std::string const &motif_filename)
 
void add_from_file (std::string const &motif_filename)
 
 MotifLibrary (std::istream &motif_info, bool check_for_bad_motifs, utility::vector1< std::string > const &ligand_atom_names)
 
void add_ligand_from_file (std::string const &motif_filename, bool check_for_bad_motifs, utility::vector1< std::string > const &ligand_atom_names)
 
core::Size nmotifs ()
 
MotifCOPs::const_iterator begin ()
 
MotifCOPs::const_iterator end ()
 
MotifCOPs::const_iterator begin () const
 
MotifCOPs::const_iterator end () const
 
MotifCOPs const & library () const
 

Private Member Functions

void check_ctor_helper (std::istream &motif_info, bool check_for_bad_motifs, utility::vector1< std::string > const &ligand_atom_names)
 

Private Attributes

MotifCOPs library_
 

Friends

std::ostream & operator<< (std::ostream &os, MotifLibrary const &mot_lib)
 

Member Typedef Documentation

◆ FileNames

typedef utility::vector1< utility::file::FileName > const protocols::motifs::MotifLibrary::FileNames

Constructor & Destructor Documentation

◆ MotifLibrary() [1/5]

protocols::motifs::MotifLibrary::MotifLibrary ( )
default

◆ ~MotifLibrary()

protocols::motifs::MotifLibrary::~MotifLibrary ( )
overridedefault

◆ MotifLibrary() [2/5]

protocols::motifs::MotifLibrary::MotifLibrary ( utility::vector1< utility::file::FileName > const &  motif_filenames)

◆ MotifLibrary() [3/5]

protocols::motifs::MotifLibrary::MotifLibrary ( std::istream &  motif_info)

◆ MotifLibrary() [4/5]

protocols::motifs::MotifLibrary::MotifLibrary ( std::istream &  motif_info,
core::Size  ligand_marker 
)

◆ MotifLibrary() [5/5]

protocols::motifs::MotifLibrary::MotifLibrary ( std::istream &  motif_info,
bool  check_for_bad_motifs,
utility::vector1< std::string > const &  ligand_atom_names 
)

References check_ctor_helper().

Member Function Documentation

◆ add_from_file()

void protocols::motifs::MotifLibrary::add_from_file ( std::string const &  motif_filename)

◆ add_ligand_from_file() [1/2]

void protocols::motifs::MotifLibrary::add_ligand_from_file ( std::string const &  motif_filename)

◆ add_ligand_from_file() [2/2]

void protocols::motifs::MotifLibrary::add_ligand_from_file ( std::string const &  motif_filename,
bool  check_for_bad_motifs,
utility::vector1< std::string > const &  ligand_atom_names 
)

References add_to_library().

◆ add_to_library()

void protocols::motifs::MotifLibrary::add_to_library ( Motif const &  new_motif)

◆ begin() [1/2]

MotifCOPs::const_iterator protocols::motifs::MotifLibrary::begin ( )
inline

References library_.

◆ begin() [2/2]

MotifCOPs::const_iterator protocols::motifs::MotifLibrary::begin ( ) const
inline

References library_.

◆ check_ctor_helper()

void protocols::motifs::MotifLibrary::check_ctor_helper ( std::istream &  motif_info,
bool  check_for_bad_motifs,
utility::vector1< std::string > const &  ligand_atom_names 
)
private

◆ end() [1/2]

MotifCOPs::const_iterator protocols::motifs::MotifLibrary::end ( )
inline

References library_.

◆ end() [2/2]

MotifCOPs::const_iterator protocols::motifs::MotifLibrary::end ( ) const
inline

References library_.

◆ library()

MotifCOPs const& protocols::motifs::MotifLibrary::library ( ) const
inline

◆ nmotifs()

core::Size protocols::motifs::MotifLibrary::nmotifs ( )

References library_.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
MotifLibrary const &  mot_lib 
)
friend

Member Data Documentation

◆ library_

MotifCOPs protocols::motifs::MotifLibrary::library_
private

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