add missing Setter

This commit is contained in:
Mathieu Lacage committed 2008-06-11 16:18:38 -07:00
1 parent cce64ba5e2
commit 1e7af052d0
2 files changed
+8

No files matched your search

+6
View File
@@ -50,6 +50,12 @@ ObjectFactory::Set (std::string name, const AttributeValue &value)
m_parameters.SetWithTid (m_tid, name, value);
}
void
ObjectFactory::Set (const AttributeList &list)
{
m_parameters = list;
}
TypeId
ObjectFactory::GetTypeId (void) const
{
+2
View File
@@ -59,6 +59,8 @@ public:
*/
void Set (std::string name, const AttributeValue &value);
void Set (const AttributeList &list);
/**
* \returns the currently-selected TypeId to use to create an object
* instance.