Last change
on this file was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[88] | 1 | #ifndef _FILE_XMLLIGHT_H |
---|
| 2 | #define _FILE_XMLLIGHT_H |
---|
| 3 | |
---|
| 4 | #include "Behavioural/include/AbstractXMLLight.h" |
---|
| 5 | #include <fstream> |
---|
| 6 | |
---|
| 7 | using std::basic_ifstream; |
---|
| 8 | |
---|
| 9 | namespace morpheo { |
---|
| 10 | namespace XMLUtils { |
---|
| 11 | //**************************************Class Declaration*******************************************// |
---|
| 12 | |
---|
| 13 | template<typename char_type, typename reference_counter_type = ClassicReferenceCounter> |
---|
| 14 | class FileXMLLight : public AbstractXMLLight<char_type, reference_counter_type> { |
---|
| 15 | public: |
---|
| 16 | inline explicit FileXMLLight(const basic_ifstream<char_type> & inputFileStream, |
---|
| 17 | IXMLLight<char_type,reference_counter_type> * parent = NULL ); |
---|
| 18 | }; |
---|
| 19 | |
---|
| 20 | //*****************************************Inline Implementation*************************************// |
---|
| 21 | template < typename char_type, typename ref_counter_type> |
---|
| 22 | FileXMLLight<char_type,ref_counter_type>::FileXMLLight |
---|
| 23 | (const basic_ifstream<char_type> & inputFileStream, IXMLLight<char_type,ref_counter_type> * parent) |
---|
| 24 | : AbstractXMLLight<char_type, ref_counter_type>(inputFileStream, parent) {} |
---|
| 25 | |
---|
| 26 | } |
---|
| 27 | } |
---|
| 28 | #endif //_FILE_XMLLIGHT_H |
---|
Note: See
TracBrowser
for help on using the repository browser.