ArmNN
 20.05
SwTraceNameCharPolicy Struct Reference

#include <ProfilingUtils.hpp>

Static Public Member Functions

static bool IsValidChar (unsigned char c)
 

Detailed Description

Definition at line 58 of file ProfilingUtils.hpp.

Member Function Documentation

◆ IsValidChar()

static bool IsValidChar ( unsigned char  c)
inlinestatic

Definition at line 60 of file ProfilingUtils.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

61  {
62  // Check that the given character has ASCII 7-bit encoding, alpha-numeric and underscore only
63  return c < 128 && (std::isalnum(c) || c == '_');
64  }

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