BALL
1.4.79
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
BALL::TrajectoryFile
Definition:
trajectoryFile.h:28
BALL::String
Definition:
string.h:61
file.h
BALL::File::OpenMode
std::ios::openmode OpenMode
Definition:
file.h:168
BALL::TrajectoryFileFactory
Definition:
trajectoryFileFactory.h:22
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
Generated by
1.8.7