#include <css_layout_object.h>

+ Inheritance diagram for clan::CSSLayoutObject:

Public Member Functions

 CSSLayoutObject ()
 
void append_child (CSSLayoutNode &new_child)
 
CSSLayoutElement create_element (const std::string &name=std::string())
 
CSSLayoutObject create_object ()
 
CSSLayoutText create_text (const std::string &text)
 
Rect get_content_box ()
 
CSSLayoutNode get_first_child () const
 
CSSLayoutNode get_last_child () const
 
std::string get_name () const
 
CSSLayoutNode get_next_sibling () const
 
CSSLayoutNode get_parent () const
 
CSSLayoutNode get_prev_sibling () const
 
CSSLayoutUserDataget_user_data ()
 
const CSSLayoutUserDataget_user_data () const
 
bool has_attribute (const std::string &name) const
 
void insert_before (CSSLayoutNode &new_child, CSSLayoutNode &ref_child)
 
bool is_element () const
 
bool is_null () const
 
bool is_object () const
 
bool is_text () const
 
bool operator!= (const CSSLayoutNode &other) const
 
bool operator== (const CSSLayoutNode &other) const
 
std::string print_node () const
 
void remove_child (CSSLayoutNode &old_child)
 
void set_attribute (const std::string &name, const std::string &value)
 
void set_col_span (int span)
 
template<typename T >
void set_component (T *component)
 
void set_intrinsic_height (int height)
 
void set_intrinsic_ratio (float ratio)
 
void set_intrinsic_width (int width)
 
void set_name (const std::string &name)
 
void set_no_intrinsic_height ()
 
void set_no_intrinsic_ratio ()
 
void set_no_intrinsic_width ()
 
void set_row_span (int span)
 
void set_user_data (CSSLayoutUserData *data)
 
void set_user_data (std::unique_ptr< CSSLayoutUserData > &data)
 
CSSLayoutElement to_element () const
 
CSSLayoutObject to_object () const
 
CSSLayoutText to_text () const
 

Protected Attributes

std::shared_ptr
< CSSLayoutNode_Impl > 
impl
 

Friends

class CSSLayoutNode
 

Constructor & Destructor Documentation

clan::CSSLayoutObject::CSSLayoutObject ( )

Member Function Documentation

void clan::CSSLayoutElement::append_child ( CSSLayoutNode new_child)
inherited
CSSLayoutElement clan::CSSLayoutElement::create_element ( const std::string &  name = std::string())
inherited
CSSLayoutObject clan::CSSLayoutElement::create_object ( )
inherited
CSSLayoutText clan::CSSLayoutElement::create_text ( const std::string &  text)
inherited
Rect clan::CSSLayoutElement::get_content_box ( )
inherited
CSSLayoutNode clan::CSSLayoutNode::get_first_child ( ) const
inherited
CSSLayoutNode clan::CSSLayoutNode::get_last_child ( ) const
inherited
std::string clan::CSSLayoutElement::get_name ( ) const
inherited
CSSLayoutNode clan::CSSLayoutNode::get_next_sibling ( ) const
inherited
CSSLayoutNode clan::CSSLayoutNode::get_parent ( ) const
inherited
CSSLayoutNode clan::CSSLayoutNode::get_prev_sibling ( ) const
inherited
CSSLayoutUserData* clan::CSSLayoutNode::get_user_data ( )
inherited
const CSSLayoutUserData* clan::CSSLayoutNode::get_user_data ( ) const
inherited
bool clan::CSSLayoutElement::has_attribute ( const std::string &  name) const
inherited
void clan::CSSLayoutElement::insert_before ( CSSLayoutNode new_child,
CSSLayoutNode ref_child 
)
inherited
bool clan::CSSLayoutNode::is_element ( ) const
inherited
bool clan::CSSLayoutNode::is_null ( ) const
inherited
bool clan::CSSLayoutNode::is_object ( ) const
inherited
bool clan::CSSLayoutNode::is_text ( ) const
inherited
bool clan::CSSLayoutNode::operator!= ( const CSSLayoutNode other) const
inherited
bool clan::CSSLayoutNode::operator== ( const CSSLayoutNode other) const
inherited
std::string clan::CSSLayoutNode::print_node ( ) const
inherited
void clan::CSSLayoutElement::remove_child ( CSSLayoutNode old_child)
inherited
void clan::CSSLayoutElement::set_attribute ( const std::string &  name,
const std::string &  value 
)
inherited
void clan::CSSLayoutElement::set_col_span ( int  span)
inherited
void clan::CSSLayoutObject::set_intrinsic_height ( int  height)
void clan::CSSLayoutObject::set_intrinsic_ratio ( float  ratio)
void clan::CSSLayoutObject::set_intrinsic_width ( int  width)
void clan::CSSLayoutElement::set_name ( const std::string &  name)
inherited
void clan::CSSLayoutObject::set_no_intrinsic_height ( )
void clan::CSSLayoutObject::set_no_intrinsic_ratio ( )
void clan::CSSLayoutObject::set_no_intrinsic_width ( )
void clan::CSSLayoutElement::set_row_span ( int  span)
inherited
void clan::CSSLayoutNode::set_user_data ( CSSLayoutUserData data)
inlineinherited
void clan::CSSLayoutNode::set_user_data ( std::unique_ptr< CSSLayoutUserData > &  data)
inherited
CSSLayoutElement clan::CSSLayoutNode::to_element ( ) const
inherited
CSSLayoutObject clan::CSSLayoutNode::to_object ( ) const
inherited
CSSLayoutText clan::CSSLayoutNode::to_text ( ) const
inherited

Friends And Related Function Documentation

friend class CSSLayoutNode
friend

Member Data Documentation

std::shared_ptr<CSSLayoutNode_Impl> clan::CSSLayoutNode::impl
protectedinherited

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