IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Air Shower Physics
corsika-data
Commits
deaba53f
Commit
deaba53f
authored
4 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
better errors
parent
dc1eb37e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
readLib/source/Interface.dummy.cc
+7
-7
7 additions, 7 deletions
readLib/source/Interface.dummy.cc
with
7 additions
and
7 deletions
readLib/source/Interface.dummy.cc
+
7
−
7
View file @
deaba53f
...
@@ -14,23 +14,23 @@
...
@@ -14,23 +14,23 @@
namespace
corsika_data
{
namespace
corsika_data
{
void
CorDataOpenFile
(
const
std
::
string
&
)
{
void
CorDataOpenFile
(
const
std
::
string
&
)
{
throw
std
::
runtime_error
(
"Cannot read compressed data files with dummy library."
);
throw
std
::
runtime_error
(
"
CorDataOpenFile:
Cannot read compressed data files with dummy library."
);
}
}
void
CorDataFillArray
(
double
*
,
const
int
&
)
{
void
CorDataFillArray
(
double
*
,
const
int
&
)
{
throw
std
::
runtime_error
(
"Cannot read compressed data files with dummy library."
);
throw
std
::
runtime_error
(
"
CorDataFillArray:
Cannot read compressed data files with dummy library."
);
}
}
void
CorDataCloseFile
()
{
void
CorDataCloseFile
()
{
throw
std
::
runtime_error
(
"Cannot read compressed data files with dummy library."
);
throw
std
::
runtime_error
(
"
CorDataCloseFile:
Cannot read compressed data files with dummy library."
);
}
}
double
CorDataNextNumber
()
{
double
CorDataNextNumber
()
{
throw
std
::
runtime_error
(
"Cannot read compressed data files with dummy library."
);
throw
std
::
runtime_error
(
"
CorDataNextNumber:
Cannot read compressed data files with dummy library."
);
return
0
;
return
0
;
}
}
void
CorDataNextText
(
std
::
string
&
)
{
void
CorDataNextText
(
std
::
string
&
)
{
throw
std
::
runtime_error
(
"Cannot read compressed data files with dummy library."
);
throw
std
::
runtime_error
(
"
CorDataNextText(string&):
Cannot read compressed data files with dummy library."
);
}
}
void
CorDataNextText
(
char
*
,
int
)
{
void
CorDataNextText
(
char
*
,
int
)
{
throw
std
::
runtime_error
(
"Cannot read compressed data files with dummy library."
);
throw
std
::
runtime_error
(
"
CorDataNextText(char*):
Cannot read compressed data files with dummy library."
);
}
}
bool
CorDataCanDeCompress
()
{
return
false
;
}
bool
CorDataCanDeCompress
()
{
return
false
;
}
...
@@ -43,7 +43,7 @@ namespace corsika_data {
...
@@ -43,7 +43,7 @@ namespace corsika_data {
void
cordataclosefile_
()
{
CorDataCloseFile
();
}
void
cordataclosefile_
()
{
CorDataCloseFile
();
}
double
cordatanextnumber_
()
{
return
CorDataNextNumber
();
}
double
cordatanextnumber_
()
{
return
CorDataNextNumber
();
}
void
cordatanexttext_
(
char
*
,
int
)
{
void
cordatanexttext_
(
char
*
,
int
)
{
throw
std
::
runtime_error
(
"Cannot read compressed data files with dummy library."
);
throw
std
::
runtime_error
(
"
cordatanexttext_:
Cannot read compressed data files with dummy library."
);
}
}
int
cordatacandecompress_
()
{
return
0
;
}
int
cordatacandecompress_
()
{
return
0
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment