tag.h.svn-base

来自「这是一段游戏修改工具的源代码.ring3功能由dephi开发,驱动是C开发.希望」· SVN-BASE 代码 · 共 30 行

SVN-BASE
30
字号
#ifndef __TAG_H
#define __TAG_H
#include "attrib.h"
using std::string;

class Tag: public NamedObject {
  bool m_open,m_temp;
  AttribList *m_attribs;
  mutable AttribList::iterator m_iter;
public:
  Tag(string n="", bool temp=true)
   : NamedObject(n),m_open(true),
     m_temp(temp),m_attribs(NULL)
  { }

  Tag& set(bool on_off);
  void clear();
  bool closed() const       { return ! m_open; }
  bool is_temporary() const { return m_temp; }
  void add_attrib(string a, string v);
  void add_attrib(string a, int v);
  bool    has_attributes() const;
  Attrib *next_attribute() const;
};

typedef std::list<Tag> TagList;

#endif

⌨️ 快捷键说明

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