GetFilename
Returns the filename associated with the CFitsFile object.
Syntax
const string GetFilename();
Parameters
None
Returns
const std::string - The filename associated with the CFitsFile object.
Required Headers
CFitsFile.h
Namespace
arc
Throws
std::runtime_error
Remarks
None
Example
        #include <iostream>
        #include "CFitsFile.h"

        using namespace std;
        using namespace arc;

        int main()
        {
            try {
                CFitsFile cFits( "Image1.fit" );
                cout << "FITS filename: " << cFits.GetFilename() << endl; 
            }
            catch ( std::exception &e )
            {
                cerr << "Exception Occurred: " << e.what() << endl;
            }
        }

        OUTPUT:
        Fits filename: Image1.fit

© Astronomical Research Cameras, Inc.