#include <cartotype_string.h>
A type for immutable reference-counted strings, which are used for layer names in map objects.
◆ RefCountedString() [1/4]
CartoTypeCore::RefCountedString::RefCountedString |
( |
| ) |
|
|
inline |
Creates a ref-counted string containing a shared pointer to an empty string.
◆ RefCountedString() [2/4]
CartoTypeCore::RefCountedString::RefCountedString |
( |
const MString & |
aText | ) |
|
|
inline |
Creates a ref-counted string containing aText.
◆ RefCountedString() [3/4]
CartoTypeCore::RefCountedString::RefCountedString |
( |
const char * |
aText | ) |
|
|
inline |
Creates a ref-counted string containing aText.
◆ RefCountedString() [4/4]
CartoTypeCore::RefCountedString::RefCountedString |
( |
std::nullptr_t |
| ) |
|
|
inline |
Creates a ref-counted string containing an empty shared pointer. Note that the default constructor does not do this but creates a shared pointer to an empty string.
The documentation for this class was generated from the following file: