libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray Class Referenceabstract

#include <SYSTEM_PROCESS_INFORMATION.hh>

Public Types

using iterator = array_iterator< SYSTEM_THREAD, ThreadArray, false >
 
using const_iterator = array_iterator< SYSTEM_THREAD, ThreadArray, true >
 

Public Member Functions

virtual SYSTEM_THREADoperator[] (uint32_t index)=0
 Get an entry at the specified index.
 
virtual const SYSTEM_THREADoperator[] (uint32_t index) const =0
 
virtual SYSTEM_THREADat (uint32_t index)=0
 Get an entry at the specified index.
 
virtual const SYSTEM_THREADat (uint32_t index) const =0
 
virtual iterator erase (const const_iterator &iter)=0
 Remove an element from the list.
 
virtual uint32_t length () const =0
 Get the number of entries.
 
virtual iterator begin ()=0
 Get an iterator to the first entry.
 
virtual iterator end ()=0
 Get the end iterator.
 
virtual const_iterator begin () const =0
 Get an iterator to the first entry.
 
virtual const_iterator end () const =0
 Get the end iterator.
 
virtual uint32_t buffer_size () const =0
 Get the total size of the buffer in bytes.
 
virtual void write (std::ostream &os, const std::string &linePrefix="") const =0
 Write out a human-readable representation.
 
virtual Json::Value json () const =0
 Get a Json respresentation of the buffer.
 

Member Typedef Documentation

◆ const_iterator

◆ iterator

Member Function Documentation

◆ at() [1/2]

virtual const SYSTEM_THREAD & introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::at ( uint32_t  index) const
pure virtual

◆ at() [2/2]

virtual SYSTEM_THREAD & introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::at ( uint32_t  index)
pure virtual

Get an entry at the specified index.

Parameters
indexThe index into the array
Returns
SYSTEM_THREAD&

◆ begin() [1/2]

virtual const_iterator introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::begin ( ) const
pure virtual

Get an iterator to the first entry.

Returns
const_iterator

◆ begin() [2/2]

virtual iterator introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::begin ( )
pure virtual

Get an iterator to the first entry.

Returns
const_iterator

◆ buffer_size()

virtual uint32_t introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::buffer_size ( ) const
pure virtual

Get the total size of the buffer in bytes.

This may not relate to the total number of entries; the buffer could be larger than necessary, for example.

Returns
uint32_t

◆ end() [1/2]

virtual const_iterator introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::end ( ) const
pure virtual

Get the end iterator.

Returns
const_iterator

◆ end() [2/2]

virtual iterator introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::end ( )
pure virtual

Get the end iterator.

Returns
const_iterator

◆ erase()

virtual iterator introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::erase ( const const_iterator iter)
pure virtual

Remove an element from the list.

Parameters
iterAn iter to the element to remove
Returns
const_iterator containing the next element after the erased one

◆ json()

virtual Json::Value introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::json ( ) const
pure virtual

Get a Json respresentation of the buffer.

Returns
Json::Value

◆ length()

virtual uint32_t introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::length ( ) const
pure virtual

Get the number of entries.

Returns
uint32_t

◆ operator[]() [1/2]

virtual const SYSTEM_THREAD & introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::operator[] ( uint32_t  index) const
pure virtual

◆ operator[]() [2/2]

virtual SYSTEM_THREAD & introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::operator[] ( uint32_t  index)
pure virtual

Get an entry at the specified index.

Parameters
indexThe index into the array
Returns
SYSTEM_THREAD&

◆ write()

virtual void introvirt::windows::nt::SYSTEM_PROCESS_INFORMATION_ENTRY::ThreadArray::write ( std::ostream &  os,
const std::string &  linePrefix = "" 
) const
pure virtual

Write out a human-readable representation.

Parameters
os
linePrefix

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