diff options
Diffstat (limited to 'otk/ustring.cc')
| -rw-r--r-- | otk/ustring.cc | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/otk/ustring.cc b/otk/ustring.cc new file mode 100644 index 00000000..571f9773 --- /dev/null +++ b/otk/ustring.cc @@ -0,0 +1,44 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- + +#ifdef HAVE_CONFIG_H +# include "../config.h" +#endif // HAVE_CONFIG_H + +#include "ustring.hh" + +extern "C" { +#include <assert.h> +} + +namespace otk { + +ustring::ustring() +{ +} + +ustring::~ustring() +{ +} + +ustring::ustring(const ustring& other) + : _string(other._string) +{ +} + +ustring& ustring::operator=(const ustring& other) +{ + _string = other._string; + return *this; +} + +ustring::ustring(const std::string& src) + : _string(src) +{ +} + +ustring::ustring(const char* src) + : _string(src) +{ +} + +} |
