@@ -27,7 +27,6 @@ namespace itk
2727/* *
2828 * Check that whether the file with given name is readable.
2929 */
30- /* * @ITKStartGrouping */
3130int
3231ParticleSwarmOptimizerSAXReader::CanReadFile (const char * name)
3332{
@@ -39,11 +38,10 @@ ParticleSwarmOptimizerSAXReader::CanReadFile(const char * name)
3938 }
4039 return yes;
4140}
42- /* *@ITKEndGrouping */
41+
4342/* *
4443 * Method called when a new xml tag start is encountered.
4544 */
46- /* * @ITKStartGrouping */
4745void
4846ParticleSwarmOptimizerSAXReader::StartElement (const char * name,
4947 const char ** atts)
@@ -57,7 +55,7 @@ ParticleSwarmOptimizerSAXReader::StartElement(const char * name,
5755 this ->ContextIs (" /optimizer" ))
5856 {
5957 std::vector<double > * bound = nullptr ;
60- /* *@ITKEndGrouping */
58+
6159 const char * id = this ->GetAttribute (atts, " id" );
6260 if (id == nullptr )
6361 {
@@ -90,7 +88,6 @@ ParticleSwarmOptimizerSAXReader::StartElement(const char * name,
9088/* *
9189 * Method called when an xml tag end is encountered.
9290 */
93- /* * @ITKStartGrouping */
9491void
9592ParticleSwarmOptimizerSAXReader::EndElement (const char * name)
9693{
@@ -108,7 +105,6 @@ ParticleSwarmOptimizerSAXReader::EndElement(const char * name)
108105 bounds.push_back (value);
109106 }
110107 this ->m_OutputObject ->SetParameterBounds (bounds);
111- /* *@ITKEndGrouping*/
112108 this ->m_OutputObject ->SetParametersConvergenceTolerance (
113109 this ->m_ParametersConvergenceTolerance );
114110 }
@@ -160,7 +156,6 @@ ParticleSwarmOptimizerSAXReader::CharacterDataHandler(const char * inData,
160156/* *
161157 * Method for performing XML reading and output generation.
162158 */
163- /* * @ITKStartGrouping */
164159int
165160ParticleSwarmOptimizerSAXReader::ReadFile ()
166161{
@@ -178,7 +173,6 @@ ParticleSwarmOptimizerSAXReader::ReadFile()
178173 e.SetDescription (message.c_str ());
179174 throw e;
180175 }
181- /* *@ITKEndGrouping*/
182176 if (this ->m_OutputObject == nullptr )
183177 {
184178 itkExceptionMacro (" Object to be read is null!\n " );
@@ -198,7 +192,6 @@ ParticleSwarmOptimizerSAXReader::ReadFile()
198192}
199193
200194/* * Process tag 'optimizer' attributes. */
201- /* * @ITKStartGrouping */
202195void
203196ParticleSwarmOptimizerSAXReader::ProcessOptimizerAttributes (
204197 const char ** atts,
@@ -262,9 +255,8 @@ ParticleSwarmOptimizerSAXReader::ProcessOptimizerAttributes(
262255 }
263256 }
264257}
265- /* *@ITKEndGrouping */
258+
266259/* * Process tag 'bound' attributes. */
267- /* * @ITKStartGrouping */
268260void
269261ParticleSwarmOptimizerSAXReader::ProcessBoundAttributes (
270262 const char ** atts,
@@ -290,9 +282,8 @@ ParticleSwarmOptimizerSAXReader::ProcessBoundAttributes(
290282 } // end if
291283 } // end for
292284}
293- /* *@ITKEndGrouping */
285+
294286/* * Search for and return a particular attribute from the attribute list. */
295- /* * @ITKStartGrouping */
296287const char *
297288ParticleSwarmOptimizerSAXReader::GetAttribute (const char ** atts,
298289 const char * key)
@@ -307,9 +298,7 @@ ParticleSwarmOptimizerSAXReader::GetAttribute(const char ** atts,
307298 }
308299 return nullptr ;
309300}
310- /* *@ITKEndGrouping*/
311301/* * Check the current tags to see whether it matches a user input. */
312- /* * @ITKStartGrouping */
313302bool
314303ParticleSwarmOptimizerSAXReader::ContextIs (const char * test) const
315304{
@@ -324,5 +313,4 @@ ParticleSwarmOptimizerSAXReader::ContextIs(const char * test) const
324313 }
325314 return (s == std::string (test));
326315}
327- /* *@ITKEndGrouping*/
328316} // namespace itk
0 commit comments