An instance of this class contains configuration files paths (except for mascot.dat
).
More...
#include <ms_mascotfiles.hpp>
Public Member Functions | |
ms_mascotfiles () | |
Default constructor. | |
ms_mascotfiles (const ms_mascotfiles &src) | |
Copying constructor. | |
~ms_mascotfiles () | |
Destructor. | |
void | copyFrom (const ms_mascotfiles *right) |
Can be used to create a copy of another object. | |
void | defaultValues () |
Initialises the instance with default values. | |
std::string | getEnzymes () const |
Returns enzymes path. | |
std::string | getFrequencies () const |
Returns freqs.dat path. | |
std::string | getModifications () const |
Returns mod_file path. | |
std::string | getNodeListFile () const |
Returns nodelist.txt path. | |
std::string | getPreceedingComments () const |
Returns any comments preceeding the section. | |
ms_mascotfiles & | operator= (const ms_mascotfiles &right) |
Assignment operator for C++ client application. | |
void | setEnzymes (const char *filename) |
Change enzymes path. | |
void | setFrequencies (const char *filename) |
Change freqs.dat path. | |
void | setModifications (const char *filename) |
Change mod_file path. | |
void | setNodeListFile (const char *filename) |
Change nodelist.txt path. | |
void | setPreceedingComments (const std::string &comments) |
Sets any comments preceeding the section. |
An instance of this class contains configuration files paths (except for mascot.dat
).
An instance of this class is normally created and populated within ms_datfile. It contains filepaths for mod_file
, enzymes
, frequencies
and nodelist.txt
.
Also get yourselves acquainted with the base class ms_customproperty. It facilitates the following tasks:
More functionality is described in the documentation for ms_customproperty.
std::string getPreceedingComments | ( | ) | const [inherited] |
Returns any comments preceeding the section.
Sections in the mascot.dat file may have comments preceeding them. In most cases, these comments need to stay 'attached' to the section.
Multiple line comments are supported by having a single string with newline characters
void setPreceedingComments | ( | const std::string & | comments ) | [inherited] |
Sets any comments preceeding the section.
Sections in the mascot.dat file may have comments preceeding them. In most cases, these comments need to stay 'attached' to the section.
Multiple line comments are supported by having a single string with newline characters
comments | any comments preceeding the section |
Copyright © 2022 Matrix Science Ltd. All Rights Reserved. Generated on Thu Mar 31 2022 01:12:33 |