Loading...
Searching...
No Matches
NameList

Detailed Description

Classes

class  BinaryNinja::NameList
 
class  BinaryNinja::QualifiedName
 
class  BinaryNinja::NameSpace
 

Class Documentation

◆ BinaryNinja::NameList

class BinaryNinja::NameList

Public Member Functions

 NameList (const BNQualifiedName *name)
 
 NameList (const std::string &join, size_t size=0)
 
 NameList (const std::string &name, const std::string &join)
 
 NameList (const std::vector< std::string > &name, const std::string &join)
 
 NameList (const NameList &name, const std::string &join)
 
 NameList (const NameList &name)
 
virtual ~NameList ()
 
virtual NameListoperator= (const std::string &name)
 
virtual NameListoperator= (const std::vector< std::string > &name)
 
virtual NameListoperator= (const NameList &name)
 
virtual bool operator== (const NameList &other) const
 
virtual bool operator!= (const NameList &other) const
 
virtual bool operator< (const NameList &other) const
 
virtual bool operator> (const NameList &other) const
 
virtual NameList operator+ (const NameList &other) const
 
virtual std::string & operator[] (size_t i)
 
virtual const std::string & operator[] (size_t i) const
 
virtual std::vector< std::string >::iterator begin ()
 
virtual std::vector< std::string >::iterator end ()
 
virtual std::vector< std::string >::const_iterator begin () const
 
virtual std::vector< std::string >::const_iterator end () const
 
virtual std::string & front ()
 
virtual const std::string & front () const
 
virtual std::string & back ()
 
virtual const std::string & back () const
 
virtual void insert (std::vector< std::string >::iterator loc, const std::string &name)
 
virtual void insert (std::vector< std::string >::iterator loc, std::vector< std::string >::iterator b, std::vector< std::string >::iterator e)
 
virtual void erase (std::vector< std::string >::iterator i)
 
virtual void clear ()
 
virtual void push_back (const std::string &name)
 
virtual size_t size () const
 
virtual size_t StringSize () const
 
virtual std::string GetString (BNTokenEscapingType escaping=NoTokenEscapingType) const
 
virtual std::string GetJoinString () const
 
virtual bool IsEmpty () const
 
BNNameList GetAPIObject () const
 

Static Public Member Functions

static std::string EscapeTypeName (const std::string &name, BNTokenEscapingType escaping)
 
static std::string UnescapeTypeName (const std::string &name, BNTokenEscapingType escaping)
 
static void FreeAPIObject (BNNameList *name)
 
static NameList FromAPIObject (BNNameList *name)
 

Protected Attributes

std::string m_join
 
std::vector< std::string > m_name
 

Constructor & Destructor Documentation

◆ NameList() [1/6]

NameList::NameList ( const BNQualifiedName * name)

◆ NameList() [2/6]

BinaryNinja::NameList::NameList ( const std::string & join,
size_t size = 0 )
explicit

◆ NameList() [3/6]

BinaryNinja::NameList::NameList ( const std::string & name,
const std::string & join )

◆ NameList() [4/6]

BinaryNinja::NameList::NameList ( const std::vector< std::string > & name,
const std::string & join )

◆ NameList() [5/6]

BinaryNinja::NameList::NameList ( const NameList & name,
const std::string & join )

◆ NameList() [6/6]

NameList::NameList ( const NameList & name)

◆ ~NameList()

NameList::~NameList ( )
virtual

Member Function Documentation

◆ operator=() [1/3]

virtual NameList & BinaryNinja::NameList::operator= ( const std::string & name)
virtual

◆ operator=() [2/3]

virtual NameList & BinaryNinja::NameList::operator= ( const std::vector< std::string > & name)
virtual

◆ operator=() [3/3]

NameList & NameList::operator= ( const NameList & name)
virtual

◆ operator==()

bool NameList::operator== ( const NameList & other) const
virtual

◆ operator!=()

bool NameList::operator!= ( const NameList & other) const
virtual

◆ operator<()

bool NameList::operator< ( const NameList & other) const
virtual

◆ operator>()

bool NameList::operator> ( const NameList & other) const
virtual

