Android-cuttlefish cvd tool
Namespaces | Functions
flag.cpp File Reference
#include "cuttlefish/flag_parser/flag.h"
#include <algorithm>
#include <cstddef>
#include <functional>
#include <iostream>
#include <ostream>
#include <span>
#include <string>
#include <string_view>
#include <unordered_set>
#include <utility>
#include <vector>
#include "absl/cleanup/cleanup.h"
#include "absl/log/check.h"
#include "absl/strings/ascii.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "absl/strings/str_replace.h"
#include "absl/strings/str_split.h"
#include "absl/strings/strip.h"
#include "cuttlefish/common/libs/utils/contains.h"
#include "cuttlefish/result/result.h"
Include dependency graph for flag.cpp:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{flag.cpp}
 

Functions

bool cuttlefish::anonymous_namespace{flag.cpp}::ConsumeDashes (std::string_view &flag_arg)
 
bool cuttlefish::anonymous_namespace{flag.cpp}::MatchNormalized (std::string_view str1, std::string_view str2)
 
std::string cuttlefish::anonymous_namespace{flag.cpp}::DefaultValueNameHint (std::string_view name)
 
std::ostream & cuttlefish::operator<< (std::ostream &out, const Flag &flag)
 
Result< void > cuttlefish::ConsumeFlags (const std::vector< Flag > &flags, std::vector< std::string > &args, ConsumeFlagsOpts opts)
 
Result< void > cuttlefish::ConsumeFlags (const std::vector< Flag > &flags, std::vector< std::string > &&args, ConsumeFlagsOpts opts)