#include <XdlExporter.hpp>
Public Member Functions | |
XdlExporter (std::ostream &inStream, const std::string &inIndentString="\t") | |
Public constructor. | |
void | operator() (const DesignSharedPtr &inDesignPtr) |
Top level design exporter operator. | |
void | write (const Circuit &circuit) |
Writes the given Circuit. | |
void | write (const Design &design) |
Writes the given Design. | |
void | write (const Module &module) |
Writes the given Module. | |
void | write (const Port &port) |
Writes the given Port. | |
void | write (const Instance &instance) |
Writes the given Instance. | |
void | write (const Net &net) |
Writes the given Net. | |
void | write (const InstancePin &instancePin, EPinDirection pinDirection, bool comma) |
Writes the given InstancePin, with an optional trailing comma. | |
void | write (const Pip &pip, bool comma) |
Writes the given pip, with an options trailing comma. | |
void | write (const Routethrough &routethrough) |
Writes the given Routethrough. | |
void | write (const ConfigMap &configMap) |
Writes the given ConfigMap. | |
Private Member Functions | |
void | indent (void) const |
Indent the current line. | |
Private Attributes | |
std::ostream & | mStream |
The output stream. | |
int | mIndentCount |
The indent count. | |
std::string | mIndentString |
The indent string. |
Definition at line 31 of file XdlExporter.hpp.
torc::physical::XdlExporter::XdlExporter | ( | std::ostream & | inStream, | |
const std::string & | inIndentString = "\t" | |||
) | [inline] |
Public constructor.
inStream | The output stream. | |
inIndentString | The indent string. The default parameter uses a single tab. |
Definition at line 48 of file XdlExporter.hpp.
void torc::physical::XdlExporter::indent | ( | void | ) | const [inline, private] |
void torc::physical::XdlExporter::operator() | ( | const DesignSharedPtr & | inDesignPtr | ) |
Top level design exporter operator.
Definition at line 25 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Circuit & | circuit | ) |
void torc::physical::XdlExporter::write | ( | const Design & | design | ) |
void torc::physical::XdlExporter::write | ( | const Module & | module | ) |
void torc::physical::XdlExporter::write | ( | const Port & | port | ) |
void torc::physical::XdlExporter::write | ( | const Instance & | instance | ) |
void torc::physical::XdlExporter::write | ( | const Net & | net | ) |
void torc::physical::XdlExporter::write | ( | const InstancePin & | instancePin, | |
EPinDirection | pinDirection, | |||
bool | comma | |||
) |
Writes the given InstancePin, with an optional trailing comma.
Definition at line 186 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Pip & | pip, | |
bool | comma | |||
) |
Writes the given pip, with an options trailing comma.
Definition at line 196 of file XdlExporter.cpp.
void torc::physical::XdlExporter::write | ( | const Routethrough & | routethrough | ) |
void torc::physical::XdlExporter::write | ( | const ConfigMap & | configMap | ) |
std::ostream& torc::physical::XdlExporter::mStream [private] |
int torc::physical::XdlExporter::mIndentCount [private] |
std::string torc::physical::XdlExporter::mIndentString [private] |