Files
o3de/Code/Legacy/CrySystem/CmdLineArg.h
T
Esteban Papp 9f0bbf3b74 SPEC-7531 Change Code/CryEngine to Code/Legacy (#1634)
* git mv Code\CryEngine Code\Legacy
* redirecting CMakeLists.txt
* fixing uic warning
* Some more CryEngine mentions
* validation scripts

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-06-29 13:51:24 -07:00

41 lines
804 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
// Description : Implements the command line argument interface ICmdLineArg.
#ifndef CRYINCLUDE_CRYSYSTEM_CMDLINEARG_H
#define CRYINCLUDE_CRYSYSTEM_CMDLINEARG_H
#pragma once
#include <ICmdLine.h>
class CCmdLineArg
: public ICmdLineArg
{
public:
CCmdLineArg(const char* name, const char* value, ECmdLineArgType type);
virtual ~CCmdLineArg();
const char* GetName() const;
const char* GetValue() const;
const ECmdLineArgType GetType() const;
const float GetFValue() const;
const int GetIValue() const;
private:
ECmdLineArgType m_type;
string m_name;
string m_value;
};
#endif // CRYINCLUDE_CRYSYSTEM_CMDLINEARG_H