CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoTypeCore::RefCountedString Class Reference

#include <cartotype_string.h>

Inheritance diagram for CartoTypeCore::RefCountedString:

Public Member Functions

 RefCountedString ()
 
 RefCountedString (const MString &aText)
 
 RefCountedString (const char *aText)
 
 RefCountedString (std::nullptr_t)
 

Detailed Description

A type for immutable reference-counted strings, which are used for layer names in map objects.

Constructor & Destructor Documentation

◆ 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: