retdec
Public Member Functions | Static Public Attributes | Private Attributes | Friends | List of all members
retdec::common::Address Class Reference

#include <address.h>

Collaboration diagram for retdec::common::Address:
Collaboration graph
[legend]

Public Member Functions

 Address ()
 
 Address (uint64_t a)
 
 Address (const std::string &a)
 
 operator uint64_t () const
 
 operator bool () const
 
Addressoperator++ ()
 
Address operator++ (int)
 
Addressoperator-- ()
 
Address operator-- (int)
 
Addressoperator+= (const Address &rhs)
 
Addressoperator-= (const Address &rhs)
 
Addressoperator|= (const Address &rhs)
 
bool isUndefined () const
 
bool isDefined () const
 
uint64_t getValue () const
 
std::string toHexString () const
 
std::string toHexPrefixString () const
 

Static Public Attributes

static const uint64_t Undefined = ULLONG_MAX
 

Private Attributes

uint64_t address
 

Friends

std::ostream & operator<< (std::ostream &out, const Address &a)
 

Constructor & Destructor Documentation

◆ Address() [1/3]

retdec::common::Address::Address ( )

◆ Address() [2/3]

retdec::common::Address::Address ( uint64_t  a)

◆ Address() [3/3]

retdec::common::Address::Address ( const std::string &  a)
explicit

Member Function Documentation

◆ getValue()

uint64_t retdec::common::Address::getValue ( ) const

◆ isDefined()

bool retdec::common::Address::isDefined ( ) const

◆ isUndefined()

bool retdec::common::Address::isUndefined ( ) const

◆ operator bool()

retdec::common::Address::operator bool ( ) const
explicit

◆ operator uint64_t()

retdec::common::Address::operator uint64_t ( ) const

◆ operator++() [1/2]

Address & retdec::common::Address::operator++ ( )

◆ operator++() [2/2]

Address retdec::common::Address::operator++ ( int  )

◆ operator+=()

Address & retdec::common::Address::operator+= ( const Address rhs)

◆ operator--() [1/2]

Address & retdec::common::Address::operator-- ( )

◆ operator--() [2/2]

Address retdec::common::Address::operator-- ( int  )

◆ operator-=()

Address & retdec::common::Address::operator-= ( const Address rhs)

◆ operator|=()

Address & retdec::common::Address::operator|= ( const Address rhs)

◆ toHexPrefixString()

std::string retdec::common::Address::toHexPrefixString ( ) const

◆ toHexString()

std::string retdec::common::Address::toHexString ( ) const

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const Address a 
)
friend

Member Data Documentation

◆ address

uint64_t retdec::common::Address::address
private

◆ Undefined

const uint64_t retdec::common::Address::Undefined = ULLONG_MAX
static

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