LibOFX
|
A single aggregate as described in the OFX 1.02 specification. More...
Public Member Functions | |
OfxAggregate (const std::string &tag) | |
void | Add (const std::string &tag, const std::string &data) |
void | AddXml (const std::string &tag, const std::string &data) |
void | Add (const OfxAggregate &sub) |
std::string | Output (void) const |
A single aggregate as described in the OFX 1.02 specification.
This aggregate has a tag, and optionally a number of subordinate elements and aggregates.
An example is: <CCACCTINFO> <CCACCTFROM> <ACCTID>1234 </CCACCTFROM> <SUPTXDL>Y <SVCSTATUS>ACTIVE </CCACCTINFO>
Definition at line 40 of file ofx_aggregate.hh.
|
inline |
Creates a new aggregate, using this tag
tag | The tag of this aggregate |
Definition at line 55 of file ofx_aggregate.hh.
|
inline |
Adds a subordinate aggregate to this aggregate
sub | The aggregate to be added |
Definition at line 85 of file ofx_aggregate.hh.
|
inline |
Adds an element to this aggregate
tag | The tag of the element to be added |
data | The data of the element to be added |
Definition at line 64 of file ofx_aggregate.hh.
Referenced by OfxStatementRequest::BankStatementRequest(), OfxStatementRequest::CreditCardStatementRequest(), OfxStatementRequest::InvestmentStatementRequest(), OfxAccountInfoRequest::OfxAccountInfoRequest(), OfxPaymentRequest::OfxPaymentRequest(), OfxStatementRequest::OfxStatementRequest(), OfxRequest::RequestMessage(), and OfxRequest::SignOnRequest().
|
inline |
Adds an xml element to this aggregate, e.g. <TAG>data</TAG>
tag | The tag of the element to be added |
data | The data of the element to be added |
Definition at line 75 of file ofx_aggregate.hh.
|
inline |
Composes this aggregate into a string
Definition at line 95 of file ofx_aggregate.hh.