Android-cuttlefish cvd tool
Namespaces | Macros | Functions
utils.h File Reference
#include <algorithm>
#include <sstream>
#include <string>
#include <type_traits>
#include <vector>
#include <android-base/logging.h>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::confui
 

Macros

#define ConfUiLog(LOG_LEVEL)   LOG(LOG_LEVEL) << "ConfUI: "
 
#define ConfUiCheck(cond)   CHECK(cond) << "ConfUI: "
 

Functions

template<typename T >
constexpr std::underlying_type_t< T > cuttlefish::Enum2Base (T t)
 
template<typename Delim , typename... Args>
std::string cuttlefish::confui::ArgsToStringWithDelim (Delim &&delim, Args &&... args)
 
template<typename... Args>
std::string cuttlefish::confui::ArgsToString (Args &&... args)
 
bool cuttlefish::confui::IsOnlyDigits (const std::string &src)
 

Macro Definition Documentation

◆ ConfUiCheck

#define ConfUiCheck (   cond)    CHECK(cond) << "ConfUI: "

◆ ConfUiLog

#define ConfUiLog (   LOG_LEVEL)    LOG(LOG_LEVEL) << "ConfUI: "