OpenVDB: MemUsageOp< TreeType > Struct Template Reference

OpenVDB 8.1.0

Public Types | Public Member Functions | Public Attributes | List of all members
MemUsageOp< TreeType > Struct Template Reference

A DynamicNodeManager operator to sum the number of bytes of memory used. More...

`#include <Count.h>`

## Public Types
using | RootT = typename TreeType::RootNodeType
using | LeafT = typename TreeType::LeafNodeType

## Public Member Functions
| MemUsageOp ()=default
| MemUsageOp (const MemUsageOp &, tbb::split)
bool | operator() (const RootT &root, size_t)
template<typename NodeT >
bool | operator() (const NodeT &node, size_t)
bool | operator() (const LeafT &leaf, size_t)
void | join (const MemUsageOp &other)

## Public Attributes
openvdb::Index64 | count {0}

## Detailed Description

### template<typename TreeType>
struct openvdb::v8_1::tools::count_internal::MemUsageOp< TreeType >

A DynamicNodeManager operator to sum the number of bytes of memory used.

## Member Typedef Documentation

## ◆ LeafT

using LeafT = typename TreeType::LeafNodeType

## ◆ RootT

using RootT = typename TreeType::RootNodeType

## Constructor & Destructor Documentation

## ◆ MemUsageOp() [1/2]

MemUsageOp | ( |  | ) |
| default

## ◆ MemUsageOp() [2/2]

MemUsageOp | ( | const MemUsageOp< TreeType > & | ,
|  | tbb::split |
| ) |  |
| inline

## Member Function Documentation

## ◆ join()

void join | ( | const MemUsageOp< TreeType > & | other | ) |
| inline

## ◆ operator()() [1/3]

bool operator() | ( | const LeafT & | leaf,
|  | size_t |
| ) |  |
| inline

## ◆ operator()() [2/3]

bool operator() | ( | const NodeT & | node,
|  | size_t |
| ) |  |
| inline

## ◆ operator()() [3/3]

bool operator() | ( | const RootT & | root,
|  | size_t |
| ) |  |
| inline

## Member Data Documentation

## ◆ count

openvdb::Index64 count {0}

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

- Count.h