VTK  9.3.20240617
Public Types | Public Member Functions | List of all members
vtkStdString Class Reference

Wrapper around std::string to keep symbols short. More...

#include <vtkStdString.h>

Inherits std::string.

Public Types

typedef std::string StdString
typedef StdString::value_type value_type
typedef StdString::pointer pointer
typedef StdString::reference reference
typedef StdString::const_reference const_reference
typedef StdString::size_type size_type
typedef StdString::difference_type difference_type
typedef StdString::iterator iterator
typedef StdString::const_iterator const_iterator
typedef StdString::reverse_iterator reverse_iterator
typedef StdString::const_reverse_iterator const_reverse_iterator

Public Member Functions

 vtkStdString ()=default
 vtkStdString (const value_type *s)
 vtkStdString (const value_type *s, size_type n)
 vtkStdString (const std::string &s)
 vtkStdString (std::string &&s)
 vtkStdString (const std::string &s, size_type pos, size_type n=std::string::npos)
 operator const char * ()

Detailed Description

Wrapper around std::string to keep symbols short.

vtkStdString derives from std::string to provide shorter symbol names than basic_string<...> in namespace std given by the standard STL string.

Online Examples:

vtkStdString (Tests)

Definition at line 77 of file vtkStdString.h.

Member Typedef Documentation

◆ StdString

typedef std::string vtkStdString::StdString

Definition at line 80 of file vtkStdString.h.

◆ value_type

typedef StdString::value_type vtkStdString::value_type

Definition at line 81 of file vtkStdString.h.

◆ pointer

typedef StdString::pointer vtkStdString::pointer

Definition at line 82 of file vtkStdString.h.

◆ reference

typedef StdString::reference vtkStdString::reference

Definition at line 83 of file vtkStdString.h.

◆ const_reference

typedef StdString::const_reference vtkStdString::const_reference

Definition at line 84 of file vtkStdString.h.

◆ size_type

typedef StdString::size_type vtkStdString::size_type

Definition at line 85 of file vtkStdString.h.

◆ difference_type

typedef StdString::difference_type vtkStdString::difference_type

Definition at line 86 of file vtkStdString.h.

◆ iterator

typedef StdString::iterator vtkStdString::iterator

Definition at line 87 of file vtkStdString.h.

◆ const_iterator

typedef StdString::const_iterator vtkStdString::const_iterator

Definition at line 88 of file vtkStdString.h.

◆ reverse_iterator

typedef StdString::reverse_iterator vtkStdString::reverse_iterator

Definition at line 89 of file vtkStdString.h.

◆ const_reverse_iterator

typedef StdString::const_reverse_iterator vtkStdString::const_reverse_iterator

Definition at line 90 of file vtkStdString.h.

Constructor & Destructor Documentation

◆ vtkStdString() [1/6]

vtkStdString::vtkStdString ( )

◆ vtkStdString() [2/6]

vtkStdString::vtkStdString ( const value_type s)

Definition at line 93 of file vtkStdString.h.

◆ vtkStdString() [3/6]

vtkStdString::vtkStdString ( const value_type s,
size_type  n 

Definition at line 97 of file vtkStdString.h.

◆ vtkStdString() [4/6]

vtkStdString::vtkStdString ( const std::string &  s)

Definition at line 101 of file vtkStdString.h.

◆ vtkStdString() [5/6]

vtkStdString::vtkStdString ( std::string &&  s)

Definition at line 105 of file vtkStdString.h.

◆ vtkStdString() [6/6]

vtkStdString::vtkStdString ( const std::string &  s,
size_type  pos,
size_type  n = std::string::npos 

Definition at line 109 of file vtkStdString.h.

Member Function Documentation

◆ operator const char *()

vtkStdString::operator const char * ( )

Definition at line 115 of file vtkStdString.h.

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