| 1 |
/*========================================================================= |
| 2 |
|
| 3 |
Program: KWStyle - Kitware Style Checker |
| 4 |
Module: kwsTestFile.h |
| 5 |
|
| 6 |
Copyright (c) Kitware, Inc. All rights reserved. |
| 7 |
See Copyright.txt or http://www.kitware.com/Copyright.htm for details. |
| 8 |
|
| 9 |
This software is distributed WITHOUT ANY WARRANTY; without even |
| 10 |
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 11 |
PURPOSE. See the above copyright notices for more information. |
| 12 |
|
| 13 |
=========================================================================*/ |
| 14 |
#ifndef kwsTestFile_h |
| 15 |
#define kwsTestFile_h |
| 16 |
|
| 17 |
#include "itkXMLDefs.h" |
| 18 |
|
| 19 |
namespace kws |
| 20 |
{ |
| 21 |
|
| 22 |
// Forward of internally used class. |
| 23 |
class XMLDescription; |
| 24 |
|
| 25 |
/** this is a test |
| 26 |
* for the comments */ |
| 27 |
class itkXMLReader |
| 28 |
{ |
| 29 |
public: |
| 30 |
|
| 31 |
//! Read an XML file and populate the current XML description. |
| 32 |
//! Return 1 on success, otherwise 0. |
| 33 |
static int Read(const std::string &filename, XMLDescription &desc, bool suppressError=true) |
| 34 |
{ |
| 35 |
} |
| 36 |
|
| 37 |
m_testouille ; |
| 38 |
private: |
| 39 |
|
| 40 |
//! Parse the buffer starting from position init for the xml tag "tag", |
| 41 |
//! return its content as string value and set init to the position |
| 42 |
//! directly after the end of the parsed tag. |
| 43 |
static std::string ReadTag(std::string buffer, const std::string &tag, size_t & init) { ;} |
| 44 |
|
| 45 |
protected: |
| 46 |
|
| 47 |
}; |
| 48 |
|
| 49 |
} // end namespace |
| 50 |
|
| 51 |
#endif |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|