IDA C++ SDK 9.2
Loading...
Searching...
No Matches
tryblk_t Class Reference

#include <tryblks.hpp>

Inheritance diagram for tryblk_t:
rangevec_t qvector< range_t >

Public Member Functions

catchvec_tcpp ()
const catchvec_tcpp () const
seh_tseh ()
const seh_tseh () const
 tryblk_t ()
 ~tryblk_t ()
 tryblk_t (const tryblk_t &r)
uchar get_kind (void) const
bool empty (void) const
bool is_seh (void) const
bool is_cpp (void) const
tryblk_toperator= (const tryblk_t &r)
void clear (void)
seh_tset_seh (void)
catchvec_tset_cpp (void)
Public Member Functions inherited from qvector< range_t >
 qvector (void)
 Constructor.
 qvector (const qvector< range_t > &x)
 Constructor - creates a new qvector identical to 'x'.
 qvector (qvector< range_t > &&x) noexcept
 Move constructor.
 ~qvector (void)
 Destructor.
 DEFINE_MEMORY_ALLOCATION_FUNCS () void push_back(const range_t &x)
 Append a new element to the end the qvector.
void push_back (range_t &&x)
 Append a new element to the end the qvector with a move semantics.
void emplace_back (Args &&... args)
 Construct and append a new element to the end the qvector with a forwarding semantics.
range_tpush_back (void)
 Append a new empty element to the end of the qvector.
void pop_back (void)
 Remove the last element in the qvector.
size_t size (void) const
 Get the number of elements in the qvector.
bool empty (void) const
 Does the qvector have 0 elements?
const range_toperator[] (size_t _idx) const
 Allows use of typical c-style array indexing for qvectors.
range_toperator[] (size_t _idx)
 Allows use of typical c-style array indexing for qvectors.
const range_tat (size_t _idx) const
 Get element at index '_idx'.
range_tat (size_t _idx)
 Get element at index '_idx'.
const range_tfront (void) const
 Get the first element in the qvector.
range_tfront (void)
 Get the first element in the qvector.
const range_tback (void) const
 Get the last element in the qvector.
range_tback (void)
 Get the last element in the qvector.
void qclear (void)
 Destroy all elements but do not free memory.
void clear (void)
 Destroy all elements and free memory.
qvector< range_t > & operator= (const qvector< range_t > &x)
 Allow assignment of one qvector to another using '='.
qvector< range_t > & operator= (qvector< range_t > &&x) noexcept
 Move assignment operator.
void resize (size_t _newsize, const range_t &x)
 Resize to the given size.
void resize (size_t _newsize)
 Same as resize(size_t, const T &), but extra space is filled with empty elements.
void resize_noinit (size_t _newsize)
void grow (const range_t &x=range_t())
 Add an element to the end of the qvector, which will be a new T() if x is not given.
size_t capacity (void) const
 Get the number of elements that this qvector can contain - not the same as the number of elements currently in the qvector (size())
void reserve (size_t cnt)
 Increase the capacity of the qvector.
void truncate (void)
 Shrink the capacity down to the current number of elements.
void swap (qvector< range_t > &r) noexcept
 Replace all attributes of this qvector with that of 'r', and vice versa.
range_textract (void)
 Empty the qvector and return a pointer to it's contents.
void inject (range_t *s, size_t len)
 Populate the qvector with dynamic memory.
bool operator== (const qvector< range_t > &r) const
 Allow ability to test the equality of two qvectors using '=='.
bool operator!= (const qvector< range_t > &r) const
 Allow ability to test equality of two qvectors using '!='.
iterator begin (void)
 Get an iterator that points to the first element in the qvector.
iterator end (void)
 Get an iterator that points to the end of the qvector (NOT the last element)
const_iterator begin (void) const
 Get a const iterator that points to the first element in the qvector.
const_iterator end (void) const
 Get a const iterator that points to the end of the qvector (NOT the last element)
iterator insert (iterator it, const range_t &x)
 Insert an element into the qvector at a specified position.
iterator insert (iterator it, range_t &&x)
 Insert an element into the qvector with a move semantics.
iterator insert (iterator it, it2 first, it2 last)
 Insert a several elements to the qvector at a specified position.
iterator erase (iterator it)
 Remove an element from the qvector.
iterator erase (iterator first, iterator last)
 Remove a subset of the qvector.
iterator find (const range_t &x)
 Find an element in the qvector.
const_iterator find (const range_t &x) const
 Find an element in the qvector.
ssize_t index (const range_t &x) const
 Find index of the specified value or return -1.
void add (const range_t &x)
 Add an element to the end of the qvector.
void add (range_t &&x)
bool has (const range_t &x) const
 Does the qvector contain x?
bool add_unique (const range_t &x)
 Add an element to the end of the qvector - only if it isn't already present.
bool del (const range_t &x)
 Find an element and remove it.
const char * dstr (void) const

Public Attributes

uchar level

Additional Inherited Members

Public Types inherited from qvector< range_t >
typedef range_t value_type
 the type of objects contained in this qvector
typedef range_titerator
typedef const range_tconst_iterator

Constructor & Destructor Documentation

◆ tryblk_t() [1/2]

tryblk_t::tryblk_t ( )
inline

◆ ~tryblk_t()

tryblk_t::~tryblk_t ( )
inline

◆ tryblk_t() [2/2]

tryblk_t::tryblk_t ( const tryblk_t & r)
inline

Member Function Documentation

◆ cpp() [1/2]

catchvec_t & tryblk_t::cpp ( )
inline

◆ cpp() [2/2]

const catchvec_t & tryblk_t::cpp ( ) const
inline

◆ seh() [1/2]

seh_t & tryblk_t::seh ( )
inline

◆ seh() [2/2]

const seh_t & tryblk_t::seh ( ) const
inline

◆ get_kind()

uchar tryblk_t::get_kind ( void ) const
inline

◆ empty()

bool tryblk_t::empty ( void ) const
inline

◆ is_seh()

bool tryblk_t::is_seh ( void ) const
inline

◆ is_cpp()

bool tryblk_t::is_cpp ( void ) const
inline

◆ operator=()

tryblk_t & tryblk_t::operator= ( const tryblk_t & r)
inline

◆ clear()

void tryblk_t::clear ( void )
inline

◆ set_seh()

seh_t & tryblk_t::set_seh ( void )
inline

◆ set_cpp()

catchvec_t & tryblk_t::set_cpp ( void )
inline

Member Data Documentation

◆ level

uchar tryblk_t::level

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