Loading...
Searching...
No Matches
BinaryNinja::StringRef Class Reference

Public Member Functions

 StringRef ()
 
 StringRef (BNStringRef *ref)
 
 StringRef (const StringRef &other)
 
 StringRef (StringRef &&other)
 
 ~StringRef ()
 
StringRefoperator= (const StringRef &other)
 
StringRefoperator= (StringRef &&other)
 
 operator std::string_view () const
 
 operator std::string const ()
 
const char * c_str () const
 
size_t size () const
 
BNStringRefGetObject ()
 
bool operator== (const StringRef &other) const
 
bool operator!= (const StringRef &other) const
 
bool operator< (const StringRef &other) const
 
bool operator== (const std::string &other) const
 
bool operator!= (const std::string &other) const
 
bool operator== (const std::string_view &other) const
 
bool operator!= (const std::string_view &other) const
 

Constructor & Destructor Documentation

◆ StringRef() [1/4]

StringRef::StringRef ( )

◆ StringRef() [2/4]

StringRef::StringRef ( BNStringRef * ref)
explicit

◆ StringRef() [3/4]

StringRef::StringRef ( const StringRef & other)

◆ StringRef() [4/4]

StringRef::StringRef ( StringRef && other)

◆ ~StringRef()

StringRef::~StringRef ( )

Member Function Documentation

◆ operator=() [1/2]

StringRef & StringRef::operator= ( const StringRef & other)

◆ operator=() [2/2]

StringRef & StringRef::operator= ( StringRef && other)

◆ operator std::string_view()

BinaryNinja::StringRef::operator std::string_view ( ) const
inline

◆ operator std::string const()

BinaryNinja::StringRef::operator std::string const ( )
inline

◆ c_str()

const char * StringRef::c_str ( ) const

◆ size()

size_t StringRef::size ( ) const

◆ GetObject()

BNStringRef * BinaryNinja::StringRef::GetObject ( )
inline

◆ operator==() [1/3]

bool BinaryNinja::StringRef::operator== ( const StringRef & other) const
inline

◆ operator!=() [1/3]

bool BinaryNinja::StringRef::operator!= ( const StringRef & other) const
inline

◆ operator<()

bool BinaryNinja::StringRef::operator< ( const StringRef & other) const
inline

◆ operator==() [2/3]

bool BinaryNinja::StringRef::operator== ( const std::string & other) const
inline

◆ operator!=() [2/3]

bool BinaryNinja::StringRef::operator!= ( const std::string & other) const
inline

◆ operator==() [3/3]

bool BinaryNinja::StringRef::operator== ( const std::string_view & other) const
inline

◆ operator!=() [3/3]

bool BinaryNinja::StringRef::operator!= ( const std::string_view & other) const
inline