Euphoria
eu::StringParser< Lrud< T > > Struct Template Reference

Parses a Lrud according to the CSS spec. More...

#include <lrud.h>

Public Types

enum  { value = 1 }
 
using Self = Lrud< T >
 

Static Public Member Functions

static std::string to_string (const Self &fw)
 
static Result< Selfparse (const std::string &value)
 

Static Public Attributes

static constexpr char separator = '/'
 

Detailed Description

template<typename T>
struct eu::StringParser< Lrud< T > >

Parses a Lrud according to the CSS spec.

Either all, ver/hor or up/right/down/left

Definition at line 98 of file lrud.h.

Member Typedef Documentation

◆ Self

template<typename T >
using eu::StringParser< Lrud< T > >::Self = Lrud<T>

Definition at line 102 of file lrud.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 100 of file lrud.h.

Member Function Documentation

◆ parse()

template<typename T >
static Result<Self> eu::StringParser< Lrud< T > >::parse ( const std::string &  value)
inlinestatic

Definition at line 123 of file lrud.h.

◆ to_string()

template<typename T >
static std::string eu::StringParser< Lrud< T > >::to_string ( const Self fw)
inlinestatic

Definition at line 108 of file lrud.h.

Member Data Documentation

◆ separator

template<typename T >
constexpr char eu::StringParser< Lrud< T > >::separator = '/'
staticconstexpr

Definition at line 104 of file lrud.h.


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