MySQL 8.0.40
Source Code Documentation

Encapsulates the name of an instrumented entity. More...

#include <pfs_instr_class.h>

Public Member Functions

const char * str () const
 Return the name as a string. More...
 
uint length () const
 Return the length of the string. More...
 
void set (PFS_class_type class_type, const char *name, uint max_length_arg=max_length)
 Copy the specified name to this name. More...
 

Public Attributes

public __pad0__: char m_private_name[max_length + 1]
 
uint m_private_name_length
 Length in bytes of m_name. More...
 
const char * m_private_old_name
 Old instrument name, if any. More...
 
uint m_private_old_name_length
 Length in bytes of old instrument name len, if any. More...
 
terminology_use_previous::enum_compatibility_version m_private_version
 The oldest version that uses the new name. More...
 

Static Public Attributes

static constexpr uint max_length = PFS_MAX_INFO_NAME_LENGTH - 1
 

Detailed Description

Encapsulates the name of an instrumented entity.

Member Data Documentation

◆ __pad0__

public PFS_instr_name::__pad0__

◆ m_private_name_length

uint PFS_instr_name::m_private_name_length

Length in bytes of m_name.

◆ m_private_old_name

const char* PFS_instr_name::m_private_old_name

Old instrument name, if any.

◆ m_private_old_name_length

uint PFS_instr_name::m_private_old_name_length

Length in bytes of old instrument name len, if any.

◆ m_private_version

terminology_use_previous::enum_compatibility_version PFS_instr_name::m_private_version

The oldest version that uses the new name.

◆ max_length

constexpr uint PFS_instr_name::max_length = PFS_MAX_INFO_NAME_LENGTH - 1
staticconstexpr

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