UFO: Alien Invasion
Loading...
Searching...
No Matches
ScopedCommand Class Reference

#include <ScopedCommand.h>

Collaboration diagram for ScopedCommand:
Collaboration graph

Public Member Functions

 ScopedCommand (const std::string &scopeEnterCommand, const std::string &scopeLeaveCommand)
 ScopedCommand (const std::string &command, const std::string &scopeEnterParameter, const std::string &scopeLeaveParameter)
 ~ScopedCommand ()

Private Attributes

const std::string _scopeLeaveCommand

Detailed Description

Definition at line 5 of file ScopedCommand.h.

Constructor & Destructor Documentation

◆ ScopedCommand() [1/2]

ScopedCommand::ScopedCommand ( const std::string & scopeEnterCommand,
const std::string & scopeLeaveCommand )
inline

Definition at line 9 of file ScopedCommand.h.

References _scopeLeaveCommand, and Cmd_ExecuteString().

◆ ScopedCommand() [2/2]

ScopedCommand::ScopedCommand ( const std::string & command,
const std::string & scopeEnterParameter,
const std::string & scopeLeaveParameter )
inline

Definition at line 15 of file ScopedCommand.h.

References _scopeLeaveCommand, and Cmd_ExecuteString().

◆ ~ScopedCommand()

ScopedCommand::~ScopedCommand ( )
inline

Definition at line 22 of file ScopedCommand.h.

References _scopeLeaveCommand, and Cmd_ExecuteString().

Field Documentation

◆ _scopeLeaveCommand

const std::string ScopedCommand::_scopeLeaveCommand
private

Definition at line 7 of file ScopedCommand.h.

Referenced by ScopedCommand(), ScopedCommand(), and ~ScopedCommand().


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