MySQL 8.3.0
Source Code Documentation
PFS_object_name_view Struct Reference

#include <pfs_name.h>

Public Member Functions

void reset ()
 
void set_view_as_table (const char *str, size_t len)
 
void set_view_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_view *other) const
 
void hash_as_routine (uint64 *nr1, uint64 *nr2) const
 
int sort_as_routine (const PFS_object_name_view *other) const
 
PFS_object_name_viewoperator= (const PFS_routine_name_view &other)
 
PFS_object_name_viewoperator= (const PFS_table_name_view &other)
 
size_t length () const
 
const char * ptr () const
 

Private Attributes

PFS_any_name_view< NAME_LENm_name
 

Member Function Documentation

◆ hash_as_routine()

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

◆ hash_as_table()

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

◆ length()

size_t PFS_object_name_view::length ( ) const
inline

◆ operator=() [1/2]

PFS_object_name_view & PFS_object_name_view::operator= ( const PFS_routine_name_view other)
inline

◆ operator=() [2/2]

PFS_object_name_view & PFS_object_name_view::operator= ( const PFS_table_name_view other)
inline

◆ ptr()

const char * PFS_object_name_view::ptr ( ) const
inline

◆ reset()

void PFS_object_name_view::reset ( void  )
inline

◆ set_view_as_routine()

void PFS_object_name_view::set_view_as_routine ( const char *  str,
size_t  len 
)
inline

◆ set_view_as_table()

void PFS_object_name_view::set_view_as_table ( const char *  str,
size_t  len 
)
inline

◆ sort_as_routine()

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

◆ sort_as_table()

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

Member Data Documentation

◆ m_name

PFS_any_name_view<NAME_LEN> PFS_object_name_view::m_name
private

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