◆ operator+()

NameList NameList::operator+ ( const NameList & other) const
virtual

◆ operator[]() [1/2]

string & NameList::operator[] ( size_t i)
virtual

◆ operator[]() [2/2]

const string & NameList::operator[] ( size_t i) const
virtual

◆ begin() [1/2]

vector< string >::iterator NameList::begin ( )
virtual

◆ end() [1/2]

vector< string >::iterator NameList::end ( )
virtual

◆ begin() [2/2]

vector< string >::const_iterator NameList::begin ( ) const
virtual

◆ end() [2/2]

vector< string >::const_iterator NameList::end ( ) const
virtual

◆ front() [1/2]

string & NameList::front ( )
virtual

◆ front() [2/2]

const string & NameList::front ( ) const
virtual

◆ back() [1/2]

string & NameList::back ( )
virtual

◆ back() [2/2]

const string & NameList::back ( ) const
virtual

◆ insert() [1/2]

virtual void BinaryNinja::NameList::insert ( std::vector< std::string >::iterator loc,
const std::string & name )
virtual

◆ insert() [2/2]

virtual void BinaryNinja::NameList::insert ( std::vector< std::string >::iterator loc,
std::vector< std::string >::iterator b,
std::vector< std::string >::iterator e )
virtual

◆ erase()

void NameList::erase ( std::vector< std::string >::iterator i)
virtual

◆ clear()

void NameList::clear ( )
virtual

◆ push_back()

void NameList::push_back ( const std::string & name)
virtual

◆ size()

size_t NameList::size ( ) const
virtual

◆ StringSize()

size_t NameList::StringSize ( ) const
virtual

◆ GetString()

string NameList::GetString ( BNTokenEscapingType escaping = NoTokenEscapingType) const
virtual

◆ GetJoinString()

virtual std::string BinaryNinja::NameList::GetJoinString ( ) const
inlinevirtual

◆ IsEmpty()

virtual bool BinaryNinja::NameList::IsEmpty ( ) const
inlinevirtual

◆ EscapeTypeName()

std::string NameList::EscapeTypeName ( const std::string & name,
BNTokenEscapingType escaping )
static

◆ UnescapeTypeName()

std::string NameList::UnescapeTypeName ( const std::string & name,
BNTokenEscapingType escaping )
static

◆ GetAPIObject()

BNNameList NameList::GetAPIObject ( ) const

◆ FreeAPIObject()

void NameList::FreeAPIObject ( BNNameList * name)
static

◆ FromAPIObject()

NameList NameList::FromAPIObject ( BNNameList * name)
static

Member Data Documentation

◆ m_join

std::string BinaryNinja::NameList::m_join
protected

◆ m_name

std::vector<std::string> BinaryNinja::NameList::m_name
protected

◆ BinaryNinja::QualifiedName

class BinaryNinja::QualifiedName

Public Member Functions

 QualifiedName ()
 
 QualifiedName (const BNQualifiedName *name)
 
 QualifiedName (const std::string &name)
 
 QualifiedName (const std::vector< std::string > &name)
 
 QualifiedName (const QualifiedName &name)
 
virtual ~QualifiedName ()
 
virtual QualifiedNameoperator= (const std::string &name)
 
virtual QualifiedNameoperator= (const std::vector< std::string > &name)
 
virtual QualifiedNameoperator= (const QualifiedName &name)
 
virtual QualifiedName operator+ (const QualifiedName &other) const
 
BNQualifiedName GetAPIObject () const
 
- Public Member Functions inherited from BinaryNinja::NameList
 NameList (const BNQualifiedName *name)
 
 NameList (const std::string &join, size_t size=0)
 
 NameList (const std::string &name, const std::string &join)
 
 NameList (const std::vector< std::string > &name, const std::string &join)
 
 NameList (const NameList &name, const std::string &join)
 
 NameList (const NameList &name)
 
virtual ~NameList ()
 
virtual bool operator== (const NameList &other) const
 
virtual bool operator!= (const NameList &other) const
 
virtual bool operator< (const NameList &other) const
 
virtual bool operator> (const NameList &other) const
 
virtual std::string & operator[] (size_t i)
 
virtual const std::string & operator[] (size_t i) const
 
virtual std::vector< std::string >::iterator begin ()
 
virtual std::vector< std::string >::iterator end ()
 
virtual std::vector< std::string >::const_iterator begin () const
 
virtual std::vector< std::string >::const_iterator end () const
 
virtual std::string & front ()
 
virtual const std::string & front () const
 
virtual std::string & back ()
 
virtual const std::string & back () const
 
virtual void insert (std::vector< std::string >::iterator loc, const std::string &name)
 
virtual void insert (std::vector< std::string >::iterator loc, std::vector< std::string >::iterator b, std::vector< std::string >::iterator e)
 
virtual void erase (std::vector< std::string >::iterator i)
 
virtual void clear ()
 
virtual void push_back (const std::string &name)
 
virtual size_t size () const
 
virtual size_t StringSize () const
 
virtual std::string GetString (BNTokenEscapingType escaping=NoTokenEscapingType) const
 
virtual std::string GetJoinString () const
 
virtual bool IsEmpty () const
 
BNNameList GetAPIObject () const
 

Static Public Member Functions

static void FreeAPIObject (BNQualifiedName *name)
 
static QualifiedName FromAPIObject (const BNQualifiedName *name)
 
- Static Public Member Functions inherited from BinaryNinja::NameList
static std::string EscapeTypeName (const std::string &name, BNTokenEscapingType escaping)
 
static std::string UnescapeTypeName (const std::string &name, BNTokenEscapingType escaping)
 
static void FreeAPIObject (BNNameList *name)
 
static NameList FromAPIObject (BNNameList *name)
 

Additional Inherited Members

- Protected Attributes inherited from BinaryNinja::NameList
std::string m_join
 
std::vector< std::string > m_name
 

Constructor & Destructor Documentation

◆ QualifiedName() [1/5]

QualifiedName::QualifiedName ( )

◆ QualifiedName() [2/5]

QualifiedName::QualifiedName ( const BNQualifiedName * name)

◆ QualifiedName() [3/5]

BinaryNinja::QualifiedName::QualifiedName ( const std::string & name)

◆ QualifiedName() [4/5]

BinaryNinja::QualifiedName::QualifiedName ( const std::vector< std::string > & name)

◆ QualifiedName() [5/5]

QualifiedName::QualifiedName ( const QualifiedName & name)

◆ ~QualifiedName()

QualifiedName::~QualifiedName ( )
virtual

Member Function Documentation

◆ operator=() [1/3]

virtual QualifiedName & BinaryNinja::QualifiedName::operator= ( const std::string & name)
virtual

Reimplemented from BinaryNinja::NameList.

◆ operator=() [2/3]

virtual QualifiedName & BinaryNinja::QualifiedName::operator= ( const std::vector< std::string > & name)
virtual

Reimplemented from BinaryNinja::NameList.

◆ operator=() [3/3]

QualifiedName & QualifiedName::operator= ( const QualifiedName & name)
virtual

◆ operator+()

QualifiedName QualifiedName::operator+ ( const QualifiedName & other) const
virtual

◆ GetAPIObject()

BNQualifiedName QualifiedName::GetAPIObject ( ) const

◆ FreeAPIObject()

void QualifiedName::FreeAPIObject ( BNQualifiedName * name)
static

◆ FromAPIObject()

QualifiedName QualifiedName::FromAPIObject ( const BNQualifiedName * name)
static

◆ BinaryNinja::NameSpace

class BinaryNinja::NameSpace

Public Member Functions

 NameSpace ()
 
 NameSpace (const std::string &name)
 
 NameSpace (const std::vector< std::string > &name)
 
 NameSpace (const NameSpace &name)
 
virtual ~NameSpace ()
 
virtual NameSpaceoperator= (const std::string &name)
 
virtual NameSpaceoperator= (const std::vector< std::string > &name)
 
virtual NameSpaceoperator= (const NameSpace &name)
 
virtual NameSpace operator+ (const NameSpace &other) const
 
