retdec
|
A sequence of information about API calls. More...
#include <api_call_info_seq.h>
Public Types | |
using | APICallInfos = std::vector< APICallInfo > |
List of APICallInfo. More... | |
using | iterator = APICallInfos::const_iterator |
Iterator over API call information. More... | |
Public Member Functions | |
APICallInfoSeq () | |
Constructs an empty sequence. More... | |
bool | operator== (const APICallInfoSeq &other) const |
Returns true if this sequence is equal to other, false otherwise. More... | |
bool | operator!= (const APICallInfoSeq &other) const |
Returns true if this sequence is not equal to other, false otherwise. More... | |
APICallInfoSeq & | add (APICallInfo info) |
Adds info into the sequence. More... | |
APICallInfos::size_type | size () const |
Returns the number of information in the sequence. More... | |
bool | empty () const |
Returns true if there are no information in the sequence, false otherwise. More... | |
const APICallInfo & | front () const |
Returns a constant reference to the first information in the sequence. More... | |
const APICallInfo & | back () const |
Returns a constant reference to the last information in the sequence. More... | |
iterator | begin () const |
Returns an iterator to the first information. More... | |
iterator | end () const |
Returns an iterator past the last information. More... | |
Private Attributes | |
APICallInfos | apiCallInfos |
A sequence of information about API calls.
Use APICallInfoSeqParser to construct instances of this class from a text representation (i.e. from a string).
using retdec::llvmir2hll::APICallInfoSeq::APICallInfos = std::vector<APICallInfo> |
List of APICallInfo.
using retdec::llvmir2hll::APICallInfoSeq::iterator = APICallInfos::const_iterator |
Iterator over API call information.
retdec::llvmir2hll::APICallInfoSeq::APICallInfoSeq | ( | ) |
Constructs an empty sequence.
APICallInfoSeq & retdec::llvmir2hll::APICallInfoSeq::add | ( | APICallInfo | info | ) |
Adds info into the sequence.
More precisely, it appends it after the last information (if any).
const APICallInfo & retdec::llvmir2hll::APICallInfoSeq::back | ( | ) | const |
Returns a constant reference to the last information in the sequence.
APICallInfoSeq::iterator retdec::llvmir2hll::APICallInfoSeq::begin | ( | ) | const |
Returns an iterator to the first information.
bool retdec::llvmir2hll::APICallInfoSeq::empty | ( | ) | const |
Returns true
if there are no information in the sequence, false
otherwise.
APICallInfoSeq::iterator retdec::llvmir2hll::APICallInfoSeq::end | ( | ) | const |
Returns an iterator past the last information.
const APICallInfo & retdec::llvmir2hll::APICallInfoSeq::front | ( | ) | const |
Returns a constant reference to the first information in the sequence.
bool retdec::llvmir2hll::APICallInfoSeq::operator!= | ( | const APICallInfoSeq & | other | ) | const |
Returns true
if this sequence is not equal to other, false
otherwise.
bool retdec::llvmir2hll::APICallInfoSeq::operator== | ( | const APICallInfoSeq & | other | ) | const |
Returns true
if this sequence is equal to other, false
otherwise.
APICallInfoSeq::APICallInfos::size_type retdec::llvmir2hll::APICallInfoSeq::size | ( | ) | const |
Returns the number of information in the sequence.
|
private |