FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
bool FitsFile::SetFile
(
CCfits::FITS *
file
=
0
)
Definition at line
139
of file
FitsFile.cc
.
References
Error()
.
Referenced by
AddColumn()
.
140
{
141
if
(!file)
142
{
143
Error
(
"Fits::SetFile failed: NULL argument."
);
144
return
false
;
145
}
146
147
if
(
fFile
)
148
{
149
Error
(
"Fits::SetFile failed: File already set."
);
150
return
false
;
151
}
152
153
fFile
= file;
154
fIsOwner
=
false
;
155
156
return
true
;
157
}
FitsFile::fFile
CCfits::FITS * fFile
Definition:
FitsFile.h:18
MessageImp::Error
int Error(const std::string &str)
Definition:
MessageImp.h:49
FitsFile::fIsOwner
bool fIsOwner
Definition:
FitsFile.h:24
Here is the call graph for this function:
Here is the caller graph for this function:
FitsFile
Generated on Sun Sep 18 2016 20:50:52 for FACT++ by
1.8.11