ArmNN
 21.05
StringMapping Struct Reference

StringMapping is helper class to be able to use strings as template parameters, so this allows simplifying code which only differs in a string, such as a debug string literal. More...

#include <StringMapping.hpp>

Public Types

enum  Id {
  RefAdditionWorkload_Execute, RefDivisionWorkload_Execute, RefMaximumWorkload_Execute, RefMinimumWorkload_Execute,
  RefMultiplicationWorkload_Execute, RefSubtractionWorkload_Execute, MAX_STRING_ID
}
 

Public Member Functions

const char * Get (Id id) const
 

Static Public Member Functions

static const StringMappingInstance ()
 

Detailed Description

StringMapping is helper class to be able to use strings as template parameters, so this allows simplifying code which only differs in a string, such as a debug string literal.

Definition at line 16 of file StringMapping.hpp.

Member Enumeration Documentation

◆ Id

Member Function Documentation

◆ Get()

◆ Instance()

const StringMapping & Instance ( )
static

Definition at line 11 of file StringMapping.cpp.

Referenced by RefElementwiseWorkload< Functor, ParentDescriptor, DebugString >::ExecuteAsync(), and StringMapping::Get().

12 {
13  static StringMapping instance;
14  return instance;
15 }

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