MPD: protocol/ArgParser.hxx File Reference

MPD 0.20.18

Data Structures | Functions
ArgParser.hxx File Reference
`#include "check.h"`
`#include <limits>`
`#include <stdint.h>`
Include dependency graph for ArgParser.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | RangeArg

## Functions
uint32_t | ParseCommandArgU32 (const char *s)
int | ParseCommandArgInt (const char *s, int min_value, int max_value)
int | ParseCommandArgInt (const char *s)
RangeArg | ParseCommandArgRange (const char *s)
unsigned | ParseCommandArgUnsigned (const char *s, unsigned max_value)
unsigned | ParseCommandArgUnsigned (const char *s)
bool | ParseCommandArgBool (const char *s)
float | ParseCommandArgFloat (const char *s)
SongTime | ParseCommandArgSongTime (const char *s)
SignedSongTime | ParseCommandArgSignedSongTime (const char *s)

## Function Documentation

## ◆ ParseCommandArgBool()

bool ParseCommandArgBool | ( | const char * | s | ) |

## ◆ ParseCommandArgFloat()

float ParseCommandArgFloat | ( | const char * | s | ) |

## ◆ ParseCommandArgInt() [1/2]

int ParseCommandArgInt | ( | const char * | s,
|  | int | min_value,
|  | int | max_value
| ) |  |

## ◆ ParseCommandArgInt() [2/2]

int ParseCommandArgInt | ( | const char * | s | ) |

## ◆ ParseCommandArgRange()

RangeArg ParseCommandArgRange | ( | const char * | s | ) |

## ◆ ParseCommandArgSignedSongTime()

SignedSongTime ParseCommandArgSignedSongTime | ( | const char * | s | ) |

## ◆ ParseCommandArgSongTime()

SongTime ParseCommandArgSongTime | ( | const char * | s | ) |

## ◆ ParseCommandArgU32()

uint32_t ParseCommandArgU32 | ( | const char * | s | ) |

## ◆ ParseCommandArgUnsigned() [1/2]

unsigned ParseCommandArgUnsigned | ( | const char * | s,
|  | unsigned | max_value
| ) |  |

## ◆ ParseCommandArgUnsigned() [2/2]

unsigned ParseCommandArgUnsigned | ( | const char * | s | ) |