Tome
A generic data editor for games supporting arbitrary input and output formats.
Public Member Functions | Static Public Attributes | List of all members
Tome::FieldIsNeverUsedTask Class Reference

Finds fields who aren't used by any records. More...

#include <fieldisneverusedtask.h>

Inheritance diagram for Tome::FieldIsNeverUsedTask:
Tome::Task

Public Member Functions

const QString getDisplayName () const Q_DECL_OVERRIDE
 Gets the localized display name of this task, as shown next to progress bars. More...
 
const MessageList execute (const TaskContext &context) const Q_DECL_OVERRIDE
 Executes this task, generating a list of messages, warnings and errors. More...
 
- Public Member Functions inherited from Tome::Task
 Task ()
 Constructs a new automated task that may result in a list of messages, warnings and errors.
 

Static Public Attributes

static const QString MessageCode = "TO0301"
 Unique message code of this task. Used for looking up more verbose documentation.
 

Detailed Description

Finds fields who aren't used by any records.

Member Function Documentation

◆ execute()

const MessageList FieldIsNeverUsedTask::execute ( const TaskContext context) const
virtual

Executes this task, generating a list of messages, warnings and errors.

Parameters
contextControllers required for executing the task.
Returns
List of messages, warnings and errors.

Implements Tome::Task.

◆ getDisplayName()

const QString FieldIsNeverUsedTask::getDisplayName ( ) const
virtual

Gets the localized display name of this task, as shown next to progress bars.

Returns
Localized display name of this task.

Implements Tome::Task.


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