#ifndef header_xml_token_save_generic
#define header_xml_token_save_generic

#if _MSC_VER > 1000
#pragma once
#endif

#include "API/Core/XML/xml_token.h"
#include <map>
#include <string>

class CL_XMLTokenSave_Generic
{
//! Construction:
public:
	CL_XMLTokenSave_Generic() : ref_count(0), type(CL_XMLToken::NULL_TOKEN), variant(CL_XMLToken::SINGLE) { return; }
	~CL_XMLTokenSave_Generic() { return; }
	
//! Attributes:
public:
	int ref_count;
	CL_XMLToken::TokenType type;
	CL_XMLToken::TokenVariant variant;
	std::string name;
	std::string value;

	std::vector< std::pair<std::string, std::string> > attributes;

//! Implementation:
private:
};

#endif
