add missing Setter

This commit is contained in:
Mathieu Lacage
2008-06-11 16:18:38 -07:00
parent 52169a27b8
commit 4f4bec026b
2 changed files with 8 additions and 0 deletions

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
{

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.