StringValue formatting example test helper class. More...
Public Member Functions | |
| FormattingTestObjectHelper () | |
| Default constructor. | |
| Ptr< Object > | CreateFromFactory () |
| Create an Object as configured by SetAttribute. | |
| void | SetAttribute (std::string name, const AttributeValue &value) |
| Set an attribute by name. | |
Private Attributes | |
| ObjectFactory | m_factory |
| Object factory. | |
StringValue formatting example test helper class.
Definition at line 89 of file test-string-value-formatting.cc.
| anonymous_namespace{test-string-value-formatting.cc}::FormattingTestObjectHelper::FormattingTestObjectHelper | ( | ) |
Default constructor.
Definition at line 110 of file test-string-value-formatting.cc.
References anonymous_namespace{test-string-value-formatting.cc}::FormattingTestObject::GetTypeId(), and m_factory.
| Ptr< Object > anonymous_namespace{test-string-value-formatting.cc}::FormattingTestObjectHelper::CreateFromFactory | ( | ) |
Create an Object as configured by SetAttribute.
Definition at line 122 of file test-string-value-formatting.cc.
References m_factory.
| 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 116 of file test-string-value-formatting.cc.
References m_factory.
|
private |
Object factory.
Definition at line 107 of file test-string-value-formatting.cc.
Referenced by FormattingTestObjectHelper(), CreateFromFactory(), and SetAttribute().