VTK  9.2.20221001
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 ()
 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 109 of file vtkStdString.h.

Member Typedef Documentation

◆ StdString

typedef std::string vtkStdString::StdString

Definition at line 112 of file vtkStdString.h.

◆ value_type

typedef StdString::value_type vtkStdString::value_type

Definition at line 113 of file vtkStdString.h.

◆ pointer

typedef StdString::pointer vtkStdString::pointer

Definition at line 114 of file vtkStdString.h.

◆ reference

typedef StdString::reference vtkStdString::reference

Definition at line 115 of file vtkStdString.h.

◆ const_reference

typedef StdString::const_reference vtkStdString::const_reference

Definition at line 116 of file vtkStdString.h.

◆ size_type

typedef StdString::size_type vtkStdString::size_type

Definition at line 117 of file vtkStdString.h.

◆ difference_type

typedef StdString::difference_type vtkStdString::difference_type

Definition at line 118 of file vtkStdString.h.

◆ iterator

typedef StdString::iterator vtkStdString::iterator

Definition at line 119 of file vtkStdString.h.

◆ const_iterator

typedef StdString::const_iterator vtkStdString::const_iterator

Definition at line 120 of file vtkStdString.h.

◆ reverse_iterator

typedef StdString::reverse_iterator vtkStdString::reverse_iterator

Definition at line 121 of file vtkStdString.h.

◆ const_reverse_iterator

typedef StdString::const_reverse_iterator vtkStdString::const_reverse_iterator

Definition at line 122 of file vtkStdString.h.

Constructor & Destructor Documentation

◆ vtkStdString() [1/6]

vtkStdString::vtkStdString ( )

Definition at line 124 of file vtkStdString.h.

◆ vtkStdString() [2/6]

vtkStdString::vtkStdString ( const value_type s)

Definition at line 128 of file vtkStdString.h.

◆ vtkStdString() [3/6]

vtkStdString::vtkStdString ( const value_type s,
size_type  n 

Definition at line 132 of file vtkStdString.h.

◆ vtkStdString() [4/6]

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

Definition at line 136 of file vtkStdString.h.

◆ vtkStdString() [5/6]

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

Definition at line 140 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 144 of file vtkStdString.h.

Member Function Documentation

◆ operator const char *()

vtkStdString::operator const char * ( )

Definition at line 150 of file vtkStdString.h.

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