able

    int flag;

public:
    bool goodInput;
    FSConfiguration();
    void setDefaultValues();

    void read(const FileNode& node);                          //Read serialization for this class
    bool readConfiguration(bool mode);							//Mode is so that on initialization readConfiguration won't complain if file not found
    void interprate();
};

static void read(const FileNode& node, FSConfiguration& x, const FSConfiguration& default_value = FSConfiguration())
{
    if(node.empty())
        x = default_value;
    else
        x.read(node);
}

#endif // FSCONFIGURATION_H
