[GME-commit] GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep AttributeRep.cpp,1.8,1.9

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Fri Feb 10 21:02:45 CST 2006


Update of /project/gme-repository/GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep
In directory escher:/tmp/cvs-serv11371

Modified Files:
	AttributeRep.cpp 
Log Message:
Content-type dumped for FieldAttributes.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: AttributeRep.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep/AttributeRep.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** AttributeRep.cpp	31 Dec 2004 19:51:20 -0000	1.8
--- AttributeRep.cpp	10 Feb 2006 21:02:43 -0000	1.9
***************
*** 286,289 ****
--- 286,290 ----
  	std::string val_type = m_ptr->getAttribute("DataType")->getStringValue();
  	std::string def_val = Dumper::xmlFilter( m_ptr->getAttribute("FieldDefault")->getStringValue());
+ 	std::string content_type = Dumper::xmlFilter( m_ptr->getAttribute("ContentType")->getStringValue());
  	int multiline = m_ptr->getAttribute("Multiline")->getIntegerValue();
  
***************
*** 304,307 ****
--- 305,311 ----
  		mmm += indStr() + "<regnode name=\"multiLine\" value = \"" + mul + "\"></regnode>\n";
  	}
+ 
+ 	if( !content_type.empty())
+ 		mmm += indStr() + "<regnode name=\"content-type\" value = \"" + content_type + "\"></regnode>\n";
  
  	mmm += dumpHelp();



More information about the GME-commit mailing list