dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

CssPropertyList Class Reference

A list of CssProperty objects. More...

#include <css.hh>

Inheritance diagram for CssPropertyList:
Collaboration diagram for CssPropertyList:

Public Member Functions

 CssPropertyList (bool ownerOfStrings=false)
 CssPropertyList (const CssPropertyList &p, bool deep=false)
 ~CssPropertyList ()
void set (CssPropertyName name, CssValueType type, CssPropertyValue value)
 Set property to a given name and type. More...
void apply (CssPropertyList *props)
 Merge properties into argument property list. More...
bool isSafe ()
void print ()
void ref ()
void unref ()
- Public Member Functions inherited from lout::misc::SimpleVector< CssProperty >
 SimpleVector (int initAlloc=1)
 SimpleVector (const SimpleVector &o)
 ~SimpleVector ()
int size () const
 Return the number of elements put into this vector. More...
CssPropertygetArray () const
CssPropertydetachArray ()
void increase ()
 Increase the vector size by one. More...
void setSize (int newSize)
 Set the size explicitly. More...
void setSize (int newSize, CssProperty t)
 Set the size explicitly and initialize new values. More...
CssPropertygetRef (int i) const
 Return the reference of one element. More...
CssProperty get (int i) const
 Return the one element, explicitly. More...
CssPropertygetFirstRef () const
 Return the reference of the first element (convenience method). More...
CssProperty getFirst () const
 Return the first element, explicitly. More...
CssPropertygetLastRef () const
 Return the reference of the last element (convenience method). More...
CssProperty getLast () const
 Return the last element, explicitly. More...
void set (int i, CssProperty t)
 Store an object in the vector. More...

Private Attributes

int refCount
bool ownerOfStrings
bool safe

Detailed Description

A list of CssProperty objects.

Definition at line 312 of file css.hh.

Constructor & Destructor Documentation

◆ CssPropertyList() [1/2]

CssPropertyList::CssPropertyList ( bool  ownerOfStrings = false)

Definition at line 318 of file css.hh.

References ownerOfStrings, refCount, and safe.

◆ CssPropertyList() [2/2]

◆ ~CssPropertyList()

CssPropertyList::~CssPropertyList ( )

Member Function Documentation

◆ apply()

◆ isSafe()

bool CssPropertyList::isSafe ( )

Definition at line 330 of file css.hh.

References safe.

Referenced by CssRule::isSafe().

◆ print()

void CssPropertyList::print ( )

◆ ref()

void CssPropertyList::ref ( )

Definition at line 332 of file css.hh.

References refCount.

Referenced by CssRule::CssRule(), and CssParser::parseRuleset().

◆ set()

◆ unref()

void CssPropertyList::unref ( )

Definition at line 333 of file css.hh.

References refCount.

Referenced by CssParser::parseRuleset(), and CssRule::~CssRule().

Member Data Documentation

◆ ownerOfStrings

bool CssPropertyList::ownerOfStrings

Definition at line 314 of file css.hh.

Referenced by apply(), CssPropertyList(), set(), and ~CssPropertyList().

◆ refCount

int CssPropertyList::refCount

Definition at line 313 of file css.hh.

Referenced by CssPropertyList(), ref(), and unref().

◆ safe

bool CssPropertyList::safe

Definition at line 315 of file css.hh.

Referenced by CssPropertyList(), isSafe(), and set().

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