חזור לתיקייה: actions

HelpAction

חיפוש בתיקיה
Ctrl K
לחץ כאן או הקש Ctrl K כדי לחפש בכל התיקיה

    HelpAction

    02340124

    מבוא לתכנות מערכות

    רשימות הרצאה לקריאה בשבת

    HelpAction

    הופק מתוך תקיית התואר של שקד

    uni-folder.vercel.app

    helpaction.h

    הערה (קובץ קוד)

    קובץ זה הוא קובץ קוד מסוג C.

    #pragma once
    
    #include "Action.h"
    #include <string>
    
    /**
     * @class HelpAction
     * A subtype of Action, it tells the user what he can and can't do in the program.
     */
    class HelpAction : public Action {
    public:
        static const std::string HELP_MSG;
        static const std::string EXIT_MSG;
        static const std::string LIST_MSG;
        static const std::string CREATE_MSG;
        static const std::string READ_MSG;
        static const std::string DELETE_MSG;
        static const std::string WRITE_MSG;
        static const std::string SEARCH_MSG;
        static const std::string HISTORY_MSG;
        static const std::string IMPORT_MSG;
        static const std::string EXPORT_MSG;
    
        /**
         * Creates the HelpAction. (there is no necessary ingredients for this one)
         */
        HelpAction() = default;
    
        /**
         * @brief Executes the action
         */
        void execute() const override;
    };