OpenShot Library | libopenshot-audio  0.1.9
juce::StringHolder Class Reference

Public Types

using CharPointerType = String::CharPointerType
 
using CharType = String::CharPointerType::CharType
 

Static Public Member Functions

static CharPointerType createUninitialisedBytes (size_t numBytes)
 
template<class CharPointer >
static CharPointerType createFromCharPointer (const CharPointer text)
 
template<class CharPointer >
static CharPointerType createFromCharPointer (const CharPointer text, size_t maxChars)
 
template<class CharPointer >
static CharPointerType createFromCharPointer (const CharPointer start, const CharPointer end)
 
static CharPointerType createFromCharPointer (const CharPointerType start, const CharPointerType end)
 
static CharPointerType createFromFixedLength (const char *const src, const size_t numChars)
 
static void retain (const CharPointerType text) noexcept
 
static void release (StringHolder *const b) noexcept
 
static void release (const CharPointerType text) noexcept
 
static int getReferenceCount (const CharPointerType text) noexcept
 
static CharPointerType makeUniqueWithByteSize (const CharPointerType text, size_t numBytes)
 
static size_t getAllocatedNumBytes (const CharPointerType text) noexcept
 

Public Attributes

Atomic< int > refCount
 
size_t allocatedNumBytes
 
CharType text [1]
 

Detailed Description

Definition at line 62 of file juce_String.cpp.


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