Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
How to write new resfile commands
Author
Steven Lewis

This page describes how to add new commands to the resfile in mini. A command is an object with a method that will make changes to the PackerTask for ONE single residue at a time.

The resfile reader parses each record into whitespace-delimited chunks of information, and attempts to match them against a group of available commands (which must be known at compile time). It then passes the necessary information to an instantiation of a command object, which applies whatever the command is supposed to do.

In coding details, the interfaces are as follows:

Of course, the resfile only exists to modify the PackerTask. You will also have to modify the PackerTask_, or some child class, to include the set functions and data members you wish to modify.