MySQL 9.1.0
Source Code Documentation
PFS_object_name Struct Reference

#include <pfs_name.h>

Public Member Functions

void reset ()
 
void set_as_table (const char *str, size_t len)
 
void set_as_routine (const char *str, size_t len)
 
void hash_as_table (uint64 *nr1, uint64 *nr2) const
 
int sort_as_table (const PFS_object_name *other) const
 
void hash_as_routine (uint64 *nr1, uint64 *nr2) const
 
int sort_as_routine (const PFS_object_name *other) const
 
PFS_object_nameoperator= (const PFS_routine_name &other)
 
PFS_object_nameoperator= (const PFS_table_name &other)
 
size_t length () const
 
const char * ptr () const
 

Private Attributes

PFS_any_name< NAME_LENm_name
 

Friends

struct PFS_object_name_view
 

Member Function Documentation

◆ hash_as_routine()

void PFS_object_name::hash_as_routine ( uint64 nr1,
uint64 nr2 
) const
inline

◆ hash_as_table()

void PFS_object_name::hash_as_table ( uint64 nr1,
uint64 nr2 
) const
inline

◆ length()

size_t PFS_object_name::length ( ) const
inline

◆ operator=() [1/2]

PFS_object_name & PFS_object_name::operator= ( const PFS_routine_name other)
inline

◆ operator=() [2/2]

PFS_object_name & PFS_object_name::operator= ( const PFS_table_name other)
inline

◆ ptr()

const char * PFS_object_name::ptr ( ) const
inline

◆ reset()

void PFS_object_name::reset ( void  )
inline

◆ set_as_routine()

void PFS_object_name::set_as_routine ( const char *  str,
size_t  len 
)

◆ set_as_table()

void PFS_object_name::set_as_table ( const char *  str,
size_t  len 
)

◆ sort_as_routine()

int PFS_object_name::sort_as_routine ( const PFS_object_name other) const
inline

◆ sort_as_table()

int PFS_object_name::sort_as_table ( const PFS_object_name other) const
inline

Friends And Related Function Documentation

◆ PFS_object_name_view

friend struct PFS_object_name_view
friend

Member Data Documentation

◆ m_name

PFS_any_name<NAME_LEN> PFS_object_name::m_name
private

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