Xport Interface: stylesheet::operator []

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

stylesheet_item& stylesheet::operator[](1st Variety
  size_type n
);
const stylesheet_item& stylesheet::operator[](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 not exception safe. If you need an exception safe index operation, use stylesheet::at().

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.