StringValue formatting example test helper class. More...
Public Member Functions | |
FormattingTestObjectHelper () | |
Default constructor. More... | |
Ptr< Object > | CreateFromFactory (void) |
Create an Object as configured by SetAttribute. More... | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set an attribute by name. More... | |
Private Attributes | |
ObjectFactory | m_factory |
Object factory. More... | |
StringValue formatting example test helper class.
Definition at line 98 of file test-string-value-formatting.cc.
anonymous_namespace{test-string-value-formatting.cc}::FormattingTestObjectHelper::FormattingTestObjectHelper | ( | ) |
Default constructor.
Definition at line 118 of file test-string-value-formatting.cc.
References ns3::ObjectFactory::SetTypeId().
Ptr< Object > anonymous_namespace{test-string-value-formatting.cc}::FormattingTestObjectHelper::CreateFromFactory | ( | void | ) |
Create an Object as configured by SetAttribute.
Definition at line 130 of file test-string-value-formatting.cc.
void anonymous_namespace{test-string-value-formatting.cc}::FormattingTestObjectHelper::SetAttribute | ( | std::string | name, |
const AttributeValue & | value | ||
) |
Set an attribute by name.
name | the attribute |
value | the attribute value |
Definition at line 124 of file test-string-value-formatting.cc.
|
private |
Object factory.
Definition at line 115 of file test-string-value-formatting.cc.