#pragma once #include "variant.h" namespace pykd { /////////////////////////////////////////////////////////////////////////////////// class CpuReg : public intBase { public: CpuReg( const std::string ®Name ); CpuReg( ULONG index ); std::string name() const { return m_name; } ULONG index() const { return m_index; } virtual BaseTypeVariant getValue(); private: std::string m_name; ULONG m_index; }; /////////////////////////////////////////////////////////////////////////////////// CpuReg getRegByName( const std::string ®Name ); CpuReg getRegByIndex( ULONG index ); /////////////////////////////////////////////////////////////////////////////////// }; // end pykd namespace