Is it possible to make enum support references with full names?

like:

enum tagNSPT
{
NSPT_RESOLVENAME = 0xC201,
NSPT_RESOLVEADDR = 0xC202,
NSPT_RESOLVEGATEWAY = 0xC203,
NSPT_IDENTIFICATION = 0xC280,
};

int a;

if(a==tagNSPT.NSPT_RESOLVENAME)
{

}

This syntax is not currently supported in 010 Editor and right now you can just access the enum tags such as NSPT_RESOLVENAME directly. In the future we are planning on adding support for enums inside of structs and then you could access the enum tags as <struct_name>::<enum_tag> as this is more commonly used in C++. Again this is coming but not currently supported yet. Cheers!

Graeme
SweetScape Software

Why not use “<enum_name>::<enum_tag>” instead?

Basically because it is not standard C/C++ and it is not really needed since <enum_tag> is already global in scope. We want to try to keep the binary template language as simple as possible and as close to C/C++ as we can.

Graeme
SweetScape Software