#include <css_layout_element.h>

+ Inheritance diagram for clan::CSSLayoutElement:

Public Member Functions

 CSSLayoutElement ()
 
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 ()
 
std::string get_name () const
 
bool has_attribute (const std::string &name) const
 
void insert_before (CSSLayoutNode &new_child, CSSLayoutNode &ref_child)
 
void remove_child (CSSLayoutNode &old_child)
 
void set_attribute (const std::string &name, const std::string &value)
 
void set_col_span (int span)
 
void set_name (const std::string &name)
 
void set_row_span (int span)
 
- Public Member Functions inherited from clan::CSSLayoutNode
 CSSLayoutNode ()
 
CSSLayoutNode get_first_child () const
 
CSSLayoutNode get_last_child () const
 
CSSLayoutNode get_next_sibling () const
 
CSSLayoutNode get_parent () const
 
CSSLayoutNode get_prev_sibling () const
 
CSSLayoutUserDataget_user_data ()
 
const CSSLayoutUserDataget_user_data () const
 
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 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 Member Functions

 CSSLayoutElement (const std::shared_ptr< CSSLayoutNode_Impl > &impl)
 
- Protected Member Functions inherited from clan::CSSLayoutNode
 CSSLayoutNode (const std::shared_ptr< CSSLayoutNode_Impl > &impl)
 

Friends

class CSSLayoutNode
 

Additional Inherited Members

- Protected Attributes inherited from clan::CSSLayoutNode
std::shared_ptr
< CSSLayoutNode_Impl > 
impl
 

Constructor & Destructor Documentation

clan::CSSLayoutElement::CSSLayoutElement ( )
clan::CSSLayoutElement::CSSLayoutElement ( const std::shared_ptr< CSSLayoutNode_Impl > &  impl)
protected

Member Function Documentation

void clan::CSSLayoutElement::append_child ( CSSLayoutNode new_child)
CSSLayoutElement clan::CSSLayoutElement::create_element ( const std::string &  name = std::string())
CSSLayoutObject clan::CSSLayoutElement::create_object ( )
CSSLayoutText clan::CSSLayoutElement::create_text ( const std::string &  text)
Rect clan::CSSLayoutElement::get_content_box ( )
std::string clan::CSSLayoutElement::get_name ( ) const
bool clan::CSSLayoutElement::has_attribute ( const std::string &  name) const
void clan::CSSLayoutElement::insert_before ( CSSLayoutNode new_child,
CSSLayoutNode ref_child 
)
void clan::CSSLayoutElement::remove_child ( CSSLayoutNode old_child)
void clan::CSSLayoutElement::set_attribute ( const std::string &  name,
const std::string &  value 
)
void clan::CSSLayoutElement::set_col_span ( int  span)
void clan::CSSLayoutElement::set_name ( const std::string &  name)
void clan::CSSLayoutElement::set_row_span ( int  span)

Friends And Related Function Documentation

friend class CSSLayoutNode
friend

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