#include <commandlineflag.h>
|
| ABSL_DEPRECATED ("temporary until FlagName call sites are migrated and validator API is ""changed") const char *NameAsCString() const |
|
constexpr | CommandLineFlag (const char *name_arg, HelpText help_text, const char *filename_arg, const flags_internal::FlagOpFn op_arg, const flags_internal::FlagMarshallingOpFn marshalling_op_arg, const flags_internal::InitialValGenFunc initial_value_gen, const bool retired_arg, void *def_arg, void *cur_arg) |
|
| CommandLineFlag (const CommandLineFlag &)=delete |
|
std::string | CurrentValue () const |
|
std::string | DefaultValue () const |
|
std::string | Filename () const |
|
template<typename T > |
absl::optional< T > | Get () |
|
std::string | Help () const |
|
bool | IsAbseilFlag () const |
|
template<typename T > |
bool | IsOfType () const |
|
bool | IsRetired () const |
|
bool | IsSpecifiedOnCommandLine () const |
|
absl::string_view | Name () const |
|
CommandLineFlag & | operator= (const CommandLineFlag &)=delete |
|
void | Read (void *dst, const flags_internal::FlagOpFn dst_op) const |
|
void | SetCallback (const flags_internal::FlagCallback mutation_callback) |
|
bool | SetFromString (absl::string_view value, flags_internal::FlagSettingMode set_mode, flags_internal::ValueSource source, std::string *error) |
|
absl::string_view | Typename () const |
|
void | Write (const void *src, const flags_internal::FlagOpFn src_op) |
|
|
static const int64_t | kAtomicInit = 0xababababababababll |
|
Definition at line 195 of file commandlineflag.h.
absl::flags_internal::CommandLineFlag::CommandLineFlag |
( |
const CommandLineFlag & |
| ) |
|
|
delete |
absl::flags_internal::CommandLineFlag::ABSL_DEPRECATED |
( |
"temporary until FlagName call sites are migrated and validator API is ""changed" |
| ) |
const |
|
inline |
std::string absl::flags_internal::CommandLineFlag::CurrentValue |
( |
| ) |
const |
std::string absl::flags_internal::CommandLineFlag::DefaultValue |
( |
| ) |
const |
std::string absl::flags_internal::CommandLineFlag::Filename |
( |
| ) |
const |
std::string absl::flags_internal::CommandLineFlag::Help |
( |
| ) |
const |
|
inline |
bool absl::flags_internal::CommandLineFlag::IsAbseilFlag |
( |
| ) |
const |
|
inline |
template<typename T >
bool absl::flags_internal::CommandLineFlag::IsOfType |
( |
| ) |
const |
|
inline |
bool absl::flags_internal::CommandLineFlag::IsRetired |
( |
| ) |
const |
|
inline |
bool absl::flags_internal::CommandLineFlag::IsSpecifiedOnCommandLine |
( |
| ) |
const |
|
inline |
std::atomic<int64_t> absl::flags_internal::CommandLineFlag::atomic |
FlagCallback absl::flags_internal::CommandLineFlag::callback |
int64_t absl::flags_internal::CommandLineFlag::counter |
void* absl::flags_internal::CommandLineFlag::cur |
void* absl::flags_internal::CommandLineFlag::def |
const char* const absl::flags_internal::CommandLineFlag::filename |
|
private |
const HelpText absl::flags_internal::CommandLineFlag::help |
|
private |
std::atomic<bool> absl::flags_internal::CommandLineFlag::inited |
const int64_t absl::flags_internal::CommandLineFlag::kAtomicInit = 0xababababababababll |
|
static |
bool absl::flags_internal::CommandLineFlag::modified |
const char* const absl::flags_internal::CommandLineFlag::name |
|
private |
bool absl::flags_internal::CommandLineFlag::on_command_line |
const FlagOpFn absl::flags_internal::CommandLineFlag::op |
const bool absl::flags_internal::CommandLineFlag::retired |
bool(* absl::flags_internal::CommandLineFlag::validator) () |
The documentation for this struct was generated from the following files: