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

Handler for TOKEN_GROUPS information buffers. More...

#include <TOKEN_GROUPS.hh>

Inheritance diagram for introvirt::windows::nt::TOKEN_GROUPS:
Collaboration diagram for introvirt::windows::nt::TOKEN_GROUPS:

Public Types

using iterator = array_iterator< SID_AND_ATTRIBUTES, TOKEN_GROUPS, false >
 
using const_iterator = array_iterator< SID_AND_ATTRIBUTES, TOKEN_GROUPS, true >
 

Public Member Functions

virtual SID_AND_ATTRIBUTESoperator[] (uint32_t index)=0
 Get an entry at the specified index.
 
virtual const SID_AND_ATTRIBUTESoperator[] (uint32_t index) const =0
 
virtual SID_AND_ATTRIBUTESat (uint32_t index)=0
 Get an entry at the specified index.
 
virtual const SID_AND_ATTRIBUTESat (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.
 
- Public Member Functions inherited from introvirt::windows::nt::TOKEN_INFORMATION
virtual TOKEN_INFORMATION_CLASS TokenInformationClass () const =0
 Get the type of token information held in the buffer.
 
virtual guest_ptr< void > ptr () const =0
 Get the address that the buffer is at.
 
virtual uint32_t buffer_size () const =0
 Get the size of the buffer.
 
virtual void write (std::ostream &os, const std::string &linePrefix="") const =0
 Write a description to the ostream.
 
virtual Json::Value json () const =0
 Return the token information class as a JSON representation.
 
virtual ~TOKEN_INFORMATION ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from introvirt::windows::nt::TOKEN_INFORMATION
static std::unique_ptr< TOKEN_INFORMATIONmake_unique (const NtKernel &kernel, TOKEN_INFORMATION_CLASS information_class, const guest_ptr< void > &ptr, uint32_t buffer_size)
 Create a KEY_VALUE_INFORMATION parser instance.
 

Detailed Description

Handler for TOKEN_GROUPS information buffers.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Member Function Documentation

◆ at() [1/2]

virtual const SID_AND_ATTRIBUTES & introvirt::windows::nt::TOKEN_GROUPS::at ( uint32_t  index) const
pure virtual

◆ at() [2/2]

virtual SID_AND_ATTRIBUTES & introvirt::windows::nt::TOKEN_GROUPS::at ( uint32_t  index)
pure virtual

Get an entry at the specified index.

Parameters
indexThe index into the array
Returns
SID_AND_ATTRIBUTES&

◆ begin() [1/2]

virtual const_iterator introvirt::windows::nt::TOKEN_GROUPS::begin ( ) const
pure virtual

Get an iterator to the first entry.

Returns
const_iterator

◆ begin() [2/2]

virtual iterator introvirt::windows::nt::TOKEN_GROUPS::begin ( )
pure virtual

Get an iterator to the first entry.

Returns
const_iterator

◆ end() [1/2]

virtual const_iterator introvirt::windows::nt::TOKEN_GROUPS::end ( ) const
pure virtual

Get the end iterator.

Returns
const_iterator

◆ end() [2/2]

virtual iterator introvirt::windows::nt::TOKEN_GROUPS::end ( )
pure virtual

Get the end iterator.

Returns
const_iterator

◆ erase()

virtual iterator introvirt::windows::nt::TOKEN_GROUPS::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

◆ length()

virtual uint32_t introvirt::windows::nt::TOKEN_GROUPS::length ( ) const
pure virtual

Get the number of entries.

Returns
uint32_t

◆ operator[]() [1/2]

virtual const SID_AND_ATTRIBUTES & introvirt::windows::nt::TOKEN_GROUPS::operator[] ( uint32_t  index) const
pure virtual

◆ operator[]() [2/2]

virtual SID_AND_ATTRIBUTES & introvirt::windows::nt::TOKEN_GROUPS::operator[] ( uint32_t  index)
pure virtual

Get an entry at the specified index.

Parameters
indexThe index into the array
Returns
SID_AND_ATTRIBUTES&

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