/** @file InitData.h
 *
 *  @brief ippToPsps
 *
 *  @ingroup ippToPsps
 *
 *  @author IfA
 *  Copyright 2011 Institute for Astronomy, University of Hawaii
 */

#ifndef IPPTOPSPS_INITDATA_H
#define IPPTOPSPS_INITDATA_H

#include <libxml/parser.h>
#include <libxml/tree.h>

#include <psmodules.h>

#include "Logger.h"

/**

  Class encapsulating the initialization data

*/
typedef struct InitData {

    // fields
    char path[1000];
    xmlDoc* doc;
    Logger* logger;

    // methods
    bool (*getFilterId)();
    bool (*getSurveyId)();
    bool (*getStackTypeId)();
    bool (*getModelFitId)();

    // destructor
    void (*destroy)();

} InitData; 

// constructor
InitData* new_InitData(const char* path, Logger* logger);

#endif // IPPTOPSPS_INITDATA_H

