/*
 * Unsigned.h
 *
 *  Created on: Mar 26, 2013
 *      Author: Jan Travnicek
 */

#ifndef _XML_PRIMITIVE_UNSIGNED_H_
#define _XML_PRIMITIVE_UNSIGNED_H_

#include <core/xmlApi.hpp>

namespace core {

template < >
struct xmlApi < unsigned > {
	static unsigned parse ( ext::deque < sax::Token >::iterator & input );
	static bool first ( const ext::deque < sax::Token >::const_iterator & input );
	static std::string xmlTagName ( );
	static void compose ( ext::deque < sax::Token > & output, unsigned data );
};

} /* namespace core */

#endif /* _XML_PRIMITIVE_UNSIGNED_H_ */
