39   memset(&data, 0, 
sizeof(data));
    42 OfxSecurityContainer::~OfxSecurityContainer()
    47   if (identifier == 
"UNIQUEID")
    49     strncpy(data.unique_id, value.c_str(), 
sizeof(data.unique_id));
    50     data.unique_id_valid = 
true;
    52   else if (identifier == 
"UNIQUEIDTYPE")
    54     strncpy(data.unique_id_type, value.c_str(), 
sizeof(data.unique_id_type));
    55     data.unique_id_type_valid = 
true;
    57   else if (identifier == 
"SECNAME")
    59     strncpy(data.secname, value.c_str(), 
sizeof(data.secname));
    60     data.secname_valid = 
true;
    62   else if (identifier == 
"TICKER")
    64     strncpy(data.ticker, value.c_str(), 
sizeof(data.ticker));
    65     data.ticker_valid = 
true;
    67   else if (identifier == 
"UNITPRICE")
    70     data.unitprice_valid = 
true;
    72   else if (identifier == 
"DTASOF")
    75     data.date_unitprice_valid = 
true;
    77   else if (identifier == 
"CURDEF")
    79     strncpy(data.currency, value.c_str(), OFX_CURRENCY_LENGTH);
    80     data.currency_valid = 
true;
    82   else if (identifier == 
"MEMO" || identifier == 
"MEMO2")
    84     strncpy(data.memo, value.c_str(), 
sizeof(data.memo));
    85     data.memo_valid = 
true;
    87   else if (identifier == 
"FIID")
    89     strncpy(data.fiid, value.c_str(), OFX_FIID_LENGTH);
    90     data.fiid_valid = 
true;
   100   libofx_context->securityCallback(data);
   106   if (MainContainer != NULL)
   108     return MainContainer->add_container(
this);
 A generic container for an OFX SGML element. Every container inherits from OfxGenericContainer. 
virtual void add_attribute(const string identifier, const string value)
Add data to a container object. 
virtual int add_to_main_tree()
Add this container to the main tree. 
virtual int gen_event()
Generate libofx.h events. 
void add_attribute(const string identifier, const string value)
Add data to a container object. 
time_t ofxdate_to_time_t(const string ofxdate)
Convert a C++ string containing a time in OFX format to a C time_t. 
double ofxamount_to_double(const string ofxamount)
Convert OFX amount of money to double float. 
Various simple functions for type conversion & al. 
LibOFX internal object code. 
Message IO functionality. 
The root container. Created by the <OFX> OFX element or by the export functions.