Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>

Collaboration diagram for protocols::scoring::methods::pcs2::PcsInputFile:
Collaboration graph
[legend]

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

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

References PcsInputLine_all_.

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

References read_PCS_file().

Member Function Documentation

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

Give me the name of the file.

References filename_.

Referenced by protocols::scoring::methods::pcs2::operator<<(), and read_PCS_file().

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().

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().

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

References PcsInputLine_all_.

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(), PcsInputLine_all_, and protocols::scoring::methods::pcs2::TR_PcsInputFile().

Referenced by PcsInputFile().

Friends And Related Function Documentation

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

Print me on the stream.

Member Data Documentation

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

Referenced by get_filename().

utility::vector1<PcsInputLine> protocols::scoring::methods::pcs2::PcsInputFile::PcsInputLine_all_
private
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: