xml_token_save_generic.h

来自「这是一款2d游戏引擎」· C头文件 代码 · 共 34 行

H
34
字号
#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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?