• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • TDevelop Interfaces Library
 

TDevelop Interfaces Library

Public Member Functions | Friends | List of all members
HashedStringSet Class Reference

#include <hashedstring.h>

Public Member Functions

 HashedStringSet (const HashedString &file)
 
 HashedStringSet (const HashedStringSet &rhs)
 
int size () const
 
HashedStringSet & operator= (const HashedStringSet &rhs)
 
bool operator[] (const HashedString &rhs) const
 
void insert (const HashedString &str)
 
HashedStringSet & operator+= (const HashedStringSet &)
 
HashedStringSet & operator-= (const HashedStringSet &)
 
bool operator<= (const HashedStringSet &rhs) const
 
bool operator== (const HashedStringSet &rhs) const
 
void read (TQDataStream &stream)
 
void write (TQDataStream &stream) const
 
std::string print () const
 
size_t hash () const
 

Friends

class HashedStringSetGroup
 
HashedStringSet operator+ (const HashedStringSet &lhs, const HashedStringSet &rhs)
 

Detailed Description

This is a reference-counting string-set optimized for fast lookup of hashed strings.

Definition at line 81 of file hashedstring.h.

Constructor & Destructor Documentation

◆ HashedStringSet()

HashedStringSet::HashedStringSet ( const HashedString &  file)

Constructs a string-set from one single file.

Definition at line 96 of file hashedstring.cpp.

Member Function Documentation

◆ operator<=()

bool HashedStringSet::operator<= ( const HashedStringSet &  rhs) const

intersection-test Returns true if all files that are part of this set are also part of the given set

Definition at line 186 of file hashedstring.cpp.

◆ operator[]()

bool HashedStringSet::operator[] ( const HashedString &  rhs) const
Returns
whether the given file-name was included

Definition at line 171 of file hashedstring.cpp.


The documentation for this class was generated from the following files:
  • hashedstring.h
  • hashedstring.cpp

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for TDevelop Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.