LLVM 22.0.0git
llvm::object::WindowsResourceParser::TreeNode Class Reference

#include "llvm/Object/WindowsResource.h"

Public Types

template<typename T>
using Children = std::map<T, std::unique_ptr<TreeNode>>

Public Member Functions

LLVM_ABI void print (ScopedPrinter &Writer, StringRef Name) const
LLVM_ABI uint32_t getTreeSize () const
uint32_t getStringIndex () const
uint32_t getDataIndex () const
uint16_t getMajorVersion () const
uint16_t getMinorVersion () const
uint32_t getCharacteristics () const
bool checkIsDataNode () const
const Children< uint32_t > & getIDChildren () const
const Children< std::string > & getStringChildren () const

Friends

class WindowsResourceParser

Detailed Description

Definition at line 168 of file WindowsResource.h.

Member Typedef Documentation

◆ Children

template<typename T>
using llvm::object::WindowsResourceParser::TreeNode::Children = std::map<T, std::unique_ptr<TreeNode>>

Definition at line 171 of file WindowsResource.h.

Member Function Documentation

◆ checkIsDataNode()

bool llvm::object::WindowsResourceParser::TreeNode::checkIsDataNode ( ) const
inline

Definition at line 180 of file WindowsResource.h.

◆ getCharacteristics()

uint32_t llvm::object::WindowsResourceParser::TreeNode::getCharacteristics ( ) const
inline

Definition at line 179 of file WindowsResource.h.

◆ getDataIndex()

uint32_t llvm::object::WindowsResourceParser::TreeNode::getDataIndex ( ) const
inline

Definition at line 176 of file WindowsResource.h.

◆ getIDChildren()

const Children< uint32_t > & llvm::object::WindowsResourceParser::TreeNode::getIDChildren ( ) const
inline

Definition at line 181 of file WindowsResource.h.

◆ getMajorVersion()

uint16_t llvm::object::WindowsResourceParser::TreeNode::getMajorVersion ( ) const
inline

Definition at line 177 of file WindowsResource.h.

◆ getMinorVersion()

uint16_t llvm::object::WindowsResourceParser::TreeNode::getMinorVersion ( ) const
inline

Definition at line 178 of file WindowsResource.h.

◆ getStringChildren()

const Children< std::string > & llvm::object::WindowsResourceParser::TreeNode::getStringChildren ( ) const
inline

Definition at line 182 of file WindowsResource.h.

◆ getStringIndex()

uint32_t llvm::object::WindowsResourceParser::TreeNode::getStringIndex ( ) const
inline

Definition at line 175 of file WindowsResource.h.

◆ getTreeSize()

uint32_t llvm::object::WindowsResourceParser::TreeNode::getTreeSize ( ) const

Definition at line 564 of file WindowsResource.cpp.

References Size.

◆ print()

void llvm::object::WindowsResourceParser::TreeNode::print ( ScopedPrinter & Writer,
StringRef Name ) const

Definition at line 550 of file WindowsResource.cpp.

References llvm::to_string().

◆ WindowsResourceParser

friend class WindowsResourceParser
friend

Definition at line 187 of file WindowsResource.h.

References WindowsResourceParser.

Referenced by WindowsResourceParser.


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