Marsyas
0.6.0-alpha
|
00001 /* 00002 ** Copyright (C) 1998-2005 George Tzanetakis <gtzan@cs.uvic.ca> 00003 ** 00004 ** This program is free software; you can redistribute it and/or modify 00005 ** it under the terms of the GNU General Public License as published by 00006 ** the Free Software Foundation; either version 2 of the License, or 00007 ** (at your option) any later version. 00008 ** 00009 ** This program is distributed in the hope that it will be useful, 00010 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 ** GNU General Public License for more details. 00013 ** 00014 ** You should have received a copy of the GNU General Public License 00015 ** along with this program; if not, write to the Free Software 00016 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 */ 00018 00019 00020 #include <marsyas/marostring.h> 00021 00022 using namespace std; 00023 using namespace Marsyas; 00024 00025 marostring::marostring() 00026 { 00027 clear(); 00028 } 00029 00030 marostring::marostring(const marostring& m) 00031 { 00032 (void) m; 00033 //result_ << m.result_; 00034 } 00035 00036 marostring::~marostring() 00037 { 00038 } 00039 00040 void 00041 marostring::end_marsystem(bool isComposite, std::string type, std::string name) 00042 { 00043 (void) isComposite; 00044 (void) type; 00045 (void) name; 00046 } 00047 00048 void 00049 marostring::begin_control_links_in(int num_links) 00050 { 00051 (void) num_links; 00052 } 00053 00054 void 00055 marostring::put_control_link_in(std::string abspath, std::string type, std::string name) 00056 { 00057 (void) abspath; 00058 (void) type; 00059 (void) name; 00060 } 00061 00062 void 00063 marostring::end_control_links_in(int num_links) 00064 { 00065 (void) num_links; 00066 } 00067 00068 void 00069 marostring::begin_control_links_out(int num_links) 00070 { 00071 (void) num_links; 00072 } 00073 00074 void 00075 marostring::put_control_link_out(std::string abspath, std::string type, std::string name) 00076 { 00077 (void) abspath; 00078 (void) type; 00079 (void) name; 00080 } 00081 00082 void 00083 marostring::end_control_links_out(int num_links) 00084 { 00085 (void) num_links; 00086 } 00087 00088 void 00089 marostring::end_control(std::string type, std::string name, std::string value, bool has_state) 00090 { 00091 (void) type; 00092 (void) name; 00093 (void) value; 00094 (void) has_state; 00095 } 00096 00097 void 00098 marostring::end_controls(int num_controls) 00099 { 00100 (void) num_controls; 00101 } 00102 00103 void 00104 marostring::end_children(int num_children) 00105 { 00106 (void) num_children; 00107 } 00108 00109 std::string 00110 marostring::str() 00111 { 00112 return result_.str(); 00113 } 00114 00115 void 00116 marostring::clear() 00117 { 00118 result_.clear(); 00119 }