the source :
namespace osg {
class OSG_EXPORT CopyOp
{
public:
enum Options
{
SHALLOW_COPY =0,
DEEP_COPY_OBJECTS = 1<<0,
DEEP_COPY_NODES = 1<<1
};
};
class myObj
{
myObj(const CopyOp& copyop=CopyOp::SHALLOW_COPY);
};
}
Currently when I type
There is no suggestion for enum values. But there is the suggestion for enum name.
So, by using aid of CC, I can make code like :
new myObj(CopyOp::Options.DEEP_COPY_OBJECTS);
This is work on C#, but not work for C++. How to make CC parse enum values after class name? so the aid like:
new myObj(CopyOp::DEEP_COPY_OBJECTS);
Thank you