XMLStorage::XMLFormat Struct Reference

Management of XML file headers and formating. More...

#include <xmlstorage.h>

Collaboration diagram for XMLStorage::XMLFormat:

Collaboration graph
[legend]

Public Member Functions

 XMLFormat (PRETTY_FLAGS pretty=PRETTY_INDENT, const std::string &xml_version="1.0", const std::string &encoding="utf-8", const DocType &doctype=DocType())
void print_header (std::ostream &out, bool lf=true) const

Data Fields

PRETTY_FLAGS _pretty
const char * _endl
std::string _version
std::string _encoding
DocType _doctype
StyleSheetList _stylesheets
int _standalone

Detailed Description

Management of XML file headers and formating.

Definition at line 644 of file xmlstorage.h.


Constructor & Destructor Documentation

XMLStorage::XMLFormat::XMLFormat ( PRETTY_FLAGS  pretty = PRETTY_INDENT,
const std::string &  xml_version = "1.0",
const std::string &  encoding = "utf-8",
const DocType doctype = DocType() 
) [inline]

Definition at line 646 of file xmlstorage.h.

00647      :  _pretty(pretty),
00648         _endl("\n"),
00649         _version(xml_version),
00650         _encoding(encoding),
00651         _doctype(doctype),
00652         _standalone(-1)
00653     {
00654     }


Member Function Documentation

void XMLStorage::XMLFormat::print_header ( std::ostream &  out,
bool  lf = true 
) const


Field Documentation

PRETTY_FLAGS XMLStorage::XMLFormat::_pretty

Definition at line 658 of file xmlstorage.h.

const char* XMLStorage::XMLFormat::_endl

Definition at line 659 of file xmlstorage.h.

Referenced by XMLStorage::XMLDoc::read().

std::string XMLStorage::XMLFormat::_version

Definition at line 661 of file xmlstorage.h.

std::string XMLStorage::XMLFormat::_encoding

Definition at line 662 of file xmlstorage.h.

DocType XMLStorage::XMLFormat::_doctype

Definition at line 664 of file xmlstorage.h.

StyleSheetList XMLStorage::XMLFormat::_stylesheets

Definition at line 666 of file xmlstorage.h.

int XMLStorage::XMLFormat::_standalone

Definition at line 670 of file xmlstorage.h.


The documentation for this struct was generated from the following file:
IBrowser Source Code Documentation
generated on 18.09.2008 by doxygen

Homepage