Rosetta Protocols  2014.35
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::fldsgn::topology::SheetFoldTypeManager Class Reference

#include <SheetFoldTypeManager.hh>

Public Types

typedef std::string String
 

Public Member Functions

 SheetFoldTypeManager ()
 
SheetFoldType foldtype_from_name (std::string const &name)
 give a string name of SheetFoldType and return its enum type More...
 
std::string name_from_foldtype (SheetFoldType score_type)
 give a SheetFoldType and return its string name More...
 
bool is_foldtype (std::string const &name)
 check whether the string name of strand pairings is in SheetFoldType or not More...
 
SheetFoldType foldtype_from_spairs (std::string const &spairs)
 give a string of strand_pairings and return its enum type More...
 
std::string spairs_from_foldtype (SheetFoldType foldtype)
 give a SheetFoldType and return its string of strand_pairings More...
 
bool is_sparis_foldtype (std::string const &spairs)
 check whether the string spairs of strand_pairings is in SheetFoldType or not More...
 

Private Member Functions

void initialize ()
 
void setup_foldtype_names ()
 initialize the SheetFoldType name vector and map More...
 
void setup_foldtype_strand_pairings ()
 initialize the map of strand pairings and SheetFoldType More...
 

Private Attributes

bool initialized_
 
std::map< String, SheetFoldTypename2foldtype_
 
utility::vector1< Stringfoldtype2name_
 
std::map< String, SheetFoldTypespairs2foldtype_
 
utility::vector1< Stringfoldtype2spairs_
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::fldsgn::topology::SheetFoldTypeManager::SheetFoldTypeManager ( )

References initialize().

Member Function Documentation

SheetFoldType protocols::fldsgn::topology::SheetFoldTypeManager::foldtype_from_name ( std::string const &  name)

give a string name of SheetFoldType and return its enum type

References initialize(), initialized_, name2foldtype_, and utility_exit_with_message.

SheetFoldType protocols::fldsgn::topology::SheetFoldTypeManager::foldtype_from_spairs ( std::string const &  spairs)

give a string of strand_pairings and return its enum type

References initialize(), initialized_, spairs2foldtype_, and protocols::fldsgn::topology::UNKNOWN.

void protocols::fldsgn::topology::SheetFoldTypeManager::initialize ( )
private
bool protocols::fldsgn::topology::SheetFoldTypeManager::is_foldtype ( std::string const &  name)

check whether the string name of strand pairings is in SheetFoldType or not

References initialize(), initialized_, and name2foldtype_.

bool protocols::fldsgn::topology::SheetFoldTypeManager::is_sparis_foldtype ( std::string const &  spairs)

check whether the string spairs of strand_pairings is in SheetFoldType or not

References initialize(), initialized_, and spairs2foldtype_.

std::string protocols::fldsgn::topology::SheetFoldTypeManager::name_from_foldtype ( SheetFoldType  score_type)

give a SheetFoldType and return its string name

References foldtype2name_, initialize(), and initialized_.

void protocols::fldsgn::topology::SheetFoldTypeManager::setup_foldtype_names ( )
private
void protocols::fldsgn::topology::SheetFoldTypeManager::setup_foldtype_strand_pairings ( )
private
std::string protocols::fldsgn::topology::SheetFoldTypeManager::spairs_from_foldtype ( SheetFoldType  foldtype)

give a SheetFoldType and return its string of strand_pairings

References foldtype2spairs_, initialize(), and initialized_.

Member Data Documentation

utility::vector1< String > protocols::fldsgn::topology::SheetFoldTypeManager::foldtype2name_
private
utility::vector1< String > protocols::fldsgn::topology::SheetFoldTypeManager::foldtype2spairs_
private
bool protocols::fldsgn::topology::SheetFoldTypeManager::initialized_
private
std::map< String, SheetFoldType > protocols::fldsgn::topology::SheetFoldTypeManager::name2foldtype_
private
std::map< String, SheetFoldType > protocols::fldsgn::topology::SheetFoldTypeManager::spairs2foldtype_
private

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