WvStreams
include
wvstdstring.h
1
/* -*- Mode: C++ -*-
2
* Worldvisions Weaver Software:
3
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4
*
5
* Some helper functions for WvString so it's more easily interchangeable
6
* with std::string. These functions are in a separate include file so we
7
* don't need a separate library *and* we don't need to #include <string> in
8
* wvstring.h.
9
*/
10
#ifndef __WVSTDSTRING_H
11
#define __WVSTDSTRING_H
12
13
#include "wvstring.h"
14
15
inline
WvFastString::WvFastString
(
const
std::string &s)
16
{
17
construct(s.c_str());
18
}
19
20
21
inline
WvString::WvString(
const
std::string &s)
22
{
23
construct(s.c_str());
24
}
25
26
#if 0
27
inline
WvFastString::operator std::string()
const
28
{
29
return
cstr();
30
}
31
#endif
32
33
#endif // __WVSTDSTRING_H
WvFastString::WvFastString
WvFastString()
Create an empty, NULL string.
Definition:
wvstring.cc:33
Generated by
1.8.17