BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
FORMAT
trajectoryFileFactory.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_FORMAT_TRAJECTORYFILEFACTORY_H
6
#define BALL_FORMAT_TRAJECTORYFILEFACTORY_H
7
8
#ifndef BALL_SYSTEM_FILE_H
9
# include <
BALL/SYSTEM/file.h
>
10
#endif
11
12
namespace
BALL
13
{
14
class
String;
15
class
TrajectoryFile;
16
22
class
BALL_EXPORT
TrajectoryFileFactory
23
{
24
public
:
36
static
TrajectoryFile
* open(
const
String
& name,
File::OpenMode
open_mode = std::ios::in);
37
42
static
TrajectoryFile
* open(
const
String
& name,
File::OpenMode
open_mode,
String
default_format);
43
48
static
TrajectoryFile
* open(
const
String
& name,
File::OpenMode
open_mode,
TrajectoryFile
* default_format_file);
49
51
static
String
getSupportedFormats();
52
54
static
bool
isFileExtensionSupported(
String
filename);
55
56
private
:
57
59
static
TrajectoryFile
* detectFormat(
const
String
& name);
60
};
61
62
}
63
64
#endif // BALL_FORMAT_TRAJECTORYFILEFACTORY_H
Generated by
1.8.3.1