Alien-SmokeQt
view release on metacpan or search on metacpan
generator/parser/indexedstring.h view on Meta::CPAN
//krazy:excludeall=dpointer,inline
#include "cppparser_export.h"
#include <QtCore/QString>
class QDataStream;
class QUrl;
class IndexedString;
///This string does "disk reference-counting", which means that reference-counts are maintainted, but
///only when the string is in a disk-stored location. The file referencecounting.h is used to manage this condition.
///Whenever reference-counting is enabled for a range that contains the IndexedString, it will manipulate the reference-counts.
///The duchain storage mechanisms automatically are about correctly managing that condition, so you don't need to care, and can
///just use this class in every duchain data type without restrictions.
///
///@warning Do not use IndexedString after QCoreApplication::aboutToQuit() has been emitted, items that are not disk-referenced will be invalid at that point
///
///Empty strings have an index of zero.
///Strings of length one are not put into the repository, but are encoded directly within the index:
///They are encoded like 0xffff00bb where bb is the byte of the character.
( run in 0.348 second using v1.01-cache-2.11-cpan-d6f9594c0a5 )