LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::StringsPool Class Reference

#include <common/misc/stringspool.h>

Public Member Functions

 StringsPool ()
 
 ~StringsPool ()
 
StringsPoolIndex operator[] (const LimaString &str) const
 
StringsPoolIndex operator[] (const LimaString &str)
 
const LimaString & operator[] (const StringsPoolIndex ind) const
 
LimaString & operator[] (const StringsPoolIndex ind)
 
void registerUser (void *p)
 
void unregisterUser (void *p)
 
void endResourcesPool ()
 
bool empty () const
 
uint64_t size () const
 
 StringsPool (const StringsPool &)=delete
 
StringsPool & operator= (const StringsPool &)=delete
 

Detailed Description

Author
CEA LIST

Definition at line 45 of file stringspool.h.

Constructor & Destructor Documentation

◆ StringsPool() [1/2]

Lima::StringsPool::StringsPool ( )

Definition at line 89 of file stringspool.cpp.

◆ ~StringsPool()

Lima::StringsPool::~StringsPool ( )

Definition at line 94 of file stringspool.cpp.

◆ StringsPool() [2/2]

Lima::StringsPool::StringsPool ( const StringsPool &  )
delete

Member Function Documentation

◆ empty()

bool Lima::StringsPool::empty ( ) const

Definition at line 99 of file stringspool.cpp.

◆ endResourcesPool()

void Lima::StringsPool::endResourcesPool ( )

Definition at line 110 of file stringspool.cpp.

◆ operator=()

StringsPool & Lima::StringsPool::operator= ( const StringsPool &  )
delete

◆ operator[]() [1/4]

StringsPoolIndex Lima::StringsPool::operator[] ( const LimaString &  str)

Definition at line 136 of file stringspool.cpp.

◆ operator[]() [2/4]

StringsPoolIndex Lima::StringsPool::operator[] ( const LimaString &  str) const

Definition at line 115 of file stringspool.cpp.

◆ operator[]() [3/4]

LimaString & Lima::StringsPool::operator[] ( const StringsPoolIndex  ind)

Definition at line 172 of file stringspool.cpp.

◆ operator[]() [4/4]

const LimaString & Lima::StringsPool::operator[] ( const StringsPoolIndex  ind) const

Definition at line 158 of file stringspool.cpp.

◆ registerUser()

void Lima::StringsPool::registerUser ( void *  p)

Definition at line 186 of file stringspool.cpp.

◆ size()

uint64_t Lima::StringsPool::size ( ) const

Definition at line 104 of file stringspool.cpp.

◆ unregisterUser()

void Lima::StringsPool::unregisterUser ( void *  p)

Definition at line 193 of file stringspool.cpp.


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