2020-01-16 13:32:29 -06:00
|
|
|
#ifndef WRITE_XML_UTILS_H
|
|
|
|
#define WRITE_XML_UTILS_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <fstream>
|
|
|
|
#include "circuit_library.h"
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
void write_xml_attribute(std::fstream& fp,
|
|
|
|
const char* attr,
|
|
|
|
const char* value);
|
|
|
|
|
2020-01-16 18:21:41 -06:00
|
|
|
void write_xml_attribute(std::fstream& fp,
|
|
|
|
const char* attr,
|
|
|
|
const bool& value);
|
|
|
|
|
2020-01-17 21:02:56 -06:00
|
|
|
void write_xml_attribute(std::fstream& fp,
|
|
|
|
const char* attr,
|
|
|
|
const float& value);
|
|
|
|
|
2020-01-16 13:32:29 -06:00
|
|
|
#endif
|