Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
Blamite Game Engine - Strings
00313.05.23.21.2038.blamite
A library containing general purpose utilities and classes for use in multiple projects.
ToolCommand.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <vector>
5
6
#ifdef STRINGS_EXPORTS
7
#define STRINGS_API __declspec(dllexport)
8
#else
9
#define STRINGS_API __declspec(dllimport)
10
#endif
11
12
class
STRINGS_API
ToolCommand
13
{
14
protected
:
15
std::string command =
""
;
16
std::string syntax =
""
;
17
std::string description =
""
;
18
19
public
:
20
std::string
GetCommandName
()
21
{
22
return
command;
23
}
24
25
std::string
GetSyntax
()
26
{
27
return
syntax;
28
}
29
30
std::string
GetDescription
()
31
{
32
return
description;
33
}
34
35
virtual
int
execute
(std::vector<std::string> args) {
return
1; }
36
};
ToolCommand::GetSyntax
std::string GetSyntax()
Definition:
ToolCommand.hpp:25
ToolCommand::GetCommandName
std::string GetCommandName()
Definition:
ToolCommand.hpp:20
ToolCommand::execute
virtual int execute(std::vector< std::string > args)
Definition:
ToolCommand.hpp:35
STRINGS_API
#define STRINGS_API
Definition:
ToolCommand.hpp:9
ToolCommand::GetDescription
std::string GetDescription()
Definition:
ToolCommand.hpp:30
ToolCommand
Definition:
ToolCommand.hpp:12
Strings
editor
tool
console
ToolCommand.hpp
Generated on Sun May 23 2021 21:03:06 for Blamite Game Engine - Strings by
1.8.17