PST File Format SDK v0.4
Loading...
Searching...
No Matches
pstsdk::is_nid_type< Type > Struct Template Reference

Functor to determine if an object is of the specified node type. More...

#include <folder.h>

+ Collaboration diagram for pstsdk::is_nid_type< Type >:

Public Member Functions

bool operator() (const node_info &info)
 
bool operator() (const const_table_row &row)
 

Detailed Description

template<node_id Type>
struct pstsdk::is_nid_type< Type >

Functor to determine if an object is of the specified node type.

This functor is used to build filters for use by the boost iterator library. It has overloads for both node_info objects (when filtering over the NBT) and for const_table_rows (when filtering over a table). It is used by both the PST Layer object and the folder object.

Template Parameters
TypeThe node type to identify

Definition at line 45 of file folder.h.

Member Function Documentation

◆ operator()() [1/2]

template<node_id Type>
bool pstsdk::is_nid_type< Type >::operator() ( const const_table_row row)
inline

Definition at line 49 of file folder.h.

◆ operator()() [2/2]

template<node_id Type>
bool pstsdk::is_nid_type< Type >::operator() ( const node_info info)
inline

Definition at line 47 of file folder.h.


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