OSM::StringKeyRegistryBase

Search for usage in LXR

OSM::StringKeyRegistryBase Class Reference

#include <stringpool.h>

Inheritance diagram for OSM::StringKeyRegistryBase:

Protected Member Functions

 StringKeyRegistryBase (StringKeyRegistryBase &&) noexcept
 
const char * keyInternal (const char *name) const
 
const char * makeKeyInternal (const char *name, std::size_t len, StringMemory memOpt)
 
StringKeyRegistryBaseoperator= (StringKeyRegistryBase &&) noexcept
 

Protected Attributes

std::vector< char * > m_pool
 
std::vector< const char * > m_registry
 

Detailed Description

Definition at line 20 of file stringpool.h.

Constructor & Destructor Documentation

◆ ~StringKeyRegistryBase()

OSM::StringKeyRegistryBase::~StringKeyRegistryBase ( )
protected

Definition at line 15 of file stringpool.cpp.

Member Function Documentation

◆ keyInternal()

const char * OSM::StringKeyRegistryBase::keyInternal ( const char * name) const
nodiscardprotected

Definition at line 43 of file stringpool.cpp.

◆ makeKeyInternal()

const char * OSM::StringKeyRegistryBase::makeKeyInternal ( const char * name,
std::size_t len,
OSM::StringMemory memOpt )
nodiscardprotected

Definition at line 20 of file stringpool.cpp.

Member Data Documentation

◆ m_pool

std::vector<char*> OSM::StringKeyRegistryBase::m_pool
protected

Definition at line 31 of file stringpool.h.

◆ m_registry

std::vector<const char*> OSM::StringKeyRegistryBase::m_registry
protected

Definition at line 32 of file stringpool.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.