Android-cuttlefish cvd tool
Namespaces | Functions
cf_configs_common.h File Reference
#include <string>
#include <type_traits>
#include <vector>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <google/protobuf/message.h>
#include <json/json.h>
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/commands/cvd/cli/parser/load_config.pb.h"
Include dependency graph for cf_configs_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 

Functions

template<typename T >
std::string cuttlefish::GenerateFlag (const std::string &name, const T &value)
 
template<typename T >
std::string cuttlefish::GenerateVecFlag (const std::string &name, const T &collection)
 
template<typename T >
std::string cuttlefish::GenerateInstanceFlag (const std::string &name, const cvd::config::EnvironmentSpecification &config, T callback)
 
template<typename T >
Result< std::string > cuttlefish::ResultInstanceFlag (const std::string &name, const cvd::config::EnvironmentSpecification &config, T callback)
 
std::vector< std::string > cuttlefish::MergeResults (std::vector< std::string > first_list, std::vector< std::string > scond_list)
 
void cuttlefish::MergeTwoJsonObjs (Json::Value &dst, const Json::Value &src)
 This function merges two json objects and override json tree in dst with src json keys. More...