Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
commandlineflag.h File Reference
#include <atomic>
#include "absl/base/macros.h"
#include "absl/flags/marshalling.h"
#include "absl/synchronization/mutex.h"
#include "absl/types/optional.h"
Include dependency graph for commandlineflag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  absl::flags_internal::CommandLineFlag
 
struct  absl::flags_internal::CommandLineFlagLocks
 
class  absl::flags_internal::HelpText
 

Namespaces

 absl
 
 absl::flags_internal
 

Macros

#define ABSL_FLAGS_INTERNAL_FOR_EACH_LOCK_FREE(A)
 

Typedefs

using absl::flags_internal::FlagCallback) = void(*)(
 
using absl::flags_internal::FlagMarshallingOpFn = void *(*)(FlagOp, const void *, void *, void *)
 
using absl::flags_internal::FlagOpFn = void *(*)(FlagOp, const void *, void *)
 
using absl::flags_internal::HelpGenFunc) = std::string(*)(
 
using absl::flags_internal::InitialValGenFunc) = void *(*)(
 

Enumerations

enum  absl::flags_internal::FlagOp {
  absl::flags_internal::kDelete, absl::flags_internal::kClone, absl::flags_internal::kCopy, absl::flags_internal::kCopyConstruct,
  absl::flags_internal::kSizeof, absl::flags_internal::kParse, absl::flags_internal::kUnparse
}
 
enum  absl::flags_internal::FlagSettingMode { absl::flags_internal::SET_FLAGS_VALUE, absl::flags_internal::SET_FLAG_IF_DEFAULT, absl::flags_internal::SET_FLAGS_DEFAULT }
 
enum  absl::flags_internal::ValueSource { absl::flags_internal::kCommandLine, absl::flags_internal::kProgrammaticChange }
 

Functions

bool absl::flags_internal::ChangedDirectly (CommandLineFlag *flag, const void *a, const void *b)
 
void * absl::flags_internal::Clone (FlagOpFn op, const void *obj)
 
void absl::flags_internal::Copy (FlagOpFn op, const void *src, void *dst)
 
void absl::flags_internal::CopyConstruct (FlagOpFn op, const void *src, void *dst)
 
void absl::flags_internal::Delete (FlagOpFn op, const void *obj)
 
template<typename T >
void * absl::flags_internal::FlagMarshallingOps (FlagOp op, const void *v1, void *v2, void *v3)
 
template<typename T >
void * absl::flags_internal::FlagOps (FlagOp op, const void *v1, void *v2)
 
absl::Mutexabsl::flags_internal::InitFlagIfNecessary (CommandLineFlag *flag) LOCK_RETURNED(flag-> locks->primary_mu)
 
bool absl::flags_internal::Parse (FlagMarshallingOpFn op, absl::string_view text, void *dst, std::string *error)
 
size_t absl::flags_internal::Sizeof (FlagOpFn op)
 
std::string absl::flags_internal::Unparse (FlagMarshallingOpFn op, const void *val)
 
void absl::flags_internal::UpdateCopy (CommandLineFlag *flag, absl::Mutex *primary_lock) EXCLUSIVE_LOCKS_REQUIRED(primary_lock)
 
void absl::flags_internal::UpdateModifiedBit (CommandLineFlag *flag)
 
bool absl::flags_internal::Validate (CommandLineFlag *, const void *)
 

Macro Definition Documentation

#define ABSL_FLAGS_INTERNAL_FOR_EACH_LOCK_FREE (   A)
Value:
A(bool) \
A(short) \
A(unsigned short) \
A(int) \
A(unsigned int) \
A(long) \
A(unsigned long) \
A(long long) \
A(unsigned long long) \
A(double) \
A(float)

Definition at line 349 of file commandlineflag.h.



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