OpenASIP
2.0
|
#include <IPXactSerializer.hh>
Public Member Functions | |
IPXactSerializer () | |
virtual | ~IPXactSerializer () |
virtual void | writeState (const ObjectState *ipXactState) |
void | writeIPXactModel (const IPXactModel &model) |
Public Member Functions inherited from XMLSerializer | |
XMLSerializer () | |
virtual | ~XMLSerializer () |
void | setSourceFile (const std::string &fileName) |
void | setSourceString (const std::string &source) |
void | setDestinationFile (const std::string &fileName) |
void | setDestinationString (std::string &destination) |
void | setSchemaFile (const std::string &fileName) |
void | setUseSchema (bool useSchema) |
void | setXMLNamespace (std::string nsUri) |
Public Member Functions inherited from TCETools::Serializer | |
virtual | ~Serializer () |
Private Member Functions | |
IPXactSerializer (const IPXactSerializer &) | |
Copying forbidden. More... | |
IPXactSerializer & | operator= (const IPXactSerializer &) |
Assingment forbidden. More... | |
ObjectState * | readState () |
Reading is not (yet) implemented. More... | |
Static Private Attributes | |
static const TCEString | SPIRIT_NS_URI |
Additional Inherited Members | |
Protected Member Functions inherited from XMLSerializer | |
std::string | sourceFile () const |
Definition at line 40 of file IPXactSerializer.hh.
IPXactSerializer::IPXactSerializer | ( | ) |
Definition at line 40 of file IPXactSerializer.cc.
References XMLSerializer::setUseSchema().
|
virtual |
Definition at line 46 of file IPXactSerializer.cc.
|
private |
Copying forbidden.
|
private |
Assingment forbidden.
|
privatevirtual |
Reading is not (yet) implemented.
Reimplemented from XMLSerializer.
Definition at line 64 of file IPXactSerializer.cc.
void IPXactSerializer::writeIPXactModel | ( | const IPXactModel & | model | ) |
Definition at line 56 of file IPXactSerializer.cc.
References IPXactModel::saveState(), and writeState().
Referenced by IPXactFileGenerator::writeProjectFiles().
|
virtual |
Writes the given object state to a file or string.
File is written if a destiantion file is set with setDestinationFile(). String is written if a destination string is set with setDestinationString(). Only the last file/string set will be written.
Reimplemented from XMLSerializer.
Definition at line 50 of file IPXactSerializer.cc.
References XMLSerializer::setXMLNamespace(), SPIRIT_NS_URI, and XMLSerializer::writeState().
Referenced by writeIPXactModel().
|
staticprivate |
Definition at line 59 of file IPXactSerializer.hh.
Referenced by writeState().