]> git.llucax.com Git - software/bife/bife++.git/blob - string.h
Lowercased XML tags.
[software/bife/bife++.git] / string.h
1 // vim: set expandtab tabstop=4 shiftwidth=4:
2
3 #ifndef BIFE_STRING_H
4 #define BIFE_STRING_H
5
6 #include "hit.h"
7 #include "hash.h"
8 #include "widget.h"
9 #include <string>
10
11 namespace bife {
12
13     using std::string;
14
15     /**
16      * Base String Class.
17      *
18      * @todo 
19      */
20     class String: public Widget, public string {
21         // Methods.
22         public:
23             /**
24              * Constructor.
25              */
26             //String(void);
27
28             /**
29              * Constructor.
30              *
31              * @param attrs String attributes.
32              */
33             String(const char*);
34
35             /**
36              * Destructor.
37              */
38             virtual ~String(void);
39
40             /**
41              * Renders the String using a HIT template.
42              *
43              * @param  hit HIT template to use to render de String.
44              * @return Rendered String.
45              */
46             virtual string render(HIT&);
47     };
48
49 }
50
51 #endif