- Timestamp:
- Jan 19, 2008, 12:09:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/XML.h
r44 r71 16 16 #include "Common/include/Debug.h" 17 17 18 using namespace std;19 20 18 namespace morpheo { 21 19 namespace behavioural { … … 25 23 { 26 24 // -----[ fields ]---------------------------------------------------- 27 private : const st ring _name ;28 private : st ring _filename_extension;29 private : st ring _body ;30 private : list<string> _list_balise_name ;25 private : const std::string _name ; 26 private : std::string _filename_extension; 27 private : std::string _body ; 28 private : std::list<std::string> _list_balise_name ; 31 29 32 30 // -----[ methods ]--------------------------------------------------- 33 public : XML (st ring name);31 public : XML (std::string name); 34 32 public : ~XML (void); 35 33 36 public : bool balise_open (st ring name); // no attribut37 public : bool balise_open_begin (st ring name);34 public : bool balise_open (std::string name); // no attribut 35 public : bool balise_open_begin (std::string name); 38 36 public : bool balise_open_end (void); 39 37 public : bool balise_close (void); 40 public : bool singleton (st ring name); // no attribut41 public : bool singleton_begin (st ring name);38 public : bool singleton (std::string name); // no attribut 39 public : bool singleton_begin (std::string name); 42 40 public : bool singleton_end (void); 43 public : bool attribut (st ring name,string value);41 public : bool attribut (std::string name, std::string value); 44 42 public : bool insert_XML (XML xml ); 45 43 46 public : void filename_extension (st ring extension);44 public : void filename_extension (std::string extension); 47 45 public : void generate_file (void); 48 public : void generate_file (st ring encoding);49 public : st ring get_body (void);50 public : st ring get_body (uint32_t depth);46 public : void generate_file (std::string encoding); 47 public : std::string get_body (void); 48 public : std::string get_body (uint32_t depth); 51 49 52 public : bool comment (st ring text);53 public : bool text (st ring text);50 public : bool comment (std::string text); 51 public : bool text (std::string text); 54 52 55 private : st ring indent (uint32_t depth );56 private : st ring indent (void);53 private : std::string indent (uint32_t depth ); 54 private : std::string indent (void); 57 55 private : uint32_t depth (void); 58 56 59 private : void header (st ring encoding);57 private : void header (std::string encoding); 60 58 }; 61 59 }; // end namespace behavioural
Note: See TracChangeset
for help on using the changeset viewer.