24 #include "ParserEventGeneratorKit.h" 
   31 OfxGenericContainer::OfxGenericContainer(
LibofxContext *p_libofx_context)
 
   33   parentcontainer = NULL;
 
   36   libofx_context = p_libofx_context;
 
   40   libofx_context = p_libofx_context;
 
   41   parentcontainer = para_parentcontainer;
 
   42   if (parentcontainer != NULL && parentcontainer->
type == 
"DUMMY")
 
   44     message_out(
DEBUG, 
"OfxGenericContainer(): The parent is a DummyContainer!");
 
   49   libofx_context = p_libofx_context;
 
   50   parentcontainer = para_parentcontainer;
 
   52   if (parentcontainer != NULL && parentcontainer->
type == 
"DUMMY")
 
   61   message_out(
ERROR, 
"WRITEME: " + identifier + 
" (" + value + 
") is not supported by the " + 
type + 
" container");
 
   65   return parentcontainer;
 
   76   if (MainContainer != NULL)
 
   78     return MainContainer->add_container(
this);
 
OfxGenericContainer * getparent()
Returns the parent container object (the one representing the containing OFX SGML element) ...
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. 
int message_out(OfxMsgType error_type, const string message)
Message output function. 
virtual int add_to_main_tree()
Add this container to the main tree. 
virtual int gen_event()
Generate libofx.h events. 
LibOFX internal object code. 
Message IO functionality. 
The root container. Created by the <OFX> OFX element or by the export functions.