Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
cmd_setoption Class Reference

#include <usercmd.h>

+ Inheritance diagram for cmd_setoption:
+ Collaboration diagram for cmd_setoption:

Public Member Functions

 cmd_setoption ()
 
void execute (std::string const &args) override
 Read setoption command.
 
- Public Member Functions inherited from UCIengineCommand
 UCIengineCommand (std::string const &s, std::string const &h)
 
 ~UCIengineCommand () override
 
- Public Member Functions inherited from engineUserCommand
 engineUserCommand (std::string const &s, std::string const &h)
 
virtual ~engineUserCommand ()
 
 engineUserCommand (engineUserCommand const &)=delete
 
 engineUserCommand (engineUserCommand &&)=delete
 
engineUserCommandoperator= (engineUserCommand const &)=delete
 
engineUserCommandoperator= (engineUserCommand &&)=delete
 

Additional Inherited Members

- Public Attributes inherited from engineUserCommand
std::string m_name
 
std::string m_hint
 
bool m_isImplemented = true
 
bool m_isHidden = false
 

Detailed Description

Definition at line 170 of file usercmd.h.

Constructor & Destructor Documentation

◆ cmd_setoption()

cmd_setoption::cmd_setoption ( )
inline

Definition at line 172 of file usercmd.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ execute()

void cmd_setoption::execute ( std::string const & args)
overridevirtual

Read setoption command.

Todo
allow value parameter with space in it
Todo
get array from initialisation
Todo
change to specific setoption function

Reimplemented from engineUserCommand.

Definition at line 149 of file usercmd.cpp.

+ Here is the call graph for this function: