uvgVPCCenc 1.1.0
uvgVPCCenc is an open-source real-time V-PCC encoder library written in C++ from scratch.
Loading...
Searching...
No Matches
Classes | Functions
cli Namespace Reference

Classes

struct  opts_t
 

Functions

size_t stringToInt (const std::string s)
 
size_t stringToInt (const char *c)
 
bool opts_parse (cli::opts_t &opts, const int &argc, const std::span< const char *const > &args)
 Parse command line options.
 
void print_usage (void)
 Print the default usage of the application.
 
void print_version (void)
 Print the version of the uvgVPCCenc library.
 
void print_help (void)
 Print the help message of the application.
 

Function Documentation

◆ opts_parse()

bool cli::opts_parse ( cli::opts_t opts,
const int &  argc,
const std::span< const char *const > &  args 
)

Parse command line options.

Returns
True if the execution should end (for exemple if the flag –help is used).
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_help()

void cli::print_help ( void  )

Print the help message of the application.

Parameters
Here is the caller graph for this function:

◆ print_usage()

void cli::print_usage ( void  )

Print the default usage of the application.

Parameters
Here is the caller graph for this function:

◆ print_version()

void cli::print_version ( void  )

Print the version of the uvgVPCCenc library.

Parameters
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stringToInt() [1/2]

size_t cli::stringToInt ( const char *  c)
Here is the call graph for this function:

◆ stringToInt() [2/2]

size_t cli::stringToInt ( const std::string  s)
Here is the caller graph for this function: