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

Last change on this file since 887 was 887, checked in by luba, 18 years ago
  • String class
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 678 bytes
Line 
1// $Source$
2// $Revision: 887 $
3// $Date: 2003-06-29 16:49:44 +0000 (Sun, 29 Jun 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  static Expr create_expr(String*  _string) ;
29
30  static Expr fill(String& _str, size_t _pos, 
31                   size_t _len, wchar_t const _fill);
32
33  //
34  // Virtual functions from Object.
35  //
36  inline bool operator == (Object const& _obj) const ;
37
38  inline unsigned get_type () const ;
39
40  inline uint32_t hash () const ;
41};
42 
43};
44
45#endif // __rf_string_hh__
Note: See TracBrowser for help on using the repository browser.