Xport Interface: stylesheet_formatter::stylesheet_formatter

Constructor for stylesheet_formatter.

stylesheet_formatter::stylesheet_formatter(1st Variety
  const std::string& filename
);
stylesheet_formatter::stylesheet_formatter(2nd Variety
  std::ostream& out
);

Parameters

filename

A full file path/filename which specifies the file in which to write the output. Caller must insure the path exists, and the user has access rights to the directory.

out

A reference to an ouput stream (std::ostream). Can either be a user instanciated stream, including a std::ofstream or std::ostringstream. Or, one of the standard streams such as std::cout or std::cerr.

Remarks

The formatter constructor creates a formatting object which is used to output the stylesheet or stylesheet content. A parameter must be passed to the constructor specifying the output where the formatted content will be sent.

Complexity

Constant

Examples

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.