GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApiItem Class Referenceabstract

#include <GraphI.hh>

Inheritance diagram for GameApiItem:

Public Member Functions

virtual ~GameApiItem ()
virtual int Count () const =0
virtual std::string Name (int i) const =0
virtual int ParamCount (int i) const =0
virtual std::string ParamName (int i, int p) const =0
virtual std::string ParamType (int i, int p) const =0
virtual std::string ParamDefault (int i, int p) const =0
virtual std::string DefaultAuthor (int i, int p) const =0
virtual std::string DefaultLicense (int i, int p) const =0
virtual std::string ReturnType (int i) const =0
virtual std::string ApiName (int i) const =0
virtual std::string FuncName (int i) const =0
virtual std::string Symbols () const =0
virtual std::string Comment () const =0
virtual int Execute (GameApi::Env &ee, GameApi::EveryApi &ev, std::vector< std::string > params, GameApi::ExecuteEnv &e, int j)=0
virtual std::pair< std::string, std::string > CodeGen (GameApi::EveryApi &ev, std::vector< std::string > params, std::vector< std::string > param_names, int j)=0
virtual void BeginEnv (GameApi::ExecuteEnv &e, std::vector< GameApiParam > params)
virtual void EndEnv (GameApi::ExecuteEnv &e)
virtual ~GameApiItem ()
virtual int Count () const =0
virtual std::string Name (int i) const =0
virtual int ParamCount (int i) const =0
virtual std::string ParamName (int i, int p) const =0
virtual std::string ParamType (int i, int p) const =0
virtual std::string ParamDefault (int i, int p) const =0
virtual std::string DefaultAuthor (int i, int p) const =0
virtual std::string DefaultLicense (int i, int p) const =0
virtual std::string ReturnType (int i) const =0
virtual std::string ApiName (int i) const =0
virtual std::string FuncName (int i) const =0
virtual std::string Symbols () const =0
virtual std::string Comment () const =0
virtual int Execute (std::stringstream &ss, GameApi::Env &ee, GameApi::EveryApi &ev, std::vector< std::string > params, GameApi::ExecuteEnv &e, int j)=0
virtual std::pair< std::string, std::string > CodeGen (GameApi::EveryApi &ev, std::vector< std::string > params, std::vector< std::string > param_names, std::vector< std::string > param_exprs, int j)=0
virtual void BeginEnv (GameApi::ExecuteEnv &e, std::vector< GameApiParam > params)
virtual void EndEnv (GameApi::ExecuteEnv &e)

Constructor & Destructor Documentation

◆ ~GameApiItem() [1/2]

virtual GameApiItem::~GameApiItem ( )
inlinevirtual

◆ ~GameApiItem() [2/2]

virtual GameApiItem::~GameApiItem ( )
inlinevirtual

Member Function Documentation

◆ ApiName() [1/2]

virtual std::string GameApiItem::ApiName ( int i) const
pure virtual

◆ ApiName() [2/2]

virtual std::string GameApiItem::ApiName ( int i) const
pure virtual

◆ BeginEnv() [1/2]

virtual void GameApiItem::BeginEnv ( GameApi::ExecuteEnv & e,
std::vector< GameApiParam > params )
inlinevirtual

Reimplemented in EnvGameApiItem_arr, EnvGameApiItem_arr_p, EnvGameApiItem_float, EnvGameApiItem_int, EnvGameApiItem_string, and ItemConvert.

Here is the caller graph for this function:

◆ BeginEnv() [2/2]

virtual void GameApiItem::BeginEnv ( GameApi::ExecuteEnv & e,
std::vector< GameApiParam > params )
inlinevirtual

◆ CodeGen() [1/2]

virtual std::pair< std::string, std::string > GameApiItem::CodeGen ( GameApi::EveryApi & ev,
std::vector< std::string > params,
std::vector< std::string > param_names,
int j )
pure virtual

Implemented in ItemConvert.

Here is the caller graph for this function:

◆ CodeGen() [2/2]

virtual std::pair< std::string, std::string > GameApiItem::CodeGen ( GameApi::EveryApi & ev,
std::vector< std::string > params,
std::vector< std::string > param_names,
std::vector< std::string > param_exprs,
int j )
pure virtual

◆ Comment() [1/2]

virtual std::string GameApiItem::Comment ( ) const
pure virtual

