Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::io::mmtf::ExtraDataEnumManager Class Reference

Enum string/enum functions for pose extra data we will be storing/retrieving. ALL enums must be defined in mmtf/ExtraDataEnum.hh. More...

#include <ExtraDataEnumManager.hh>

Inheritance diagram for core::io::mmtf::ExtraDataEnumManager:
Inheritance graph
[legend]

Public Member Functions

 ExtraDataEnumManager ()
 
 ExtraDataEnumManager (ExtraDataEnumManager const &src)
 
 ~ExtraDataEnumManager () override
 
ExtraDataEnum string_to_enum (std::string const &data_name) const
 
std::string enum_to_string (ExtraDataEnum const data_name) const
 
bool is_data_type (std::string const &data_name) const
 

Private Member Functions

void setup_data_names ()
 

Private Attributes

std::map< std::string,
ExtraDataEnum
string_to_enum_
 
utility::vector1< std::string > enum_to_string_
 

Detailed Description

Enum string/enum functions for pose extra data we will be storing/retrieving. ALL enums must be defined in mmtf/ExtraDataEnum.hh.

Constructor & Destructor Documentation

core::io::mmtf::ExtraDataEnumManager::ExtraDataEnumManager ( )

References setup_data_names().

core::io::mmtf::ExtraDataEnumManager::ExtraDataEnumManager ( ExtraDataEnumManager const &  src)
default
core::io::mmtf::ExtraDataEnumManager::~ExtraDataEnumManager ( )
override

Member Function Documentation

std::string core::io::mmtf::ExtraDataEnumManager::enum_to_string ( ExtraDataEnum const  data_name) const
bool core::io::mmtf::ExtraDataEnumManager::is_data_type ( std::string const &  data_name) const

References string_to_enum_.

Referenced by string_to_enum().

void core::io::mmtf::ExtraDataEnumManager::setup_data_names ( )
private
ExtraDataEnum core::io::mmtf::ExtraDataEnumManager::string_to_enum ( std::string const &  data_name) const

References is_data_type(), and string_to_enum_.

Member Data Documentation

utility::vector1< std::string > core::io::mmtf::ExtraDataEnumManager::enum_to_string_
private

Referenced by enum_to_string(), and setup_data_names().

std::map< std::string, ExtraDataEnum > core::io::mmtf::ExtraDataEnumManager::string_to_enum_
private

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