Xport Interface: stylesheet::parse

Parses a stylesheet file or input stream.

bool stylesheet::parse(1st Variety
  const std::string& filename
);
bool stylesheet::parse(2nd Variety
  const std::istream& strm
);

Parameters

filename

The filename of the stylesheet file to parse.

strm

The stylesheet input stream to parse.

Returns

true if the stylesheet is parsed successfully, false otherwise.

Remarks

This operation is used to parse a stylesheet. After parsing, the called stylesheet object will contain the rules, comments, and import rules which were contained in the parsed stylesheet file or stream.

Complexity

Linear

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.