gld_loadHndl Class Reference

List of all members.

Detailed Description

Definition at line 68 of file load_xml_handle.h.

Public Member Functions

char * build_object_vect (int start, int end)
 Stuffs a number of new objects into obj_vect based on our inputs.
void characters (const XMLCh *const chars, const unsigned int length)
 characters() is where the raw text between the tags is handled.
bool did_load ()
void endDocument ()
 endDocument() is called when the end of the file is reached.
void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
 endElement() is called for every tag, and should zero whatever level of the stack corresponds to the tag.
void error (const SAXParseException &exc)
void fatalError (const SAXParseException &exc)
 gld_loadHndl (const char *const, const XMLFormatter::UnRepFlags, const bool)
 gld_loadHndl ()
void ignorableWhitespace (const XMLCh *const chars, const unsigned int length)
void notationDecl (const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)
void parse_property (char *buffer)
 parse_property() breaks a string into its propname and propval before handing both to the module getvar/setvar methods.
void processingInstruction (const XMLCh *const target, const XMLCh *const data)
void setDocumentLocator (const Locator *const locator)
void startDocument ()
 startDocument() is the
void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attributes)
void warning (const SAXParseException &exc)
void writeChars (const XMLByte *const toWrite, const unsigned int count, XMLFormatter *const formatter)
void writeChars (const XMLByte *const toWrite)
 ~gld_loadHndl ()


Member Function Documentation

char * gld_loadHndl::build_object_vect ( int  start,
int  end 
)

Stuffs a number of new objects into obj_vect based on our inputs.

Parameters:
start first index for the objects, -1 if anonymous
end last index for the objects, if -1, assume 1 object
Returns:
positive logic ~ 1 success, 0 failure

Definition at line 867 of file load_xml_handle.cpp.

References load_set_index().

void gld_loadHndl::endDocument (  ) 

endDocument() is called when the end of the file is reached.

Any post-processing within the parser should occur here.

Definition at line 351 of file load_xml_handle.cpp.

References class_get_count(), FAILED, load_resolve_all(), s_object_list::next, object_get_count(), object_get_first(), object_set_parent(), output_error(), output_verbose(), output_warning(), and s_object_list::parent.


The documentation for this class was generated from the following files:
GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy