Namespaces | Macros | Functions
parse.cc File Reference
#include "absl/flags/parse.h"
#include <stdlib.h>
#include <fstream>
#include <iostream>
#include <tuple>
#include "absl/flags/flag.h"
#include "absl/flags/internal/program_name.h"
#include "absl/flags/internal/registry.h"
#include "absl/flags/internal/usage.h"
#include "absl/flags/usage_config.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/strip.h"
#include "absl/synchronization/mutex.h"
Include dependency graph for parse.cc:

Go to the source code of this file.

Namespaces

 absl
 
 absl::flags_internal
 

Macros

#define IGNORE_TYPE(T)   if (flag->IsOfType<T>()) return;
 

Functions

 ABSL_FLAG (std::vector< std::string >, flagfile,{},"comma-separated list of files to load flags from").OnUpdate([]()
 
 ABSL_FLAG (std::vector< std::string >, fromenv,{},"comma-separated list of flags to set from the environment"" [use 'export FLAGS_flag1=value']").OnUpdate([]()
 
 ABSL_FLAG (std::vector< std::string >, tryfromenv,{},"comma-separated list of flags to try to set from the environment if ""present").OnUpdate([]()
 
 ABSL_FLAG (std::vector< std::string >, undefok,{},"comma-separated list of flag names that it is okay to specify ""on the command line even if the program does not define a flag ""with that name")
 
std::vector< char * > absl::ParseCommandLine (int argc, char *argv[])
 
std::vector< char * > absl::flags_internal::ParseCommandLineImpl (int argc, char *argv[], ArgvListAction arg_list_act, UsageFlagsAction usage_flag_act, OnUndefinedFlag on_undef_flag)
 

Macro Definition Documentation

#define IGNORE_TYPE (   T)    if (flag->IsOfType<T>()) return;

Function Documentation

ABSL_FLAG ( std::vector< std::string >  ,
flagfile  ,
{}  ,
"comma-separated list of files to load flags from  
)

Definition at line 55 of file parse.cc.

ABSL_FLAG ( std::vector< std::string >  ,
fromenv  ,
{}  ,
"comma-separated list of flags to set from the environment"" "  [use 'export FLAGS_flag1=value'] 
)

Definition at line 70 of file parse.cc.

ABSL_FLAG ( std::vector< std::string >  ,
tryfromenv  ,
{}  ,
"comma-separated list of flags to try to set from the environment if ""present"   
)

Definition at line 86 of file parse.cc.

ABSL_FLAG ( std::vector< std::string >  ,
undefok  ,
{}  ,
"comma-separated list of flag names that it is okay to specify ""on the command line even if the program does not define a flag ""with that name  
)

Variable Documentation

std::vector<std::string> args_
private

Definition at line 130 of file parse.cc.

int next_arg_
private

Definition at line 131 of file parse.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59