Functions
args.cc File Reference
#include <string>
#include <vector>
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "internal.h"
Include dependency graph for args.cc:

Go to the source code of this file.

Functions

bool GetUnsigned (unsigned *out, const std::string &arg_name, unsigned default_value, const std::map< std::string, std::string > &args)
 
bool ParseKeyValueArguments (std::map< std::string, std::string > *out_args, const std::vector< std::string > &args, const struct argument *templates)
 
void PrintUsage (const struct argument *templates)
 

Function Documentation

◆ GetUnsigned()

bool GetUnsigned ( unsigned *  out,
const std::string &  arg_name,
unsigned  default_value,
const std::map< std::string, std::string > &  args 
)

Definition at line 82 of file args.cc.

◆ ParseKeyValueArguments()

bool ParseKeyValueArguments ( std::map< std::string, std::string > *  out_args,
const std::vector< std::string > &  args,
const struct argument templates 
)

Definition at line 27 of file args.cc.

◆ PrintUsage()

void PrintUsage ( const struct argument templates)

Definition at line 75 of file args.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:03