Android-cuttlefish cvd tool
Namespaces | Functions | Variables
parse.cc File Reference
#include "cuttlefish/host/commands/snapshot_util_cvd/parse.h"
#include <cstdlib>
#include <iostream>
#include <unordered_map>
#include <android-base/parseint.h>
#include <android-base/strings.h>
#include "cuttlefish/common/libs/utils/contains.h"
#include "cuttlefish/common/libs/utils/flag_parser.h"
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/libs/config/cuttlefish_config.h"
Include dependency graph for parse.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{parse.cc}
 

Functions

Flag cuttlefish::anonymous_namespace{parse.cc}::SnapshotCmdFlag (std::string &value_buf)
 
Flag cuttlefish::anonymous_namespace{parse.cc}::GetInt32Flag (const std::string &name, int &value_buf, const std::string &help_msg)
 
Flag cuttlefish::anonymous_namespace{parse.cc}::WaitForLauncherFlag (int &wait_for_launcher)
 
Flag cuttlefish::anonymous_namespace{parse.cc}::SnapshotPathFlag (std::string &path_buf)
 
Flag cuttlefish::anonymous_namespace{parse.cc}::CleanupSnapshotPathFlag (bool &cleanup)
 
Result< Parsed > cuttlefish::Parse (int argc, char **argv)
 
Result< SnapshotCmd > cuttlefish::ConvertToSnapshotCmd (const std::string &input)
 
static Result< std::vector< int > > cuttlefish::InstanceNums ()
 
Result< Parsed > cuttlefish::Parse (std::vector< std::string > &args)
 
std::ostream & cuttlefish::operator<< (std::ostream &out, const SnapshotCmd &cmd)
 

Variables

constexpr char cuttlefish::anonymous_namespace{parse.cc}::snapshot_cmd_help []
 
constexpr char cuttlefish::anonymous_namespace{parse.cc}::cleanup_snapshot_path_help []
 
constexpr char cuttlefish::anonymous_namespace{parse.cc}::wait_for_launcher_help []
 
constexpr char cuttlefish::anonymous_namespace{parse.cc}::snapshot_path_help []