blob: f1a7caded0c45aa1d3a6a308722bda05801aadcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
|