#include <XmlScoped.hxx>
Public Member Functions | |
| template<typename T > | |
| XmlAttribute (const std::string &name, const T &content) | |
| Inserts on construction an attribute to the last open XML element. | |
Since the second parameter on the constructor is templatized, you can use as content anything with the insertion operator on ostream defined.
Definition at line 228 of file XmlScoped.hxx.
| CLAM::XmlAttribute::XmlAttribute | ( | const std::string & | name, | |
| const T & | content | |||
| ) | [inline] |
Inserts on construction an attribute to the last open XML element.
| name | The name of the attribute | |
| content | An ostream insertable object that will compose the attribute content. |
There is an XML element open without any non attribute scoped element writen yet.
Definition at line 243 of file XmlScoped.hxx.
References CLAM::XmlWriteContext::InsertAttribute().
1.5.9