RetroArch
Classes | Functions | Variables
com-parse.cpp File Reference
#include <iostream>
#include <peglib.h>
#include <fstream>
#include <sstream>
#include <cstring>
Include dependency graph for com-parse.cpp:

Classes

struct  name_pair
 
class  ComFunction
 
struct  ComFunction::param_t
 
class  ComHeader
 

Functions

string insert_name (const string &fname, const string &name)
 
string get_derived_basename (const char *name)
 
string get_derived_basename (string name)
 
string get_prefix (const char *type)
 
string get_prefix (const string &type)
 
string clean_name (const char *name)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & operator<< (basic_ostream< _Elem, _Traits > &ios, ComHeader &header)
 
int main (int argc, const char **argv)
 

Variables

bool use_typedefs = true
 
const char * prefix_seperator = ""
 
vector< stringignored_fn_prefixes_list
 
vector< stringfn_prefixes_list
 
bool move_fn_prefix_after_action = true
 
vector< stringignored_types_list
 
const char * required_prefix = "ID"
 
vector< stringignored_functions_list
 
vector< stringoverloaded_list
 
vector< stringaction_list
 
vector< stringderived_types_list
 
vector< stringbase_objects_list
 

Function Documentation

◆ clean_name()

string clean_name ( const char *  name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_derived_basename() [1/2]

string get_derived_basename ( const char *  name)
Here is the caller graph for this function:

◆ get_derived_basename() [2/2]

string get_derived_basename ( string  name)
Here is the call graph for this function:

◆ get_prefix() [1/2]

string get_prefix ( const char *  type)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_prefix() [2/2]

string get_prefix ( const string type)
Here is the call graph for this function:

◆ insert_name()

string insert_name ( const string fname,
const string name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
const char **  argv 
)
Here is the call graph for this function:

◆ operator<<()

template<class _Elem , class _Traits >
basic_ostream<_Elem, _Traits>& operator<< ( basic_ostream< _Elem, _Traits > &  ios,
ComHeader header 
)
Here is the call graph for this function:

Variable Documentation

◆ action_list

vector<string> action_list
Initial value:
=
{
"Release",
"Get",
"Set",
"Enum",
"Get",
"Query",
"Add",
"Signal",
"Begin",
"End",
"Assert",
"Close",
"Map",
"Unmap"
}

◆ base_objects_list

vector<string> base_objects_list
Initial value:
=
{
"IUnknown",
"ID3D12Object",
"IDXGIObject",
"IDXGIResource",
}

◆ derived_types_list

vector<string> derived_types_list
Initial value:
=
{
"ID3D12Device",
"ID3D12Debug",
"ID3D12DebugDevice",
"ID3D12DebugCommandList",
"IDXGIFactory1",
"IDXGIAdapter1",
"IDXGISurface1",
"IDXGISwapChain3",
"IDXGIOutput",
"IDXGIDevice",
}

◆ fn_prefixes_list

vector<string> fn_prefixes_list
Initial value:
=
{
"OM",
"IA",
"RS",
"VS",
"PS",
"GS",
"DS",
"CS",
}

◆ ignored_fn_prefixes_list

vector<string> ignored_fn_prefixes_list
Initial value:
=
{
"OM",
"IA",
"RS",
}

◆ ignored_functions_list

vector<string> ignored_functions_list
Initial value:
=
{
"Release",
"QueryInterface",
"AddRef",
"GetParent",
"GetAdapter",
"GetDevice",
"GetDesc",
"GetType",
"SetName",
"SetPrivateDataInterface",
"SetPrivateData",
"GetPrivateData",
"OpenSharedHandle",
"CreateSharedHandle",
"OpenSharedHandleByName",
"SetTrackingOptions",
}

◆ ignored_types_list

vector<string> ignored_types_list
Initial value:
=
{
"AsyncIUnknown",
"IMarshal",
"IMalloc",
"IEnumString",
"ISequentialStream",
"IStream",
"IRpcChannelBuffer",
"IAsyncRpcChannelBuffer",
"IRpcProxyBuffer",
"IServerSecurity",
"IRpcOptions",
"IGlobalOptions",
"ISurrogate",
"ISynchronize",
"ISynchronizeEvent",
"IDataObject",
"IDataAdviseHolder",
"IDirectWriterLock",
"IDummyHICONIncluder",
"IDispatch",
"IDropSource",
"IDropTarget",
"IDataFilter",
"IDropSourceNotify",
}

◆ move_fn_prefix_after_action

bool move_fn_prefix_after_action = true

◆ overloaded_list

vector<string> overloaded_list

◆ prefix_seperator

const char* prefix_seperator = ""

◆ required_prefix

const char* required_prefix = "ID"

◆ use_typedefs

bool use_typedefs = true