Kage Studio 0.7.240121
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
xmltagproperty.h
Go to the documentation of this file.
1/*
2 * xmltagproperty.h
3 *
4 * Copyright 2019~2024 Mj Mendoza IV <mj.mendoza.iv@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 *
21 *
22 */
23
24#ifndef KAGE_UTIL_XMLTAGPROPERTY_H
25 #define KAGE_UTIL_XMLTAGPROPERTY_H
26
27 #include <string>
28 #include <sstream>
29
31 public:
33 XmlTagProperty(std::string p_name, std::string p_value);
34 virtual ~XmlTagProperty();
35
36 void setName(std::string p_name);
37 void setValue(std::string p_value);
38 std::string getName();
39 std::string getValue();
41 std::string toString();
42 void copy(XmlTagProperty p_xmlTagProperty);
43 bool equalTo(XmlTagProperty p_xmlTagProperty);
44 protected:
45 std::string _name;
46 std::string _value;
47 };
48#endif //KAGE_UTIL_XMLTAGPROPERTY_H
void setValue(std::string p_value)
Definition xmltagproperty.cpp:64
bool equalTo(XmlTagProperty p_xmlTagProperty)
Definition xmltagproperty.cpp:44
void setName(std::string p_name)
Definition xmltagproperty.cpp:60
std::string getName()
Definition xmltagproperty.cpp:68
XmlTagProperty clone()
Definition xmltagproperty.cpp:39
XmlTagProperty()
Definition xmltagproperty.cpp:26
std::string getValue()
Definition xmltagproperty.cpp:72
virtual ~XmlTagProperty()
Definition xmltagproperty.cpp:35
std::string _name
Definition xmltagproperty.h:45
std::string _value
Definition xmltagproperty.h:46
std::string toString()
Definition xmltagproperty.cpp:54
void copy(XmlTagProperty p_xmlTagProperty)
Definition xmltagproperty.cpp:49