Go to the documentation of this file.
64 const string FU =
"fu";
68 const string RF =
"rf";
72 const string IU =
"iu";
75 const string BUS =
"bus";
210 std::string name =
"";
211 std::string fileName =
"";
212 std::string hdbFile =
"";
214 for (
int i = 0; i < child->
childCount(); i++) {
235 std::string parameterValue =
"";
246 icdecState->
addChild(parameterState);
269 for (
int i = 0; i < fileState->
childCount(); i++) {
281 for (
int i = 0; i < fileState->
childCount(); i++) {
284 if (!handledElements.count(child->
name())) {
294 if (child->
name() ==
FU) {
302 }
else if (child->
name() ==
RF) {
310 }
else if (child->
name() ==
IU) {
318 }
else if (child->
name() ==
BUS) {
392 for (
int i = 0; i < child->
childCount(); i++) {
434 for (
int i = fuGens->
childCount() - 1; i >= 0; --i) {
442 for (
int i = 0; i < fuImpls->
childCount(); i++) {
464 for (
int i = 0; i < rfImpls->
childCount(); i++) {
486 for (
int i = 0; i < iuImpls->
childCount(); i++) {
508 for (
int i = 0; i < busImpls->
childCount(); i++) {
530 for (
int i = 0; i < socketImpls->
childCount(); i++) {
const string FU_GENERATE_OPTION
bool hasAttribute(const std::string &name) const
static const std::string OSNAME_RF_IMPLEMENTATIONS
ObjectState name for RF implementation container.
virtual ObjectState * readState()
static const std::string OSKEY_HDB_FILE
ObjectState attribute key for the name of the HDB file.
std::string stringAttribute(const std::string &name) const
static const std::string OSNAME_IU_IMPLEMENTATIONS
ObjectState name for IU implementation container.
IDF::MachineImplementation * implementation
the implementation definition of the estimated processor
const string FU_GENERATE_NAME
MachineImplementation * readMachineImplementation()
const string IC_DECODER_PLUGIN_FILE
std::string sourceFile() const
const string FU_GENERATE_OPERATION
static const std::string OSKEY_IC_DECODER_PARAMETER_VALUE
ObjectState attribute name for ic&decoder parameter value.
static const std::string OSKEY_DECOMPRESSOR_FILE
ObjectState attribute key for the name of the decompressor file.
const string FU_GENERATE_OPERATION_NAME
const string DECOMPRESSOR_FILE
ObjectState * childByName(const std::string &name) const
static const std::string OSKEY_ID
ObjectState attribute key for the entry ID.
static const std::string OSKEY_IC_DECODER_PARAMETER_NAME
ObjectState attribute name for ic&decoder parameter name.
#define assert(condition)
virtual ObjectState * saveState() const
const string ADF_IMPLEMENTATION
const string IC_DECODER_PLUGIN_NAME
void setSchemaFile(const std::string &fileName)
static const std::string OSNAME_SOCKET_IMPLEMENTATIONS
ObjectState name for socket implementation container.
const string IC_DECODER_PARAMETER_NAME
virtual ObjectState * readState()
static const std::string OSKEY_IC_DECODER_NAME
ObjectState attribute name for ic&decoder name.
static ObjectState * convertToFileFormat(const ObjectState *omState)
static std::string schemaDirPath(const std::string &prog)
ObjectState * child(int index) const
void addChild(ObjectState *child)
const string IC_DECODER_PLUGIN
bool hasChild(const std::string &name) const
const string FU_GENERATE_OPERATION_ID
void setUseSchema(bool useSchema)
static const std::string OSKEY_UNIT_NAME
Objectstate attribute key for the name of the unit.
static const std::string OSNAME_IC_DECODER_PLUGIN
ObjectState name for the name of the IC/decoder plugin file.
static const std::string OSNAME_IC_DECODER_PARAMETER
ObjectState attribute name for ic&decoder parameter.
static const std::string OSNAME_FU_GENERATED
ObjectState name for FU generations container.
static const std::string OSNAME_FU_IMPLEMENTATIONS
ObjectState name for FU implementation container.
static const std::string OSKEY_IC_DECODER_HDB
ObjectState attribute name for ic&decoder HDB.
const string IC_DECODER_PARAMETER_VALUE
std::string stringValue() const
void writeMachineImplementation(const MachineImplementation &implementation)
static const std::string OSNAME_MACHINE_IMPLEMENTATION
ObjectState name for machine implementation.
static ObjectState * convertToOMFormat(const ObjectState *fileState)
const string IDF_SCHEMA_FILE
static const std::string OSNAME_UNIT_IMPLEMENTATION
ObjectState name for unit implementation.
static const std::string OSNAME_BUS_IMPLEMENTATIONS
ObjectState name for bus implementation container.
const string IC_DECODER_PARAMETER
void setValue(const std::string &value)
static const std::string OSKEY_SOURCE_IDF
ObjectState attribute name for the source IDF.
static const std::string OSKEY_IC_DECODER_FILE
ObjectState attribute name for ic&decoder file.
virtual void writeState(const ObjectState *state)
void setAttribute(const std::string &name, const std::string &value)
virtual void writeState(const ObjectState *rootState)