virtual bool IsDefaultNameSpace () const
 
BNNameSpace GetAPIObject () const
 
- Public Member Functions inherited from BinaryNinja::NameList
 NameList (const BNQualifiedName *name)
 
 NameList (const std::string &join, size_t size=0)
 
 NameList (const std::string &name, const std::string &join)
 
 NameList (const std::vector< std::string > &name, const std::string &join)
 
 NameList (const NameList &name, const std::string &join)
 
 NameList (const NameList &name)
 
virtual ~NameList ()
 
virtual bool operator== (const NameList &other) const
 
virtual bool operator!= (const NameList &other) const
 
virtual bool operator< (const NameList &other) const
 
virtual bool operator> (const NameList &other) const
 
virtual std::string & operator[] (size_t i)
 
virtual const std::string & operator[] (size_t i) const
 
virtual std::vector< std::string >::iterator begin ()
 
virtual std::vector< std::string >::iterator end ()
 
virtual std::vector< std::string >::const_iterator begin () const
 
virtual std::vector< std::string >::const_iterator end () const
 
virtual std::string & front ()
 
virtual const std::string & front () const
 
virtual std::string & back ()
 
virtual const std::string & back () const
 
virtual void insert (std::vector< std::string >::iterator loc, const std::string &name)
 
virtual void insert (std::vector< std::string >::iterator loc, std::vector< std::string >::iterator b, std::vector< std::string >::iterator e)
 
virtual void erase (std::vector< std::string >::iterator i)
 
virtual void clear ()
 
virtual void push_back (const std::string &name)
 
virtual size_t size () const
 
virtual size_t StringSize () const
 
virtual std::string GetString (BNTokenEscapingType escaping=NoTokenEscapingType) const
 
virtual std::string GetJoinString () const
 
virtual bool IsEmpty () const
 
BNNameList GetAPIObject () const
 

Static Public Member Functions

static void FreeAPIObject (BNNameSpace *name)
 
static NameSpace FromAPIObject (const BNNameSpace *name)
 
- Static Public Member Functions inherited from BinaryNinja::NameList
static std::string EscapeTypeName (const std::string &name, BNTokenEscapingType escaping)
 
static std::string UnescapeTypeName (const std::string &name, BNTokenEscapingType escaping)
 
static void FreeAPIObject (BNNameList *name)
 
static NameList FromAPIObject (BNNameList *name)
 

Additional Inherited Members

- Protected Attributes inherited from BinaryNinja::NameList
std::string m_join
 
std::vector< std::string > m_name
 

Constructor & Destructor Documentation

◆ NameSpace() [1/4]

NameSpace::NameSpace ( )

◆ NameSpace() [2/4]

BinaryNinja::NameSpace::NameSpace ( const std::string & name)

◆ NameSpace() [3/4]

BinaryNinja::NameSpace::NameSpace ( const std::vector< std::string > & name)

◆ NameSpace() [4/4]

NameSpace::NameSpace ( const NameSpace & name)

◆ ~NameSpace()

NameSpace::~NameSpace ( )
virtual

Member Function Documentation

◆ operator=() [1/3]

virtual NameSpace & BinaryNinja::NameSpace::operator= ( const std::string & name)
virtual

Reimplemented from BinaryNinja::NameList.

◆ operator=() [2/3]

virtual NameSpace & BinaryNinja::NameSpace::operator= ( const std::vector< std::string > & name)
virtual

Reimplemented from BinaryNinja::NameList.

◆ operator=() [3/3]

NameSpace & NameSpace::operator= ( const NameSpace & name)
virtual

◆ operator+()

NameSpace NameSpace::operator+ ( const NameSpace & other) const
virtual

◆ IsDefaultNameSpace()

bool NameSpace::IsDefaultNameSpace ( ) const
virtual

◆ GetAPIObject()

BNNameSpace NameSpace::GetAPIObject ( ) const

◆ FreeAPIObject()

void NameSpace::FreeAPIObject ( BNNameSpace * name)
static

◆ FromAPIObject()

NameSpace NameSpace::FromAPIObject ( const BNNameSpace * name)
static