summaryrefslogtreecommitdiff
path: root/lib/codegen/src/CG_stringRepr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/codegen/src/CG_stringRepr.cc')
-rwxr-xr-xlib/codegen/src/CG_stringRepr.cc32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/codegen/src/CG_stringRepr.cc b/lib/codegen/src/CG_stringRepr.cc
new file mode 100755
index 0000000..f1a7cad
--- /dev/null
+++ b/lib/codegen/src/CG_stringRepr.cc
@@ -0,0 +1,32 @@
+/*****************************************************************************
+ Copyright (C) 1994-2000 University of Maryland
+ Copyright (C) 2008 University of Southern California
+ Copyright (C) 2009 University of Utah
+ All Rights Reserved.
+
+ Purpose:
+ omega holder for string implementation.
+
+ Notes:
+
+ History:
+ 04/17/96 - Lei Zhou - created
+*****************************************************************************/
+
+
+#include <code_gen/CG_stringRepr.h>
+#include <stdio.h>
+#include <string.h>
+
+namespace omega {
+
+ //-----------------------------------------------------------------------------
+ // Dump operations
+ //-----------------------------------------------------------------------------
+ void CG_stringRepr::Dump() const { dump(); } // TODO combine dump() and Dump()
+
+ void CG_stringRepr::DumpToFile(FILE *fp) const {
+ fprintf(fp,"%s", s_.c_str());
+ }
+
+} // namespace