MPD  0.20.15
Public Member Functions | Data Fields
BlockParam Struct Reference

#include <Block.hxx>

Public Member Functions

gcc_nonnull_all BlockParam (const char *_name, const char *_value, int _line=-1)
 
int GetIntValue () const
 
unsigned GetUnsignedValue () const
 
bool GetBoolValue () const
 

Data Fields

std::string name
 
std::string value
 
int line
 
bool used
 This flag is false when nobody has queried the value of this option yet. More...
 

Detailed Description

Definition at line 32 of file Block.hxx.

Constructor & Destructor Documentation

◆ BlockParam()

gcc_nonnull_all BlockParam::BlockParam ( const char *  _name,
const char *  _value,
int  _line = -1 
)
inline

Definition at line 44 of file Block.hxx.

Member Function Documentation

◆ GetBoolValue()

bool BlockParam::GetBoolValue ( ) const

◆ GetIntValue()

int BlockParam::GetIntValue ( ) const

◆ GetUnsignedValue()

unsigned BlockParam::GetUnsignedValue ( ) const

Field Documentation

◆ line

int BlockParam::line

Definition at line 35 of file Block.hxx.

◆ name

std::string BlockParam::name

Definition at line 33 of file Block.hxx.

◆ used

bool BlockParam::used
mutable

This flag is false when nobody has queried the value of this option yet.

Definition at line 41 of file Block.hxx.

◆ value

std::string BlockParam::value

Definition at line 34 of file Block.hxx.


The documentation for this struct was generated from the following file: