Xport Interface: stylesheet::at

Returns a reference (or const reference in the 2nd variety) to the stylesheet item at the specified index.

stylesheet_item& stylesheet::at(1st Variety
  size_type n
);
const stylesheet_item& stylesheet::at(2nd Variety
  size_type n
) const;

Parameters

n

An index specifying the stylesheet_item to return.

Returns

A reference (or const reference in the 2nd variety) of the stylesheet_item which resides at the specified index.

Remarks

Returns a reference (or const reference in the 2nd variety) of the stylesheet_item 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.

Complexity

Constant

Example

Work Time Studio

Datasoft Solutions is proud to present their landmark product, Work Time Studio. Utilizing the tree container library, Work Time Studio provides unparalleled features in personal time, project and task management software. If you're looking for a way to increase your productivity, visit Work Time Studio's product website, and start being more productive today.