Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

# ofx_request.hh

Go to the documentation of this file.

    00001 /***************************************************************************
    00002                           ofx_request.hh
    00003                              -------------------
    00004     copyright            : (C) 2005 by Ace Jones
    00005     email                : acejones@users.sourceforge.net
    00006 ***************************************************************************/
    00011 /***************************************************************************
    00012  *                                                                         *
    00013  *   This program is free software; you can redistribute it and/or modify  *
    00014  *   it under the terms of the GNU General Public License as published by  *
    00015  *   the Free Software Foundation; either version 2 of the License, or     *
    00016  *   (at your option) any later version.                                   *
    00017  *                                                                         *
    00018  ***************************************************************************/
    00019
    00020 #ifndef OFX_REQUEST_H
    00021 #define OFX_REQUEST_H
    00022
    00023 #include <string>
    00024 #include "libofx.h"
    00025 #include "ofx_aggregate.hh"
    00026
    00027 using namespace std;
    00028
    00036 class OfxRequest: public OfxAggregate
    00037 {
    00038 public:
    00045   OfxRequest(const OfxFiLogin& fi): OfxAggregate("OFX"), m_login(fi) {}
    00046
    00047 protected:
    00054   OfxAggregate SignOnRequest(void) const;
    00055
    00067   OfxAggregate RequestMessage(const string& msgtype, const string& trntype, const OfxAggregate& aggregate ) const;
    00068
    00069 protected:
    00070   OfxFiLogin m_login;
    00071 };
    00072
    00077
    00078 string time_t_to_ofxdatetime( time_t time );
    00079 string time_t_to_ofxdate( time_t time );
    00080 string OfxHeader(void);
    00081
    00083
    00084 #endif // OFX_REQUEST_H