From 75ff98e4d65862ff5b36b533b4f6e3ea71ede1d5 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sat, 17 Sep 2016 03:22:53 +0000 Subject: cmake build --- omega/code_gen/src/CG_stringRepr.cc | 54 ------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 omega/code_gen/src/CG_stringRepr.cc (limited to 'omega/code_gen/src/CG_stringRepr.cc') diff --git a/omega/code_gen/src/CG_stringRepr.cc b/omega/code_gen/src/CG_stringRepr.cc deleted file mode 100644 index 63a1657..0000000 --- a/omega/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 -#include - -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 -- cgit v1.2.3-70-g09d2