STIR
6.2.0
home
sirfuser
devel
STIRdistrib
STIR
src
include
stir
interfile_keyword_functions.h
Go to the documentation of this file.
1
9
/*
10
Copyright (C) 2000-2009, Hammersmith Imanet Ltd
11
This file is part of STIR.
12
13
SPDX-License-Identifier: Apache-2.0
14
15
See STIR/LICENSE.txt for details
16
*/
17
18
#ifndef __stir_interfile_keyword_functions_H__
19
#define __stir_interfile_keyword_functions_H__
20
#include "
stir/common.h
"
21
22
#include <string>
23
24
START_NAMESPACE_STIR
25
27
37
std::string
standardise_interfile_keyword
(
const
std::string& keyword);
38
40
46
struct
interfile_less
47
{
48
bool
operator()(
const
std::string& a,
const
std::string& b)
const
49
{
50
return
standardise_interfile_keyword
(a) <
standardise_interfile_keyword
(b);
51
}
52
};
53
54
END_NAMESPACE_STIR
55
56
#endif
stir::standardise_interfile_keyword
string standardise_interfile_keyword(const string &keyword)
Put a (Interfile) keyword into a standard form.
Definition:
interfile_keyword_functions.cxx:28
stir::interfile_less
A function object that compares Interfile keywords.
Definition:
interfile_keyword_functions.h:46
common.h
basic configuration include file
Generated on Tue Jul 23 2024 09:13:10 for STIR by
1.8.13