#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.
◆ CommandLineFlag() [1/2]
◆ CommandLineFlag() [2/2]
absl::flags_internal::CommandLineFlag::CommandLineFlag |
( |
const CommandLineFlag & |
| ) |
|
|
delete |
◆ ABSL_DEPRECATED()
absl::flags_internal::CommandLineFlag::ABSL_DEPRECATED |
( |
"temporary until FlagName call sites are migrated and validator API is " "changed" |
| ) |
const |
|
inline |
◆ CurrentValue()
std::string absl::flags_internal::CommandLineFlag::CurrentValue |
( |
| ) |
const |
◆ DefaultValue()
std::string absl::flags_internal::CommandLineFlag::DefaultValue |
( |
| ) |
const |
◆ Filename()
std::string absl::flags_internal::CommandLineFlag::Filename |
( |
| ) |
const |
◆ Get()
◆ Help()
std::string absl::flags_internal::CommandLineFlag::Help |
( |
| ) |
const |
|
inline |
◆ IsAbseilFlag()
bool absl::flags_internal::CommandLineFlag::IsAbseilFlag |
( |
| ) |
const |
|
inline |
◆ IsOfType()
template<typename T >
bool absl::flags_internal::CommandLineFlag::IsOfType |
( |
| ) |
const |
|
inline |
◆ IsRetired()
bool absl::flags_internal::CommandLineFlag::IsRetired |
( |
| ) |
const |
|
inline |
◆ IsSpecifiedOnCommandLine()
bool absl::flags_internal::CommandLineFlag::IsSpecifiedOnCommandLine |
( |
| ) |
const |
|
inline |
◆ Name()
◆ operator=()
◆ Read()
◆ SetCallback()
◆ SetFromString()
◆ Typename()
◆ Write()
◆ FlagRegistry
◆ atomic
std::atomic<int64_t> absl::flags_internal::CommandLineFlag::atomic |
◆ callback
FlagCallback absl::flags_internal::CommandLineFlag::callback |
◆ counter
int64_t absl::flags_internal::CommandLineFlag::counter |
◆ cur
void* absl::flags_internal::CommandLineFlag::cur |
◆ def
void* absl::flags_internal::CommandLineFlag::def |
◆ filename
const char* const absl::flags_internal::CommandLineFlag::filename |
|
private |
◆ help
const HelpText absl::flags_internal::CommandLineFlag::help |
|
private |
◆ inited
std::atomic<bool> absl::flags_internal::CommandLineFlag::inited |
◆ kAtomicInit
const int64_t absl::flags_internal::CommandLineFlag::kAtomicInit = 0xababababababababll |
|
static |
◆ locks
◆ make_init_value
◆ marshalling_op
◆ modified
bool absl::flags_internal::CommandLineFlag::modified |
◆ name
const char* const absl::flags_internal::CommandLineFlag::name |
|
private |
◆ on_command_line
bool absl::flags_internal::CommandLineFlag::on_command_line |
◆ op
const FlagOpFn absl::flags_internal::CommandLineFlag::op |
◆ retired
const bool absl::flags_internal::CommandLineFlag::retired |
◆ validator
bool(* absl::flags_internal::CommandLineFlag::validator) () |
The documentation for this struct was generated from the following files: