torc::physical::XdlExporter Class Reference

Physical design exporter for XDL. More...

#include <XdlExporter.hpp>

List of all members.

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.


Detailed Description

Physical design exporter for XDL.

Definition at line 31 of file XdlExporter.hpp.


Constructor & Destructor Documentation

torc::physical::XdlExporter::XdlExporter ( std::ostream &  inStream,
const std::string &  inIndentString = "\t" 
) [inline]

Public constructor.

Parameters:
inStream The output stream.
inIndentString The indent string. The default parameter uses a single tab.

Definition at line 48 of file XdlExporter.hpp.


Member Function Documentation

void torc::physical::XdlExporter::indent ( void   )  const [inline, private]

Indent the current line.

Definition at line 41 of file XdlExporter.hpp.

void torc::physical::XdlExporter::operator() ( const DesignSharedPtr inDesignPtr  ) 

Top level design exporter operator.

Todo:
Acquire mutex.

Todo:
Release mutex.

Definition at line 25 of file XdlExporter.cpp.

void torc::physical::XdlExporter::write ( const Circuit circuit  ) 

Writes the given Circuit.

Definition at line 41 of file XdlExporter.cpp.

void torc::physical::XdlExporter::write ( const Design design  ) 

Writes the given Design.

Definition at line 53 of file XdlExporter.cpp.

void torc::physical::XdlExporter::write ( const Module module  ) 

Writes the given Module.

Definition at line 69 of file XdlExporter.cpp.

void torc::physical::XdlExporter::write ( const Port port  ) 

Writes the given Port.

Definition at line 90 of file XdlExporter.cpp.

void torc::physical::XdlExporter::write ( const Instance instance  ) 

Writes the given Instance.

Definition at line 117 of file XdlExporter.cpp.

void torc::physical::XdlExporter::write ( const Net net  ) 

Writes the given Net.

Definition at line 149 of file XdlExporter.cpp.

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  ) 

Writes the given Routethrough.

Definition at line 206 of file XdlExporter.cpp.

void torc::physical::XdlExporter::write ( const ConfigMap configMap  ) 

Writes the given ConfigMap.

Definition at line 98 of file XdlExporter.cpp.


Member Data Documentation

std::ostream& torc::physical::XdlExporter::mStream [private]

The output stream.

Definition at line 34 of file XdlExporter.hpp.

The indent count.

Definition at line 36 of file XdlExporter.hpp.

The indent string.

Definition at line 38 of file XdlExporter.hpp.


The documentation for this class was generated from the following files:

Generated on Thu Oct 13 16:50:49 2011 for TORC by  doxygen 1.5.6