\section{DOM::CSSRule\-List Class Reference}
\label{classDOM_1_1CSSRuleList}\index{DOM::CSSRuleList@{DOM::CSSRuleList}}
The {\tt {\bf CSSRule\-List}{\rm (p.\,\pageref{classDOM_1_1CSSRuleList})}} interface provides the abstraction of an ordered collection of CSS rules.  


{\tt \#include $<$css\_\-rule.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf CSSRule\-List} (const {\bf CSSRule\-List} \&other)\label{classDOM_1_1CSSRuleList_a1}

\item 
{\bf CSSRule\-List} (CSSRule\-List\-Impl $\ast$i)\label{classDOM_1_1CSSRuleList_a2}

\item 
{\bf CSSRule\-List} (Style\-List\-Impl $\ast$i)\label{classDOM_1_1CSSRuleList_a3}

\item 
{\bf CSSRule\-List} \& {\bf operator=} (const {\bf CSSRule\-List} \&other)\label{classDOM_1_1CSSRuleList_a4}

\item 
unsigned long {\bf length} () const 
\item 
{\bf CSSRule} {\bf item} (unsigned long index)
\item 
CSSRule\-List\-Impl $\ast$ {\bf handle} () const \label{classDOM_1_1CSSRuleList_a8}

\item 
bool {\bf is\-Null} () const \label{classDOM_1_1CSSRuleList_a9}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
CSSRule\-List\-Impl $\ast$ {\bf impl}\label{classDOM_1_1CSSRuleList_p0}

\end{CompactItemize}


\subsection{Detailed Description}
The {\tt {\bf CSSRule\-List}{\rm (p.\,\pageref{classDOM_1_1CSSRuleList})}} interface provides the abstraction of an ordered collection of CSS rules. 



Definition at line 484 of file css\_\-rule.h.

\subsection{Member Function Documentation}
\index{DOM::CSSRuleList@{DOM::CSSRule\-List}!length@{length}}
\index{length@{length}!DOM::CSSRuleList@{DOM::CSSRule\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned long CSSRule\-List::length () const}\label{classDOM_1_1CSSRuleList_a6}


The number of {\tt {\bf CSSRule}{\rm (p.\,\pageref{classDOM_1_1CSSRule})}} s in the list. 

The range of valid child rule indices is {\tt 0} to {\tt length-1} inclusive. 

Definition at line 521 of file css\_\-rule.cpp.

Referenced by DOM::Style\-Sheet\-List::length().\index{DOM::CSSRuleList@{DOM::CSSRule\-List}!item@{item}}
\index{item@{item}!DOM::CSSRuleList@{DOM::CSSRule\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf CSSRule} CSSRule\-List::item (unsigned long {\em index})}\label{classDOM_1_1CSSRuleList_a7}


Used to retrieve a CSS rule by ordinal index. 

The order in this collection represents the order of the rules in the CSS style sheet.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]Index into the collection\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The style rule at the {\tt index} position in the {\tt {\bf CSSRule\-List}{\rm (p.\,\pageref{classDOM_1_1CSSRuleList})}} , or {\tt null} if that is not a valid index. \end{Desc}


Definition at line 528 of file css\_\-rule.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
css\_\-rule.h\item 
css\_\-rule.cpp\end{CompactItemize}
