Lines Matching refs:object_name

58 CxxConfigManager::findObjectType(const std::string &object_name,
61 if (!configFile.objectExists(object_name))
62 throw Exception(object_name, "Can't find sim object");
64 if (!configFile.getParam(object_name, "type", object_type))
65 throw Exception(object_name, "Sim object has no 'type' field");
70 throw Exception(object_name, csprintf(
131 CxxConfigManager::findObject(const std::string &object_name,
134 std::string instance_name = rename(object_name);
136 if (object_name == "Null")
148 findObjectType(object_name, object_type);
152 CxxConfigParams *object_params = findObjectParams(object_name);
157 object_name);
173 if (!configFile.getParamVector(object_name, param->name,
176 throw Exception(object_name, csprintf(
195 throw Exception(object_name, csprintf(
201 object_name, param->name,
206 if (!configFile.getParam(object_name, param->name,
209 throw Exception(object_name, csprintf(
220 throw Exception(object_name, csprintf(
227 " %s.%s=%s\n", object_name, param->name,
237 throw Exception(object_name, csprintf("Couldn't create object of"
246 configFile.getObjectChildren(object_name, children, true);
260 inVisit.erase(object_name);
265 CxxConfigManager::findObjectParams(const std::string &object_name)
267 std::string instance_name = rename(object_name);
275 findObjectType(object_name, object_type);
299 if (!configFile.getParamVector(object_name, param->name,
302 throw Exception(object_name, csprintf(
321 if (!configFile.getParam(object_name, param->name,
324 throw Exception(object_name, csprintf(
349 if (!configFile.getPortPeers(object_name, port->name, peers)) {
424 CxxConfigManager::findTraversalOrder(const std::string &object_name)
426 SimObject *object = findObject(object_name);
432 configFile.getObjectChildren(object_name, children, true);
525 std::string object_name = unRename(instance_name);
529 findObjectType(object_name, object_type);
541 configFile.getPortPeers(object_name, port->name, peers);
678 CxxConfigManager::setParam(const std::string &object_name,
681 CxxConfigParams *params = findObjectParams(object_name);
684 throw Exception(object_name, csprintf("Bad parameter value:"
687 std::string instance_name = rename(object_name);
695 CxxConfigManager::setParamVector(const std::string &object_name,
699 CxxConfigParams *params = findObjectParams(object_name);
702 throw Exception(object_name, csprintf("Bad vector parameter value:"
705 std::string instance_name = rename(object_name);