summaryrefslogtreecommitdiff
path: root/omegalib/code_gen/src/CG_stringRepr.cc
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-17 04:25:09 +0000
committerTuowen Zhao <ztuowen@gmail.com>2016-09-17 04:25:09 +0000
commit2e88432af2303327fa504cb452ee0a580e066f03 (patch)
treed51367aba3c360a4e8ab5e0f55642c1d8a96eb7b /omegalib/code_gen/src/CG_stringRepr.cc
parent7717fda8cdb8499514407238c4822914f6bb9e5f (diff)
downloadchill-2e88432af2303327fa504cb452ee0a580e066f03.tar.gz
chill-2e88432af2303327fa504cb452ee0a580e066f03.tar.bz2
chill-2e88432af2303327fa504cb452ee0a580e066f03.zip
Further cleanup
Diffstat (limited to 'omegalib/code_gen/src/CG_stringRepr.cc')
-rw-r--r--omegalib/code_gen/src/CG_stringRepr.cc54
1 files changed, 0 insertions, 54 deletions
diff --git a/omegalib/code_gen/src/CG_stringRepr.cc b/omegalib/code_gen/src/CG_stringRepr.cc
deleted file mode 100644
index 63a1657..0000000
--- a/omegalib/code_gen/src/CG_stringRepr.cc
+++ /dev/null
@@ -1,54 +0,0 @@
-/*****************************************************************************
- 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>
-
-namespace omega {
-
-CG_stringRepr::CG_stringRepr() {
-}
-
-CG_stringRepr::CG_stringRepr(const std::string& _s) : s(_s) {
-}
-
-CG_stringRepr::~CG_stringRepr() {
-}
-
-CG_outputRepr* CG_stringRepr::clone() {
- return new CG_stringRepr(s);
-}
-
-
-//-----------------------------------------------------------------------------
-// basic operation
-//-----------------------------------------------------------------------------
-std::string CG_stringRepr::GetString() const {
- return s;
-}
-
-
-//-----------------------------------------------------------------------------
-// Dump operations
-//-----------------------------------------------------------------------------
-void CG_stringRepr::Dump() const {
- printf("%s\n", s.c_str());
-}
-
-void CG_stringRepr::DumpToFile(FILE *fp) const {
- fprintf(fp,"%s", s.c_str());
-}
-
-} // namespace