Kage Studio 0.7.230612
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 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 using namespace std;
30
32 public:
34 XmlTagProperty(string p_name, string p_value);
35 virtual ~XmlTagProperty();
36
37 void setName(string p_name);
38 void setValue(string p_value);
39 string getName();
40 string getValue();
42 std::string toString();
43 void copy(XmlTagProperty p_xmlTagProperty);
44 bool equalTo(XmlTagProperty p_xmlTagProperty);
45 protected:
46 string _name;
47 string _value;
48 };
49#endif //KAGE_UTIL_XMLTAGPROPERTY_H
Definition: xmltagproperty.h:31
string _value
Definition: xmltagproperty.h:47
string getName()
Definition: xmltagproperty.cpp:68
bool equalTo(XmlTagProperty p_xmlTagProperty)
Definition: xmltagproperty.cpp:44
void setName(string p_name)
Definition: xmltagproperty.cpp:60
XmlTagProperty clone()
Definition: xmltagproperty.cpp:39
void setValue(string p_value)
Definition: xmltagproperty.cpp:64
XmlTagProperty()
Definition: xmltagproperty.cpp:26
string _name
Definition: xmltagproperty.h:46
string getValue()
Definition: xmltagproperty.cpp:72
virtual ~XmlTagProperty()
Definition: xmltagproperty.cpp:35
std::string toString()
Definition: xmltagproperty.cpp:54
void copy(XmlTagProperty p_xmlTagProperty)
Definition: xmltagproperty.cpp:49