- Timestamp:
- Mar 6, 2007, 3:34:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/XML.h
r2 r3 23 23 class XML 24 24 { 25 typedef enum {_none ,26 _balise ,27 _singleton,28 _comment } balise_t;29 30 25 // -----[ fields ]---------------------------------------------------- 31 private : const string _ filename;26 private : const string _name ; 32 27 private : string _body ; 33 28 private : list<string> _list_balise_name; 34 29 35 30 // -----[ methods ]--------------------------------------------------- 36 public : XML (string filename); 37 public : XML (string filename, string encoding); 31 public : XML (string name); 38 32 public : ~XML (void); 39 33 … … 47 41 public : bool attribut (string name, string value); 48 42 43 public : void generate_file (void); 44 public : void generate_file (string encoding); 45 public : string get_body (void); 46 public : string get_body (uint32_t depth); 47 49 48 public : bool comment (string text); 50 49 public : bool text (string text); … … 55 54 56 55 private : void header (string encoding); 57 58 public : void generate_file (void);59 public : string get_body (void);60 56 }; 61 57 }; // end namespace behavioural
Note: See TracChangeset
for help on using the changeset viewer.