6 #include <c++utilities/conversion/types.h> 19 constexpr
Margin(uint32 top = 0, uint32 left = 0, uint32 bottom = 0, uint32 right = 0);
20 constexpr uint32 top()
const;
21 void setTop(uint32 top);
22 constexpr uint32 left()
const;
23 void setLeft(uint32 left);
24 constexpr uint32 bottom()
const;
25 void setBottom(uint32 bottom);
26 constexpr uint32 right()
const;
27 void setRight(uint32 right);
28 constexpr
bool isNull()
const;
29 std::string toString()
const;
41 constexpr
Margin::Margin(uint32 top, uint32 left, uint32 bottom, uint32 right) :
117 return m_top == 0 && m_left == 0 && m_bottom == 0 && m_right == 0;
125 std::stringstream res;
126 res <<
"top: " << m_top <<
"; left: " << m_left;
127 res <<
"; bottom: " << m_bottom <<
"; right: " << m_right;
128 return std::string(res.str());
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.