webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | List of all members
WebCore::BoxExtent< T > Class Template Reference

#include <LengthBox.h>

Public Member Functions

 BoxExtent ()
 
 BoxExtent (const T &top, const T &right, const T &bottom, const T &left)
 
 BoxExtent (T &&top, T &&right, T &&bottom, T &&left)
 
T & at (PhysicalBoxSide side)
 
T & top ()
 
T & right ()
 
T & bottom ()
 
T & left ()
 
const T & at (PhysicalBoxSide side) const
 
const T & top () const
 
const T & right () const
 
const T & bottom () const
 
const T & left () const
 
void setAt (PhysicalBoxSide side, const T &v)
 
void setTop (const T &top)
 
void setRight (const T &right)
 
void setBottom (const T &bottom)
 
void setLeft (const T &left)
 
T & before (WritingMode writingMode)
 
T & after (WritingMode writingMode)
 
T & start (WritingMode writingMode, TextDirection direction=LTR)
 
T & end (WritingMode writingMode, TextDirection direction=LTR)
 
const T & before (WritingMode writingMode) const
 
const T & after (WritingMode writingMode) const
 
const T & start (WritingMode writingMode, TextDirection direction=LTR) const
 
const T & end (WritingMode writingMode, TextDirection direction=LTR) const
 
void setBefore (const T &before, WritingMode writingMode)
 
void setAfter (const T &after, WritingMode writingMode)
 
void setStart (const T &start, WritingMode writingMode, TextDirection direction=LTR)
 
void setEnd (const T &end, WritingMode writingMode, TextDirection direction=LTR)
 
bool operator== (const BoxExtent &other) const
 
bool operator!= (const BoxExtent &other) const
 
 BoxExtent ()
 
 BoxExtent (const T &top, const T &right, const T &bottom, const T &left)
 
 BoxExtent (T &&top, T &&right, T &&bottom, T &&left)
 
T & at (PhysicalBoxSide side)
 
T & top ()
 
T & right ()
 
T & bottom ()
 
T & left ()
 
const T & at (PhysicalBoxSide side) const
 
const T & top () const
 
const T & right () const
 
const T & bottom () const
 
const T & left () const
 
void setAt (PhysicalBoxSide side, const T &v)
 
void setTop (const T &top)
 
void setRight (const T &right)
 
void setBottom (const T &bottom)
 
void setLeft (const T &left)
 
T & before (WritingMode writingMode)
 
T & after (WritingMode writingMode)
 
T & start (WritingMode writingMode, TextDirection direction=LTR)
 
T & end (WritingMode writingMode, TextDirection direction=LTR)
 
const T & before (WritingMode writingMode) const
 
const T & after (WritingMode writingMode) const
 
const T & start (WritingMode writingMode, TextDirection direction=LTR) const
 
const T & end (WritingMode writingMode, TextDirection direction=LTR) const
 
void setBefore (const T &before, WritingMode writingMode)
 
void setAfter (const T &after, WritingMode writingMode)
 
void setStart (const T &start, WritingMode writingMode, TextDirection direction=LTR)
 
void setEnd (const T &end, WritingMode writingMode, TextDirection direction=LTR)
 
bool operator== (const BoxExtent &other) const
 
bool operator!= (const BoxExtent &other) const
 

Protected Attributes

std::array< T, 4 > m_sides
 

Constructor & Destructor Documentation

◆ BoxExtent() [1/6]

template<typename T>
WebCore::BoxExtent< T >::BoxExtent ( )
inline

◆ BoxExtent() [2/6]

template<typename T>
WebCore::BoxExtent< T >::BoxExtent ( const T &  top,
const T &  right,
const T &  bottom,
const T &  left 
)
inline

◆ BoxExtent() [3/6]

template<typename T>
WebCore::BoxExtent< T >::BoxExtent ( T &&  top,
T &&  right,
T &&  bottom,
T &&  left 
)
inline

◆ BoxExtent() [4/6]

template<typename T>
WebCore::BoxExtent< T >::BoxExtent ( )
inline

◆ BoxExtent() [5/6]

template<typename T>
WebCore::BoxExtent< T >::BoxExtent ( const T &  top,
const T &  right,
const T &  bottom,
const T &  left 
)
inline

◆ BoxExtent() [6/6]

template<typename T>
WebCore::BoxExtent< T >::BoxExtent ( T &&  top,
T &&  right,
T &&  bottom,
T &&  left 
)
inline

Member Function Documentation

◆ after() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::after ( WritingMode  writingMode)
inline

◆ after() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::after ( WritingMode  writingMode)
inline

◆ after() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::after ( WritingMode  writingMode) const
inline

◆ after() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::after ( WritingMode  writingMode) const
inline

◆ at() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::at ( PhysicalBoxSide  side)
inline

