LibreOffice Module svl (master) 1
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
INetURLHistory_Impl Class Reference
Collaboration diagram for INetURLHistory_Impl:
[legend]

Classes

struct  hash_entry
 
struct  head_entry
 
struct  lru_entry
 

Public Member Functions

 INetURLHistory_Impl ()
 
 INetURLHistory_Impl (const INetURLHistory_Impl &)=delete
 
INetURLHistory_Imploperator= (const INetURLHistory_Impl &)=delete
 
void putUrl (const OUString &rUrl)
 putUrl/queryUrl. More...
 
bool queryUrl (const OUString &rUrl) const
 

Private Member Functions

void initialize ()
 Initialization. More...
 
sal_uInt16 find (sal_uInt32 nHash) const
 
void move (sal_uInt16 nSI, sal_uInt16 nDI)
 
void backlink (sal_uInt16 nThis, sal_uInt16 nTail)
 
void unlink (sal_uInt16 nThis)
 

Static Private Member Functions

static sal_uInt16 capacity ()
 
static sal_uInt32 crc32 (OUString const &rData)
 

Private Attributes

head_entry m_aHead
 Representation. More...
 
hash_entry m_pHash [INETHIST_SIZE_LIMIT]
 
lru_entry m_pList [INETHIST_SIZE_LIMIT]
 

Detailed Description

Definition at line 39 of file inethist.cxx.

Constructor & Destructor Documentation

◆ INetURLHistory_Impl() [1/2]

INetURLHistory_Impl::INetURLHistory_Impl ( )

Definition at line 158 of file inethist.cxx.

References initialize().

◆ INetURLHistory_Impl() [2/2]

INetURLHistory_Impl::INetURLHistory_Impl ( const INetURLHistory_Impl )
delete

Member Function Documentation

◆ backlink()

void INetURLHistory_Impl::backlink ( sal_uInt16  nThis,
sal_uInt16  nTail 
)
inlineprivate

◆ capacity()

static sal_uInt16 INetURLHistory_Impl::capacity ( )
inlinestaticprivate

Definition at line 112 of file inethist.cxx.

References INETHIST_SIZE_LIMIT.

Referenced by find(), initialize(), putUrl(), and queryUrl().

◆ crc32()

static sal_uInt32 INetURLHistory_Impl::crc32 ( OUString const &  rData)
inlinestaticprivate

Definition at line 117 of file inethist.cxx.

Referenced by putUrl(), and queryUrl().

◆ find()

sal_uInt16 INetURLHistory_Impl::find ( sal_uInt32  nHash) const
private

Definition at line 176 of file inethist.cxx.

References capacity(), m, and m_pHash.

Referenced by putUrl(), and queryUrl().

◆ initialize()

void INetURLHistory_Impl::initialize ( )
private

◆ move()

void INetURLHistory_Impl::move ( sal_uInt16  nSI,
sal_uInt16  nDI 
)
private

Definition at line 196 of file inethist.cxx.

References m_pHash.

Referenced by putUrl().

◆ operator=()

INetURLHistory_Impl & INetURLHistory_Impl::operator= ( const INetURLHistory_Impl )
delete

◆ putUrl()

void INetURLHistory_Impl::putUrl ( const OUString &  rUrl)

◆ queryUrl()

bool INetURLHistory_Impl::queryUrl ( const OUString &  rUrl) const

Definition at line 266 of file inethist.cxx.

References capacity(), crc32(), find(), h, and m_pHash.

◆ unlink()

void INetURLHistory_Impl::unlink ( sal_uInt16  nThis)
inlineprivate

Member Data Documentation

◆ m_aHead

head_entry INetURLHistory_Impl::m_aHead
private

Representation.

Definition at line 104 of file inethist.cxx.

Referenced by initialize(), and putUrl().

◆ m_pHash

hash_entry INetURLHistory_Impl::m_pHash[INETHIST_SIZE_LIMIT]
private

Definition at line 105 of file inethist.cxx.

Referenced by find(), initialize(), move(), putUrl(), and queryUrl().

◆ m_pList

lru_entry INetURLHistory_Impl::m_pList[INETHIST_SIZE_LIMIT]
private

Definition at line 106 of file inethist.cxx.

Referenced by backlink(), initialize(), putUrl(), and unlink().


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