Android-cuttlefish cvd tool
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
cuttlefish::VhostUserBlockFlag Class Reference

#include <vhost_user_block.h>

Inheritance diagram for cuttlefish::VhostUserBlockFlag:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::VhostUserBlockFlag:
Collaboration graph
[legend]

Public Member Functions

 ~VhostUserBlockFlag () override=default
 
- Public Member Functions inherited from cuttlefish::FlagBase< bool >
bool ForIndex (const size_t index) const
 
bool IsDefault () const
 
bool IsDefaultForIndex (const size_t index) const
 
size_t Size () const
 
const std::vector< bool > & AsVector () const
 

Static Public Member Functions

static Result< VhostUserBlockFlag > FromGlobalGflags (const VmManagerFlag &)
 

Private Member Functions

 VhostUserBlockFlag (std::vector< bool > flag_values, bool is_default)
 

Additional Inherited Members

- Protected Member Functions inherited from cuttlefish::FlagBase< bool >
 FlagBase (std::vector< bool > flag_values, bool is_default, std::vector< bool > is_default_values={})
 
virtual ~FlagBase ()=0
 

Constructor & Destructor Documentation

◆ ~VhostUserBlockFlag()

cuttlefish::VhostUserBlockFlag::~VhostUserBlockFlag ( )
overridedefault

◆ VhostUserBlockFlag()

cuttlefish::VhostUserBlockFlag::VhostUserBlockFlag ( std::vector< bool >  flag_values,
bool  is_default 
)
explicitprivate

Member Function Documentation

◆ FromGlobalGflags()

Result< VhostUserBlockFlag > cuttlefish::VhostUserBlockFlag::FromGlobalGflags ( const VmManagerFlag &  vm_manager)
static

The documentation for this class was generated from the following files: