libfoedus-core
FOEDUS Core Library
foedus::externalize::TinyxmlSetter< T > Struct Template Reference

Functor to help use tinyxml2's Element SetText(). More...

Detailed Description

template<typename T>
struct foedus::externalize::TinyxmlSetter< T >

Functor to help use tinyxml2's Element SetText().

tinyxml2::XMLElement::SetText() is already generic, but it doesn't know std::string.

Definition at line 145 of file tinyxml_wrapper.hpp.

#include <tinyxml_wrapper.hpp>

Public Member Functions

void operator() (tinyxml2::XMLElement *element, const T &value)
 

Member Function Documentation

template<typename T>
void foedus::externalize::TinyxmlSetter< T >::operator() ( tinyxml2::XMLElement *  element,
const T &  value 
)
inline

Definition at line 146 of file tinyxml_wrapper.hpp.

146  {
147  element->SetText(value);
148  }

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