#include <Request.hxx>
|
| constexpr | Request (const char *const *argv, size_type n) |
| |
| constexpr const char * | GetOptional (unsigned idx, const char *default_value=nullptr) const |
| |
| gcc_pure int | ParseInt (unsigned idx) const |
| |
| gcc_pure int | ParseInt (unsigned idx, int min_value, int max_value) const |
| |
| gcc_pure int | ParseUnsigned (unsigned idx) const |
| |
| gcc_pure int | ParseUnsigned (unsigned idx, unsigned max_value) const |
| |
| gcc_pure bool | ParseBool (unsigned idx) const |
| |
| gcc_pure RangeArg | ParseRange (unsigned idx) const |
| |
| gcc_pure float | ParseFloat (unsigned idx) const |
| |
| gcc_pure SongTime | ParseSongTime (unsigned idx) const |
| |
| gcc_pure SignedSongTime | ParseSignedSongTime (unsigned idx) const |
| |
| gcc_pure int | ParseOptional (unsigned idx, int default_value) const |
| |
| gcc_pure RangeArg | ParseOptional (unsigned idx, RangeArg default_value) const |
| |
| | ConstBuffer ()=default |
| |
| constexpr | ConstBuffer (std::nullptr_t) |
| |
| constexpr | ConstBuffer (pointer_type _data, size_type _size) |
| |
| constexpr ConstBuffer< void > | ToVoid () const |
| |
| constexpr bool | IsNull () const |
| |
| constexpr bool | IsEmpty () const |
| |
| gcc_pure bool | Contains (U &&u) const |
| |
| constexpr iterator | begin () const |
| |
| constexpr iterator | end () const |
| |
| constexpr const_iterator | cbegin () const |
| |
| constexpr const_iterator | cend () const |
| |
| reference_type | operator[] (size_type i) const |
| |
| reference_type | front () const |
| | Returns a reference to the first element. More...
|
| |
| reference_type | back () const |
| | Returns a reference to the last element. More...
|
| |
| void | pop_front () |
| | Remove the first element (by moving the head pointer, does not actually modify the buffer). More...
|
| |
| void | pop_back () |
| | Remove the last element (by moving the tail pointer, does not actually modify the buffer). More...
|
| |
| reference_type | shift () |
| | Remove the first element and return a reference to it. More...
|
| |
| void | skip_front (size_type n) |
| |
| void | MoveFront (pointer_type new_data) |
| | Move the front pointer to the given address, and adjust the size attribute to retain the old end address. More...
|
| |
Definition at line 34 of file Request.hxx.
| constexpr Request::Request |
( |
const char *const * |
argv, |
|
|
size_type |
n |
|
) |
| |
|
inline |
| constexpr const char* Request::GetOptional |
( |
unsigned |
idx, |
|
|
const char * |
default_value = nullptr |
|
) |
| const |
|
inline |
| gcc_pure bool Request::ParseBool |
( |
unsigned |
idx | ) |
const |
|
inline |
| gcc_pure float Request::ParseFloat |
( |
unsigned |
idx | ) |
const |
|
inline |
| gcc_pure int Request::ParseInt |
( |
unsigned |
idx | ) |
const |
|
inline |
| gcc_pure int Request::ParseInt |
( |
unsigned |
idx, |
|
|
int |
min_value, |
|
|
int |
max_value |
|
) |
| const |
|
inline |
| gcc_pure int Request::ParseOptional |
( |
unsigned |
idx, |
|
|
int |
default_value |
|
) |
| const |
|
inline |
| gcc_pure int Request::ParseUnsigned |
( |
unsigned |
idx | ) |
const |
|
inline |
| gcc_pure int Request::ParseUnsigned |
( |
unsigned |
idx, |
|
|
unsigned |
max_value |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file: