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