diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-14 07:17:55 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-14 07:17:55 +0000 |
| commit | 1372ac51ade17bc27126449bf29f99c6c2cf7703 (patch) | |
| tree | 974a54b86b20555c8822f651c7b3a53c0a072df3 /src/ByteArrayDiskWriter.h | |
| parent | 93e5dbed325f29c1bf867a2847d3b839d545cfb2 (diff) | |
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added .cc file for classes/structs that only provided by header
file. Defined non-POD classes' ctor, dtor in .cc file. Moved
implementation code in header file to .cc file for major
classes/strucsts.
Diffstat (limited to 'src/ByteArrayDiskWriter.h')
| -rw-r--r-- | src/ByteArrayDiskWriter.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/ByteArrayDiskWriter.h b/src/ByteArrayDiskWriter.h index e049a06e..cba19b08 100644 --- a/src/ByteArrayDiskWriter.h +++ b/src/ByteArrayDiskWriter.h @@ -66,15 +66,9 @@ public: virtual void disableDirectIO() {} - void setString(const std::string& s) - { - buf_.str(s); - } - - std::string getString() const - { - return buf_.str(); - } + void setString(const std::string& s); + + std::string getString() const; }; typedef SharedHandle<ByteArrayDiskWriter> ByteArrayDiskWriterHandle; |
