|
|
|
Returns a reference (or const reference in the 2nd variety) to the declaration at the specified index.
declaration& stylesheet_item::at(1st Variety
size_type n
);
const declaration& stylesheet::at(2nd Variety
size_type n
) const;
An index specifying the declaration to return.
A reference (or const reference in the 2nd variety) of the declaration which resides at the specified index.
Returns a reference (or const reference in the 2nd variety) of the declaration which resides at the specified index. Caller must insure
that n is in a valid range. This operation is exception safe. If n is out of valid range, a std::out_of_range exception will be thrown.
This is one of the operations of stylesheet_item which is relevent only when called on a stylesheet_rule., since only stylesheet_rules
can include declarations. When called on a stylesheet_import or stylesheet_comment, this operation always
throws a std::out_of_range exception.
Constant