PoDoFo 1.0.0
|
A memory owning immutable block of code points, optimized for small segments as up to 3 elements can stay in the stack. More...
#include <PdfEncodingCommon.h>
Public Member Functions | |
CodePointSpan (codepoint codepoint) | |
CodePointSpan (std::initializer_list< codepoint > codepoints) | |
CodePointSpan (const codepointview &view) | |
CodePointSpan (const codepointview &view, codepoint codepoint) | |
CodePointSpan (const CodePointSpan &) | |
void | CopyTo (std::vector< codepoint > &codePoints) const |
codepointview | view () const |
unsigned | GetSize () const |
CodePointSpan & | operator= (const CodePointSpan &) |
size_t | size () const |
const codepoint * | data () const |
operator codepointview () const | |
codepoint | operator* () const |
Return the first element in the block. | |
A memory owning immutable block of code points, optimized for small segments as up to 3 elements can stay in the stack.
codepoint CodePointSpan::operator* | ( | ) | const |
Return the first element in the block.