PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::ApplicationCommandLineArgs Struct Reference

Command-line arguments passed to the application. More...

#include <specification.h>

Public Member Functions

const char * operator[] (int index) const
 Accesses an argument by index.
 

Public Attributes

int count = 0
 The number of arguments.
 
char ** args = nullptr
 Pointer to an array of argument strings.
 

Detailed Description

Command-line arguments passed to the application.

Member Function Documentation

◆ operator[]()

const char * pixelbullet::ApplicationCommandLineArgs::operator[] ( int index) const
inline

Accesses an argument by index.

Parameters
indexThe index of the argument.
Returns
A pointer to the argument string at the specified index.

Member Data Documentation

◆ args

char** pixelbullet::ApplicationCommandLineArgs::args = nullptr

Pointer to an array of argument strings.

◆ count

int pixelbullet::ApplicationCommandLineArgs::count = 0

The number of arguments.


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