#include <iostream>
class Object
{
public:
enum Type {
OT_CIRCLE,
OT_SQUARE,
OT_TRIANGLE,
OT_INVALID
};
};
class Circle
{
public:
void DoSomething()
{
auto type = Object::OT_CIRCLE;
std::cout << "Type is " << type << std::endl;
}
};
int main()
{
auto circle = Circle();
circle.DoSomething();
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKY2xhc3MgT2JqZWN0CnsKcHVibGljOgoJZW51bSBUeXBlIHsKCSAJT1RfQ0lSQ0xFLAogICAgICAgIE9UX1NRVUFSRSwKICAgICAgICBPVF9UUklBTkdMRSwKICAgICAgICBPVF9JTlZBTElECgl9Owp9OwoKY2xhc3MgQ2lyY2xlCnsKcHVibGljOgoJdm9pZCBEb1NvbWV0aGluZygpCgl7CgkJYXV0byB0eXBlID0gT2JqZWN0OjpPVF9DSVJDTEU7CgkJc3RkOjpjb3V0IDw8ICJUeXBlIGlzICIgPDwgdHlwZSA8PCBzdGQ6OmVuZGw7Cgl9Cn07CgppbnQgbWFpbigpIAp7CglhdXRvIGNpcmNsZSA9IENpcmNsZSgpOwoJY2lyY2xlLkRvU29tZXRoaW5nKCk7Cn0=