libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::windows::nt::MapType Class Reference

#include <MapType.hh>

Public Types

enum  Flag { MAP_PROCESS = 0x1 , MAP_SYSTEM = 0x2 }
 

Public Member Functions

 MapType ()
 
 MapType (uint32_t value)
 
uint32_t getValue () const
 
 operator uint32_t () const
 
void setValue (uint32_t value)
 
bool isFlagEnabled (Flag flag) const
 
void disableFlag (Flag flag)
 
void enableFlag (Flag flag)
 
std::string to_string (const std::string &separator=" ") const
 

Member Enumeration Documentation

◆ Flag

Enumerator
MAP_PROCESS 
MAP_SYSTEM 

Constructor & Destructor Documentation

◆ MapType() [1/2]

introvirt::windows::nt::MapType::MapType ( )

◆ MapType() [2/2]

introvirt::windows::nt::MapType::MapType ( uint32_t  value)

Member Function Documentation

◆ disableFlag()

void introvirt::windows::nt::MapType::disableFlag ( Flag  flag)
Parameters
flagThe flag to disable

◆ enableFlag()

void introvirt::windows::nt::MapType::enableFlag ( Flag  flag)
Parameters
flagThe flag to enable

◆ getValue()

uint32_t introvirt::windows::nt::MapType::getValue ( ) const
Returns
The raw value

◆ isFlagEnabled()

bool introvirt::windows::nt::MapType::isFlagEnabled ( Flag  flag) const
Parameters
flagThe flag to check
Returns
True if the given flag is enabled

◆ operator uint32_t()

introvirt::windows::nt::MapType::operator uint32_t ( ) const

◆ setValue()

void introvirt::windows::nt::MapType::setValue ( uint32_t  value)
Parameters
valueThe raw value to set

◆ to_string()

std::string introvirt::windows::nt::MapType::to_string ( const std::string &  separator = " ") const
Parameters
separatorThe separator to use between flags
Returns
A human readable string

The documentation for this class was generated from the following file: