Open Search
    CommandSettings Struct Reference

    #include <database.h>

    Detailed Description

    A CommandSettings object defines the settings for a given command. Commands are registered with SDKDatabaseInterface::AddCommand().

    Public Member Functions

     CommandSettings ()
     
    MAXON_IMPLICIT CommandSettings (const String &id, const String &name, const String &path)
     

    Public Attributes

    String _commandID
     
    String _commandName
     
    String _commandPath
     

    Constructor & Destructor Documentation

    ◆ CommandSettings() [1/2]

    ◆ CommandSettings() [2/2]

    MAXON_IMPLICIT CommandSettings ( const String id,
    const String name,
    const String path 
    )

    Constructor creating command settings The preferred way to create a CommandSettings object.

    Parameters
    [in]idID of the command.
    [in]nameName of the command (GUI display).
    [in]pathMenu path of the command (GUI display).

    Member Data Documentation

    ◆ _commandID

    String _commandID

    ID of the command.

    ◆ _commandName

    String _commandName

    Name of the command.

    ◆ _commandPath

    String _commandPath

    Path of the command.