VTK  9.1.0
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:

Definition at line 104 of file vtkStdString.h.

Member Typedef Documentation

◆ StdString

typedef std::string vtkStdString::StdString

Definition at line 107 of file vtkStdString.h.

◆ value_type

typedef StdString::value_type vtkStdString::value_type

Definition at line 108 of file vtkStdString.h.

◆ pointer

typedef StdString::pointer vtkStdString::pointer

Definition at line 109 of file vtkStdString.h.

◆ reference

typedef StdString::reference vtkStdString::reference

Definition at line 110 of file vtkStdString.h.

◆ const_reference

typedef StdString::const_reference vtkStdString::const_reference

Definition at line 111 of file vtkStdString.h.

◆ size_type

typedef StdString::size_type vtkStdString::size_type

Definition at line 112 of file vtkStdString.h.

◆ difference_type

typedef StdString::difference_type vtkStdString::difference_type

Definition at line 113 of file vtkStdString.h.

◆ iterator

typedef StdString::iterator vtkStdString::iterator

Definition at line 114 of file vtkStdString.h.

◆ const_iterator

typedef StdString::const_iterator vtkStdString::const_iterator

Definition at line 115 of file vtkStdString.h.

◆ reverse_iterator

typedef StdString::reverse_iterator vtkStdString::reverse_iterator

Definition at line 116 of file vtkStdString.h.

◆ const_reverse_iterator

typedef StdString::const_reverse_iterator vtkStdString::const_reverse_iterator

Definition at line 117 of file vtkStdString.h.

Constructor & Destructor Documentation

◆ vtkStdString() [1/6]

vtkStdString::vtkStdString ( )
inline

Definition at line 119 of file vtkStdString.h.

◆ vtkStdString() [2/6]

vtkStdString::vtkStdString ( const value_type s)
inline

Definition at line 123 of file vtkStdString.h.

◆ vtkStdString() [3/6]

vtkStdString::vtkStdString ( const value_type s,
size_type  n 
)
inline

Definition at line 127 of file vtkStdString.h.

◆ vtkStdString() [4/6]

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

Definition at line 131 of file vtkStdString.h.

◆ vtkStdString() [5/6]

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

Definition at line 135 of file vtkStdString.h.

◆ vtkStdString() [6/6]

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

Definition at line 139 of file vtkStdString.h.

Member Function Documentation

◆ operator const char *()

vtkStdString::operator const char * ( )
inline

Definition at line 144 of file vtkStdString.h.


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