neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::css Class Reference

#include <css.hpp>

Classes

class  declaration
 
struct  failed_to_open_style_sheet
 
class  i_visitor
 
class  selector
 

Public Types

typedef std::vector< declarationdeclaration_block
 
typedef std::list< selectorselector_list
 
typedef std::list< declaration_blockdeclaration_block_list
 
typedef std::vector< std::pair< selector_list::const_iterator, declaration_block_list::const_iterator > > rule_list
 

Public Member Functions

 css (std::string const &aStyle)
 
 css (std::istream &aStyleSheet)
 
void accept (i_visitor &aVisitor) const
 
const rule_listrules () const
 
std::string to_string () const
 

Detailed Description

Definition at line 29 of file css.hpp.

Member Typedef Documentation

◆ declaration_block

Definition at line 102 of file css.hpp.

◆ declaration_block_list

Definition at line 104 of file css.hpp.

◆ rule_list

typedef std::vector<std::pair<selector_list::const_iterator, declaration_block_list::const_iterator> > neogfx::css::rule_list

Definition at line 105 of file css.hpp.

◆ selector_list

Definition at line 103 of file css.hpp.

Constructor & Destructor Documentation

◆ css() [1/2]

neogfx::css::css ( std::string const &  aStyle)

◆ css() [2/2]

neogfx::css::css ( std::istream &  aStyleSheet)

Member Function Documentation

◆ accept()

void neogfx::css::accept ( i_visitor aVisitor) const

◆ rules()

const rule_list & neogfx::css::rules ( ) const

◆ to_string()

std::string neogfx::css::to_string ( ) const

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