Dillo v3.1.1-111-gd4f56d0d
Loading...
Searching...
No Matches
CssStyleSheet::RuleList Class Reference

Public Member Functions

 RuleList ()
 
 ~RuleList ()
 
void insert (CssRule *rule)
 
bool equals (lout::object::Object *other)
 Returns, whether two objects are equal.
 
int hashValue ()
 Return a hash value for the object.
 
- Public Member Functions inherited from lout::misc::SimpleVector< CssRule * >
 SimpleVector (int initAlloc=1)
 
 SimpleVector (const SimpleVector &o)
 
 ~SimpleVector ()
 
int size () const
 Return the number of elements put into this vector.
 
bool empty () const
 
CssRule * * getArray () const
 
CssRule * * detachArray ()
 
void increase ()
 Increase the vector size by one.
 
void setSize (int newSize)
 Set the size explicitly.
 
void setSize (int newSize, CssRule * t)
 Set the size explicitly and initialize new values.
 
CssRule * * getRef (int i) const
 Return the reference of one element.
 
CssRuleget (int i) const
 Return the one element, explicitly.
 
CssRule * * getFirstRef () const
 Return the reference of the first element (convenience method).
 
CssRulegetFirst () const
 Return the first element, explicitly.
 
CssRule * * getLastRef () const
 Return the reference of the last element (convenience method).
 
CssRulegetLast () const
 Return the last element, explicitly.
 
void set (int i, CssRule * t)
 Store an object in the vector.
 
void setLast (CssRule * t)
 Store an object at the end of the vector.
 
void copyTo (SimpleVector< CssRule * > *dest, int thisStart=0, int thisLast=-1, int destStart=0)
 Copies some elements into another vector of the same type.
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 

Detailed Description

Definition at line 478 of file css.hh.

Constructor & Destructor Documentation

◆ RuleList()

CssStyleSheet::RuleList::RuleList ( )
inline

Definition at line 481 of file css.hh.

◆ ~RuleList()

CssStyleSheet::RuleList::~RuleList ( )
inline

Member Function Documentation

◆ equals()

bool CssStyleSheet::RuleList::equals ( lout::object::Object other)
inlinevirtual

Returns, whether two objects are equal.

The caller should ensure, that this and the object have the same class; this makes casting of "other" safe. Typically, an implementation should check this == other first, the caller can assume a fast implementation.

Reimplemented from lout::object::Object.

Definition at line 488 of file css.hh.

◆ hashValue()

int CssStyleSheet::RuleList::hashValue ( )
inlinevirtual

Return a hash value for the object.

Reimplemented from lout::object::Object.

Definition at line 491 of file css.hh.

◆ insert()


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