HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT::MapKeyClearer< S0, S1 > Struct Template Reference

#include <UT_ArrayMap.h>

+ Inheritance diagram for UT::MapKeyClearer< S0, S1 >:

Public Types

using Base = DefaultClearer< std::pair< S0, S1 > >
 

Static Public Member Functions

static bool isClear (const std::pair< S0, S1 > &v)
 
static bool isClear (const S0 &v)
 An overload for when there's only a key. More...
 
- Static Public Member Functions inherited from UT::DefaultClearer< std::pair< S0, S1 > >
static void clear (std::pair< S0, S1 > &v)
 
static bool isClear (const std::pair< S0, S1 > &v)
 
static void clearConstruct (std::pair< S0, S1 > *p)
 

Additional Inherited Members

- Static Public Attributes inherited from UT::DefaultClearer< std::pair< S0, S1 > >
static const bool clearNeedsDestruction = DefaultClearer<S0>::clearNeedsDestruction || DefaultClearer<S1>::clearNeedsDestruction
 

Detailed Description

template<typename S0, typename S1>
struct UT::MapKeyClearer< S0, S1 >

Definition at line 39 of file UT_ArrayMap.h.

Member Typedef Documentation

template<typename S0 , typename S1 >
using UT::MapKeyClearer< S0, S1 >::Base = DefaultClearer<std::pair<S0,S1> >

Definition at line 41 of file UT_ArrayMap.h.

Member Function Documentation

template<typename S0 , typename S1 >
static bool UT::MapKeyClearer< S0, S1 >::isClear ( const std::pair< S0, S1 > &  v)
inlinestatic

Only need to actually check the key, even though clear and clearConstruct will clear both.

Definition at line 45 of file UT_ArrayMap.h.

template<typename S0 , typename S1 >
static bool UT::MapKeyClearer< S0, S1 >::isClear ( const S0 &  v)
inlinestatic

An overload for when there's only a key.

Definition at line 50 of file UT_ArrayMap.h.


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