Rosetta
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
protocols::scoring::methods::pcs2::PcsInputFile Class Reference

PcsInputFile contain all the information of a .npc file one per lanthanide. More...

#include <PcsInputFile.hh>

Public Member Functions

 PcsInputFile ()
 
 ~PcsInputFile ()
 
 PcsInputFile (PcsInputFile const &other)
 
PcsInputFileoperator= (PcsInputFile const &other)
 
 PcsInputFile (std::string const &filename, core::Real const my_weight)
 
std::string get_filename () const
 Give me the name of the file. More...
 
core::Real get_weight () const
 Give me the weight associated. More...
 
utility::vector1< PcsInputLine > & get_PcsInputLine_all ()
 Give me the vector of all the line of the file. More...
 

Private Member Functions

void read_PCS_file ()
 read the file containing the PCS. Private and called by the constructor More...
 

Private Attributes

std::string const filename_
 
utility::vector1< PcsInputLinePcsInputLine_all_
 
core::Real const weight_
 

Friends

std::ostream & operator<< (std::ostream &out, const PcsInputFile &me)
 Print me on the stream. More...
 

Detailed Description

PcsInputFile contain all the information of a .npc file one per lanthanide.

Constructor & Destructor Documentation

◆ PcsInputFile() [1/3]

protocols::scoring::methods::pcs2::PcsInputFile::PcsInputFile ( )

◆ ~PcsInputFile()

protocols::scoring::methods::pcs2::PcsInputFile::~PcsInputFile ( )
default

◆ PcsInputFile() [2/3]

protocols::scoring::methods::pcs2::PcsInputFile::PcsInputFile ( PcsInputFile const &  other)

References PcsInputLine_all_.

◆ PcsInputFile() [3/3]

protocols::scoring::methods::pcs2::PcsInputFile::PcsInputFile ( std::string const &  filename,
core::Real const  my_weight 
)

References read_PCS_file().

Member Function Documentation

◆ get_filename()

std::string protocols::scoring::methods::pcs2::PcsInputFile::get_filename ( ) const

Give me the name of the file.

References filename_.

Referenced by read_PCS_file().

◆ get_PcsInputLine_all()

utility::vector1< PcsInputLine > & protocols::scoring::methods::pcs2::PcsInputFile::get_PcsInputLine_all ( )

Give me the vector of all the line of the file.

References PcsInputLine_all_.

Referenced by protocols::scoring::methods::pcs2::PcsDataCenter::PcsDataCenter().

◆ get_weight()

core::Real protocols::scoring::methods::pcs2::PcsInputFile::get_weight ( ) const

Give me the weight associated.

References weight_.

Referenced by protocols::scoring::methods::pcs2::PcsDataCenter::PcsDataCenter().

◆ operator=()

PcsInputFile & protocols::scoring::methods::pcs2::PcsInputFile::operator= ( PcsInputFile const &  other)

References PcsInputLine_all_.

◆ read_PCS_file()

void protocols::scoring::methods::pcs2::PcsInputFile::read_PCS_file ( )
private

read the file containing the PCS. Private and called by the constructor

References get_filename(), core::conformation::membrane::in, PcsInputLine_all_, and protocols::scoring::methods::pcs2::TR_PcsInputFile().

Referenced by PcsInputFile().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const PcsInputFile me 
)
friend

Print me on the stream.

Member Data Documentation

◆ filename_

std::string const protocols::scoring::methods::pcs2::PcsInputFile::filename_
private

Referenced by get_filename().

◆ PcsInputLine_all_

utility::vector1<PcsInputLine> protocols::scoring::methods::pcs2::PcsInputFile::PcsInputLine_all_
private

◆ weight_

core::Real const protocols::scoring::methods::pcs2::PcsInputFile::weight_
private

Referenced by get_weight().


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