◆ at() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::at ( PhysicalBoxSide  side)
inline

◆ at() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::at ( PhysicalBoxSide  side) const
inline

◆ at() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::at ( PhysicalBoxSide  side) const
inline

◆ before() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::before ( WritingMode  writingMode)
inline

◆ before() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::before ( WritingMode  writingMode)
inline

◆ before() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::before ( WritingMode  writingMode) const
inline

◆ before() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::before ( WritingMode  writingMode) const
inline

◆ bottom() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::bottom ( )
inline

◆ bottom() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::bottom ( )
inline

◆ bottom() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::bottom ( ) const
inline

◆ bottom() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::bottom ( ) const
inline

◆ end() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::end ( WritingMode  writingMode,
TextDirection  direction = LTR 
)
inline

◆ end() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::end ( WritingMode  writingMode,
TextDirection  direction = LTR 
)
inline

◆ end() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::end ( WritingMode  writingMode,
TextDirection  direction = LTR 
) const
inline

◆ end() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::end ( WritingMode  writingMode,
TextDirection  direction = LTR 
) const
inline

◆ left() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::left ( )
inline

◆ left() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::left ( )
inline

◆ left() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::left ( ) const
inline

◆ left() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::left ( ) const
inline

◆ operator!=() [1/2]

template<typename T>
bool WebCore::BoxExtent< T >::operator!= ( const BoxExtent< T > &  other) const
inline

◆ operator!=() [2/2]

template<typename T>
bool WebCore::BoxExtent< T >::operator!= ( const BoxExtent< T > &  other) const
inline

◆ operator==() [1/2]

template<typename T>
bool WebCore::BoxExtent< T >::operator== ( const BoxExtent< T > &  other) const
inline

◆ operator==() [2/2]

template<typename T>
bool WebCore::BoxExtent< T >::operator== ( const BoxExtent< T > &  other) const
inline

◆ right() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::right ( )
inline

◆ right() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::right ( )
inline

◆ right() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::right ( ) const
inline

◆ right() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::right ( ) const
inline

◆ setAfter() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setAfter ( const T &  after,
WritingMode  writingMode 
)
inline

◆ setAfter() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setAfter ( const T &  after,
WritingMode  writingMode 
)
inline

◆ setAt() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setAt ( PhysicalBoxSide  side,
const T &  v 
)
inline

◆ setAt() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setAt ( PhysicalBoxSide  side,
const T &  v 
)
inline

◆ setBefore() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setBefore ( const T &  before,
WritingMode  writingMode 
)
inline

◆ setBefore() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setBefore ( const T &  before,
WritingMode  writingMode 
)
inline

◆ setBottom() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setBottom ( const T &  bottom)
inline

◆ setBottom() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setBottom ( const T &  bottom)
inline

◆ setEnd() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setEnd ( const T &  end,
WritingMode  writingMode,
TextDirection  direction = LTR 
)
inline

◆ setEnd() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setEnd ( const T &  end,
WritingMode  writingMode,
TextDirection  direction = LTR 
)
inline

◆ setLeft() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setLeft ( const T &  left)
inline

◆ setLeft() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setLeft ( const T &  left)
inline

◆ setRight() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setRight ( const T &  right)
inline

◆ setRight() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setRight ( const T &  right)
inline

◆ setStart() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setStart ( const T &  start,
WritingMode  writingMode,
TextDirection  direction = LTR 
)
inline

◆ setStart() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setStart ( const T &  start,
WritingMode  writingMode,
TextDirection  direction = LTR 
)
inline

◆ setTop() [1/2]

template<typename T>
void WebCore::BoxExtent< T >::setTop ( const T &  top)
inline

◆ setTop() [2/2]

template<typename T>
void WebCore::BoxExtent< T >::setTop ( const T &  top)
inline

◆ start() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::start ( WritingMode  writingMode,
TextDirection  direction = LTR 
)
inline

◆ start() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::start ( WritingMode  writingMode,
TextDirection  direction = LTR 
)
inline

◆ start() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::start ( WritingMode  writingMode,
TextDirection  direction = LTR 
) const
inline

◆ start() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::start ( WritingMode  writingMode,
TextDirection  direction = LTR 
) const
inline

◆ top() [1/4]

template<typename T>
T& WebCore::BoxExtent< T >::top ( )
inline

◆ top() [2/4]

template<typename T>
T& WebCore::BoxExtent< T >::top ( )
inline

◆ top() [3/4]

template<typename T>
const T& WebCore::BoxExtent< T >::top ( ) const
inline

◆ top() [4/4]

template<typename T>
const T& WebCore::BoxExtent< T >::top ( ) const
inline

Member Data Documentation

◆ m_sides

template<typename T>
std::array< T, 4 > WebCore::BoxExtent< T >::m_sides
protected

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