| 167 | class ExampleOptionsType : public FunctionOptionsType { |
| 168 | public: |
| 169 | static const FunctionOptionsType* GetInstance() { |
| 170 | static std::unique_ptr<FunctionOptionsType> instance( |
| 171 | new ExampleOptionsType<kExampleSeqNum>()); |
| 172 | return instance.get(); |
| 173 | } |
| 174 | const char* type_name() const override { |
| 175 | static std::string name = std::string("example") + std::to_string(kExampleSeqNum); |
| 176 | return name.c_str(); |