1.9
Public Member Functions | Static Public Attributes | Friends | List of all members
AlignFlag Class Reference
Inheritance diagram for AlignFlag:
Inheritance graph
[legend]

Public Member Functions

constexpr AlignFlag (const ExpandBitField &field)
 
constexpr AlignFlag (const HExpandBitField &field)
 
constexpr AlignFlag (const HorizontalBitField &field)
 
constexpr AlignFlag (const HVBitField &field)
 
constexpr AlignFlag (const VerticalBitField &field)
 
constexpr AlignFlag (const VExpandBitField &field)
 
constexpr bool operator== (const AlignFlag &rhs) const
 

Static Public Attributes

static constexpr VerticalBitField bottom = VerticalBitField(3)
 
static constexpr HVBitField center = center_horizontal | center_vertical
 
static constexpr HorizontalBitField center_horizontal = HorizontalBitField(1)
 
static constexpr VerticalBitField center_vertical = VerticalBitField(1)
 
static constexpr ExpandBitField expand = expand_horizontal | expand_vertical
 
static constexpr ExpandBitField expand_horizontal = ExpandBitField(detail::bit(0))
 
static constexpr ExpandBitField expand_vertical = ExpandBitField(detail::bit(1))
 
static constexpr HorizontalBitField left = HorizontalBitField(2)
 
static constexpr HorizontalBitField right = HorizontalBitField(3)
 
static constexpr VerticalBitField top = VerticalBitField(2)
 

Friends

class BitFields< AlignFlag >
 
constexpr friend AlignFlag operator| (const AlignFlag &lhs, const ExpandBitField &rhs)
 
constexpr friend AlignFlag operator| (const ExpandBitField &lhs, const AlignFlag &rhs)
 
constexpr friend AlignFlag operator| (const ExpandBitField &lhs, const HVBitField &rhs)
 
constexpr friend AlignFlag operator| (const HExpandBitField &lhs, const VerticalBitField &rhs)
 
constexpr friend AlignFlag operator| (const HorizontalBitField &lhs, const VExpandBitField &rhs)
 
constexpr friend AlignFlag operator| (const HVBitField &lhs, const ExpandBitField &rhs)
 
constexpr friend AlignFlag operator| (const VerticalBitField &lhs, const HExpandBitField &rhs)
 
constexpr friend AlignFlag operator| (const VExpandBitField &lhs, const HorizontalBitField &rhs)
 

Constructor & Destructor Documentation

◆ AlignFlag() [1/6]

constexpr AlignFlag ( const HorizontalBitField field)
inlineconstexpr

◆ AlignFlag() [2/6]

constexpr AlignFlag ( const VerticalBitField field)
inlineconstexpr

◆ AlignFlag() [3/6]

constexpr AlignFlag ( const ExpandBitField field)
inlineconstexpr

◆ AlignFlag() [4/6]

constexpr AlignFlag ( const HVBitField field)
inlineconstexpr

◆ AlignFlag() [5/6]

constexpr AlignFlag ( const HExpandBitField field)
inlineconstexpr

◆ AlignFlag() [6/6]

constexpr AlignFlag ( const VExpandBitField field)
inlineconstexpr

Member Function Documentation

◆ operator==()

constexpr bool operator== ( const AlignFlag rhs) const
inlineconstexpr

Friends And Related Function Documentation

◆ BitFields< AlignFlag >

friend class BitFields< AlignFlag >
friend

◆ operator| [1/8]

constexpr friend AlignFlag operator| ( const AlignFlag lhs,
const ExpandBitField rhs 
)
friend

◆ operator| [2/8]

constexpr friend AlignFlag operator| ( const ExpandBitField lhs,
const AlignFlag rhs 
)
friend

◆ operator| [3/8]

constexpr friend AlignFlag operator| ( const ExpandBitField lhs,
const HVBitField rhs 
)
friend

◆ operator| [4/8]

constexpr friend AlignFlag operator| ( const HExpandBitField lhs,
const VerticalBitField rhs 
)
friend

◆ operator| [5/8]

constexpr friend AlignFlag operator| ( const HorizontalBitField lhs,
const VExpandBitField rhs 
)
friend

◆ operator| [6/8]

constexpr friend AlignFlag operator| ( const HVBitField lhs,
const ExpandBitField rhs 
)
friend

◆ operator| [7/8]

constexpr friend AlignFlag operator| ( const VerticalBitField lhs,
const HExpandBitField rhs 
)
friend

◆ operator| [8/8]

constexpr friend AlignFlag operator| ( const VExpandBitField lhs,
const HorizontalBitField rhs 
)
friend

Member Data Documentation

◆ bottom

constexpr VerticalBitField bottom = VerticalBitField(3)
staticconstexpr

◆ center

constexpr HVBitField center = center_horizontal | center_vertical
staticconstexpr

◆ center_horizontal

constexpr HorizontalBitField center_horizontal = HorizontalBitField(1)
staticconstexpr

◆ center_vertical

constexpr VerticalBitField center_vertical = VerticalBitField(1)
staticconstexpr

◆ expand

constexpr ExpandBitField expand = expand_horizontal | expand_vertical
staticconstexpr

◆ expand_horizontal

constexpr ExpandBitField expand_horizontal = ExpandBitField(detail::bit(0))
staticconstexpr

◆ expand_vertical

constexpr ExpandBitField expand_vertical = ExpandBitField(detail::bit(1))
staticconstexpr

◆ left

constexpr HorizontalBitField left = HorizontalBitField(2)
staticconstexpr

◆ right

constexpr HorizontalBitField right = HorizontalBitField(3)
staticconstexpr

◆ top

constexpr VerticalBitField top = VerticalBitField(2)
staticconstexpr