OpenMS
TOPPASToolVertex::IOInfo Struct Reference

Stores the information for input/output files/lists. More...

#include <OpenMS/VISUAL/TOPPASToolVertex.h>

Collaboration diagram for TOPPASToolVertex::IOInfo:
[legend]

Public Types

enum  IOType { IOT_FILE , IOT_LIST }
 The type. More...
 

Public Member Functions

 IOInfo ()
 Standard constructor. More...
 
 IOInfo (const IOInfo &rhs)
 Copy constructor. More...
 
bool operator< (const IOInfo &rhs) const
 Comparison operator. More...
 
IOInfooperator= (const IOInfo &rhs)
 Assignment operator. More...
 

Static Public Member Functions

static bool isAnyList (const QVector< IOInfo > &params)
 Is any of the input/output parameters a list? More...
 

Public Attributes

IOType type
 The type of the parameter. More...
 
String param_name
 The name of the parameter. More...
 
StringList valid_types
 The valid file types for this parameter. More...
 

Detailed Description

Stores the information for input/output files/lists.

Member Enumeration Documentation

◆ IOType

enum IOType

The type.

Enumerator
IOT_FILE 
IOT_LIST 

Constructor & Destructor Documentation

◆ IOInfo() [1/2]

IOInfo ( )
inline

Standard constructor.

◆ IOInfo() [2/2]

IOInfo ( const IOInfo rhs)
inline

Copy constructor.

Member Function Documentation

◆ isAnyList()

static bool isAnyList ( const QVector< IOInfo > &  params)
inlinestatic

Is any of the input/output parameters a list?

◆ operator<()

bool operator< ( const IOInfo rhs) const
inline

◆ operator=()

IOInfo& operator= ( const IOInfo rhs)
inline

Member Data Documentation

◆ param_name

String param_name

The name of the parameter.

Referenced by TOPPASToolVertex::IOInfo::operator<(), and TOPPASToolVertex::IOInfo::operator=().

◆ type

IOType type

The type of the parameter.

Referenced by TOPPASToolVertex::IOInfo::operator<(), and TOPPASToolVertex::IOInfo::operator=().

◆ valid_types

StringList valid_types

The valid file types for this parameter.

Referenced by TOPPASToolVertex::IOInfo::operator=().