Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::loops::LoopsFileOptions Class Reference

LoopsFileOptions ecapsulates the options associated with LoopsFile resources. More...

#include <LoopsFileOptions.hh>

Public Member Functions

 LoopsFileOptions ()
 Construct the LoopsFileOptions. More...
 
virtual ~LoopsFileOptions ()
 Destructor. More...
 
virtual void parse_my_tag (utility::tag::TagCOP tag)
 Read the configuration of the LoopsFile resource from the tag generated from the resource definition file. More...
 
virtual std::string type () const
 Return the name of this class (LoopsFileOptions). More...
 
bool prohibit_single_residue_loops () const
 Return the value of the prohibit_single_residue_loops property. More...
 
void prohibit_single_residue_loops (bool setting)
 Set the value of the prohibit_single_residue_loops property. More...
 

Private Attributes

bool prohibit_single_residue_loops_
 Boolean that stores the state of the prohibit_single_residue_loops property. More...
 

Detailed Description

LoopsFileOptions ecapsulates the options associated with LoopsFile resources.

These options are read in from a resource definition file and each loops_file resource has a corresponding LoopsFileOptions instance.

Constructor & Destructor Documentation

protocols::loops::LoopsFileOptions::LoopsFileOptions ( )

Construct the LoopsFileOptions.

The prohibit_single_residue_loops property is set to true by default.

protocols::loops::LoopsFileOptions::~LoopsFileOptions ( )
virtual

Destructor.

Member Function Documentation

void protocols::loops::LoopsFileOptions::parse_my_tag ( utility::tag::TagCOP  tag)
virtual

Read the configuration of the LoopsFile resource from the tag generated from the resource definition file.

Read the resource definitions file's tag and set the value for prohibit_single_residue_loops appropriately. If this option is omitted it is set to true by default.

Implements basic::resource_manager::ResourceOptions.

References prohibit_single_residue_loops().

bool protocols::loops::LoopsFileOptions::prohibit_single_residue_loops ( ) const

Return the value of the prohibit_single_residue_loops property.

References prohibit_single_residue_loops_.

Referenced by protocols::loops::LoopsFileLoader::create_resource(), and parse_my_tag().

void protocols::loops::LoopsFileOptions::prohibit_single_residue_loops ( bool  setting)

Set the value of the prohibit_single_residue_loops property.

References prohibit_single_residue_loops_.

std::string protocols::loops::LoopsFileOptions::type ( ) const
virtual

Return the name of this class (LoopsFileOptions).

Return the string value for the name of this class (LoopsFileOptions).

Implements basic::resource_manager::ResourceOptions.

Member Data Documentation

bool protocols::loops::LoopsFileOptions::prohibit_single_residue_loops_
private

Boolean that stores the state of the prohibit_single_residue_loops property.

Referenced by prohibit_single_residue_loops().


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