VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::MappedFile Class Reference

Public Member Functions

 MappedFile (const std::string &path)
 
 ~MappedFile ()
 
 MappedFile (const MappedFile &)=delete
 
MappedFile & operator= (const MappedFile &)=delete
 
 operator bool () const
 
template<typename T >
const T * At (size_t offset, size_t count=1) const
 

Detailed Description

Definition at line 20 of file VtableLookup.linux.cpp.

Constructor & Destructor Documentation

◆ MappedFile() [1/2]

VoltMod::MappedFile::MappedFile ( const std::string &  path)
inlineexplicit

Definition at line 23 of file VtableLookup.linux.cpp.

References VoltMod::ReadFile().

◆ ~MappedFile()

VoltMod::MappedFile::~MappedFile ( )
inline

Definition at line 44 of file VtableLookup.linux.cpp.

References VoltMod::ReadFile().

◆ MappedFile() [2/2]

VoltMod::MappedFile::MappedFile ( const MappedFile &  )
delete

Member Function Documentation

◆ At()

template<typename T >
const T * VoltMod::MappedFile::At ( size_t  offset,
size_t  count = 1 
) const
inline

Definition at line 58 of file VtableLookup.linux.cpp.

References VoltMod::ReadFile(), and VoltMod::T.

◆ operator bool()

VoltMod::MappedFile::operator bool ( ) const
inlineexplicit

Definition at line 55 of file VtableLookup.linux.cpp.

◆ operator=()

MappedFile & VoltMod::MappedFile::operator= ( const MappedFile &  )
delete

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