CLAM::XmlContent Class Reference
[Scoped XML: A quick way to write XML (write only)]

#include <XmlScoped.hxx>

List of all members.


Detailed Description

An scoped XML writer object inserting plain content to the current XML level.

Since the parameter on the constructor is templatized, you can use as content anything with the insertion operator on ostream defined.

Definition at line 140 of file XmlScoped.hxx.


Public Member Functions

template<typename T>
 XmlContent (const T &content)
 Inserts on construction plain content to the current XML writing context.

Constructor & Destructor Documentation

template<typename T>
CLAM::XmlContent::XmlContent ( const T &  content  )  [inline]

Inserts on construction plain content to the current XML writing context.

Parameters:
content An ostream insertable object that will compose the attribute content.
Bug:
Special chars are not escaped

Definition at line 151 of file XmlScoped.hxx.

References CLAM::XmlWriteContext::InsertContent().


The documentation for this class was generated from the following file:

Generated on Tue Aug 12 22:33:50 2008 for CLAM by  doxygen 1.5.5