source: to-imperative/trunk/runtime/rf_string.hh @ 1019

Last change on this file since 1019 was 1019, checked in by luba, 18 years ago
  • String::fill(String&, size_t, size_t, wchar_t) method is corrected
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 722 bytes
Line 
1// $Source$
2// $Revision: 1019 $
3// $Date: 2003-07-17 06:08:22 +0000 (Thu, 17 Jul 2003) $
4
5#ifndef __rf_string_hh__
6#define __rf_string_hh__
7
8#include "rf_core.hh"
9#include "rf_object.hh"
10
11namespace rftype
12{
13
14using namespace rfrt;
15
16class String :
17  public Object, public pxx::WString
18{
19
20private:
21
22  static ObjectRegister reg ;
23
24public:
25
26  inline String (size_t len);
27
28  inline String (WString const& _s);
29
30  inline String& operator = (String const& _s) ;
31 
32
33  static Expr fill(String& _str, size_t _pos, 
34                   size_t _len, wchar_t const _fill);
35
36  //
37  // Virtual functions from Object.
38  //
39  inline bool operator == (Object const& _obj) const ;
40
41  inline unsigned get_type () const ;
42
43  inline uint32_t hash () const ;
44
45
46};
47 
48};
49
50#endif // __rf_string_hh__
Note: See TracBrowser for help on using the repository browser.