plastimatch
Loading...
Searching...
No Matches
src
base
plm_file_format.h
Go to the documentation of this file.
1
/* -----------------------------------------------------------------------
2
See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3
----------------------------------------------------------------------- */
4
#ifndef _plm_file_format_h_
5
#define _plm_file_format_h_
6
7
#include "
plmbase_config.h
"
8
9
class
Pstring;
10
11
enum
Plm_file_format
{
12
PLM_FILE_FMT_NO_FILE
,
13
PLM_FILE_FMT_UNKNOWN
,
14
PLM_FILE_FMT_IMG
,
15
PLM_FILE_FMT_VF
,
16
PLM_FILE_FMT_DIJ
,
17
PLM_FILE_FMT_POINTSET
,
18
PLM_FILE_FMT_CXT
,
19
PLM_FILE_FMT_DICOM_DIR
,
20
PLM_FILE_FMT_XIO_DIR
,
21
PLM_FILE_FMT_RTOG_DIR
,
22
PLM_FILE_FMT_RT_STUDY_DIR
,
23
PLM_FILE_FMT_PROJ_IMG
,
24
PLM_FILE_FMT_DICOM_RTSS
,
25
PLM_FILE_FMT_DICOM_DOSE
,
26
PLM_FILE_FMT_DICOM_RTPLAN
,
27
PLM_FILE_FMT_SS_IMG_VEC
,
28
PLM_FILE_FMT_PROJ_IMG_DIR
29
};
30
31
PLMBASE_API
Plm_file_format
plm_file_format_deduce
(
const
char
* path);
32
PLMBASE_API
Plm_file_format
plm_file_format_deduce
(
const
std::string& path);
33
PLMBASE_API
char
*
plm_file_format_string
(
Plm_file_format
file_type);
34
PLMBASE_API
Plm_file_format
plm_file_format_parse
(
const
char
*
string
);
35
PLMBASE_API
Plm_file_format
plm_file_format_from_extension
(
const
char
* filename);
36
37
#endif
plm_file_format_parse
Plm_file_format plm_file_format_parse(const char *string)
Definition
plm_file_format.cxx:213
plm_file_format_deduce
Plm_file_format plm_file_format_deduce(const char *path)
Definition
plm_file_format.cxx:57
plm_file_format_from_extension
Plm_file_format plm_file_format_from_extension(const char *filename)
Definition
plm_file_format.cxx:258
Plm_file_format
Plm_file_format
Definition
plm_file_format.h:11
PLM_FILE_FMT_UNKNOWN
@ PLM_FILE_FMT_UNKNOWN
Definition
plm_file_format.h:13
PLM_FILE_FMT_NO_FILE
@ PLM_FILE_FMT_NO_FILE
Definition
plm_file_format.h:12
PLM_FILE_FMT_PROJ_IMG_DIR
@ PLM_FILE_FMT_PROJ_IMG_DIR
Definition
plm_file_format.h:28
PLM_FILE_FMT_DICOM_RTPLAN
@ PLM_FILE_FMT_DICOM_RTPLAN
Definition
plm_file_format.h:26
PLM_FILE_FMT_POINTSET
@ PLM_FILE_FMT_POINTSET
Definition
plm_file_format.h:17
PLM_FILE_FMT_RTOG_DIR
@ PLM_FILE_FMT_RTOG_DIR
Definition
plm_file_format.h:21
PLM_FILE_FMT_DIJ
@ PLM_FILE_FMT_DIJ
Definition
plm_file_format.h:16
PLM_FILE_FMT_CXT
@ PLM_FILE_FMT_CXT
Definition
plm_file_format.h:18
PLM_FILE_FMT_RT_STUDY_DIR
@ PLM_FILE_FMT_RT_STUDY_DIR
Definition
plm_file_format.h:22
PLM_FILE_FMT_XIO_DIR
@ PLM_FILE_FMT_XIO_DIR
Definition
plm_file_format.h:20
PLM_FILE_FMT_DICOM_DOSE
@ PLM_FILE_FMT_DICOM_DOSE
Definition
plm_file_format.h:25
PLM_FILE_FMT_DICOM_RTSS
@ PLM_FILE_FMT_DICOM_RTSS
Definition
plm_file_format.h:24
PLM_FILE_FMT_SS_IMG_VEC
@ PLM_FILE_FMT_SS_IMG_VEC
Definition
plm_file_format.h:27
PLM_FILE_FMT_IMG
@ PLM_FILE_FMT_IMG
Definition
plm_file_format.h:14
PLM_FILE_FMT_PROJ_IMG
@ PLM_FILE_FMT_PROJ_IMG
Definition
plm_file_format.h:23
PLM_FILE_FMT_VF
@ PLM_FILE_FMT_VF
Definition
plm_file_format.h:15
PLM_FILE_FMT_DICOM_DIR
@ PLM_FILE_FMT_DICOM_DIR
Definition
plm_file_format.h:19
plm_file_format_string
char * plm_file_format_string(Plm_file_format file_type)
Definition
plm_file_format.cxx:174
plmbase_config.h
PLMBASE_API
#define PLMBASE_API
Definition
plmbase_config.h:19
Generated on Wed Oct 30 2024 14:54:42 for plastimatch by
1.11.0