#include <css_value_flex_basis.h>

+ Inheritance diagram for clan::CSSValueFlexBasis:

Public Types

enum  Type { type_length, type_percentage, type_auto, type_inherit }
 

Public Member Functions

 CSSValueFlexBasis ()
 
void apply (CSSComputedValuesUpdater *updater)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueFlexBasis *parent, CSSResourceCache *layout, float em_size, float ex_size)
 
std::string get_name () const
 
std::string to_string () const
 
- Public Member Functions inherited from clan::CSSPropertyValue
virtual ~CSSPropertyValue ()
 

Public Attributes

CSSLength length
 
float percentage
 
Type type
 

Member Enumeration Documentation

◆ Type

Enumerator
type_length 
type_percentage 
type_auto 
type_inherit 

Constructor & Destructor Documentation

◆ CSSValueFlexBasis()

clan::CSSValueFlexBasis::CSSValueFlexBasis ( )

Member Function Documentation

◆ apply()

void clan::CSSValueFlexBasis::apply ( CSSComputedValuesUpdater updater)
virtual

◆ clone()

std::unique_ptr<CSSPropertyValue> clan::CSSValueFlexBasis::clone ( ) const
virtual

◆ compute()

void clan::CSSValueFlexBasis::compute ( const CSSValueFlexBasis parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size 
)

◆ get_name()

std::string clan::CSSValueFlexBasis::get_name ( ) const
virtual

◆ to_string()

std::string clan::CSSValueFlexBasis::to_string ( ) const
virtual

Member Data Documentation

◆ length

CSSLength clan::CSSValueFlexBasis::length

◆ percentage

float clan::CSSValueFlexBasis::percentage

◆ type

Type clan::CSSValueFlexBasis::type

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