◆ Comment() [2/2]

virtual std::string GameApiItem::Comment ( ) const
pure virtual

◆ Count() [1/2]

virtual int GameApiItem::Count ( ) const
pure virtual

◆ Count() [2/2]

virtual int GameApiItem::Count ( ) const
pure virtual

◆ DefaultAuthor() [1/2]

virtual std::string GameApiItem::DefaultAuthor ( int i,
int p ) const
pure virtual

Implemented in ApiItem< RT, P >, EnvGameApiItem_arr, EnvGameApiItem_arr_p, EnvGameApiItem_float, EnvGameApiItem_int, and EnvGameApiItem_string.

Here is the caller graph for this function:

◆ DefaultAuthor() [2/2]

virtual std::string GameApiItem::DefaultAuthor ( int i,
int p ) const
pure virtual

◆ DefaultLicense() [1/2]

virtual std::string GameApiItem::DefaultLicense ( int i,
int p ) const
pure virtual

Implemented in ApiItem< RT, P >, EnvGameApiItem_arr, EnvGameApiItem_arr_p, EnvGameApiItem_float, EnvGameApiItem_int, and EnvGameApiItem_string.

Here is the caller graph for this function:

◆ DefaultLicense() [2/2]

virtual std::string GameApiItem::DefaultLicense ( int i,
int p ) const
pure virtual

◆ EndEnv() [1/2]

virtual void GameApiItem::EndEnv ( GameApi::ExecuteEnv & e)
inlinevirtual

Reimplemented in EnvGameApiItem_arr, EnvGameApiItem_arr_p, EnvGameApiItem_float, EnvGameApiItem_int, EnvGameApiItem_string, and ItemConvert.

Here is the caller graph for this function:

◆ EndEnv() [2/2]

virtual void GameApiItem::EndEnv ( GameApi::ExecuteEnv & e)
inlinevirtual

◆ Execute() [1/2]

virtual int GameApiItem::Execute ( GameApi::Env & ee,
GameApi::EveryApi & ev,
std::vector< std::string > params,
GameApi::ExecuteEnv & e,
int j )
pure virtual

Implemented in ItemConvert.

Here is the caller graph for this function:

◆ Execute() [2/2]

virtual int GameApiItem::Execute ( std::stringstream & ss,
GameApi::Env & ee,
GameApi::EveryApi & ev,
std::vector< std::string > params,
GameApi::ExecuteEnv & e,
int j )
pure virtual

◆ FuncName() [1/2]

virtual std::string GameApiItem::FuncName ( int i) const
pure virtual

◆ FuncName() [2/2]

virtual std::string GameApiItem::FuncName ( int i) const
pure virtual

◆ Name() [1/2]

virtual std::string GameApiItem::Name ( int i) const
pure virtual

◆ Name() [2/2]

virtual std::string GameApiItem::Name ( int i) const
pure virtual

◆ ParamCount() [1/2]

virtual int GameApiItem::ParamCount ( int i) const
pure virtual

◆ ParamCount() [2/2]

virtual int GameApiItem::ParamCount ( int i) const
pure virtual

◆ ParamDefault() [1/2]

virtual std::string GameApiItem::ParamDefault ( int i,
int p ) const
pure virtual

◆ ParamDefault() [2/2]

virtual std::string GameApiItem::ParamDefault ( int i,
int p ) const
pure virtual

◆ ParamName() [1/2]

virtual std::string GameApiItem::ParamName ( int i,
int p ) const
pure virtual

◆ ParamName() [2/2]

virtual std::string GameApiItem::ParamName ( int i,
int p ) const
pure virtual

◆ ParamType() [1/2]

virtual std::string GameApiItem::ParamType ( int i,
int p ) const
pure virtual

◆ ParamType() [2/2]

virtual std::string GameApiItem::ParamType ( int i,
int p ) const
pure virtual

◆ ReturnType() [1/2]

virtual std::string GameApiItem::ReturnType ( int i) const
pure virtual

◆ ReturnType() [2/2]

virtual std::string GameApiItem::ReturnType ( int i) const
pure virtual

◆ Symbols() [1/2]

virtual std::string GameApiItem::Symbols ( ) const
pure virtual

◆ Symbols() [2/2]

virtual std::string GameApiItem::Symbols ( ) const
pure virtual

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