VTK  9.0.20210805
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 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.

Definition at line 35 of file vtkStdString.h.

Member Typedef Documentation

◆ StdString

typedef std::string vtkStdString::StdString

Definition at line 38 of file vtkStdString.h.

◆ value_type

typedef StdString::value_type vtkStdString::value_type

Definition at line 39 of file vtkStdString.h.

◆ pointer

typedef StdString::pointer vtkStdString::pointer

Definition at line 40 of file vtkStdString.h.

◆ reference

typedef StdString::reference vtkStdString::reference

Definition at line 41 of file vtkStdString.h.

◆ const_reference

typedef StdString::const_reference vtkStdString::const_reference

Definition at line 42 of file vtkStdString.h.

◆ size_type

typedef StdString::size_type vtkStdString::size_type

Definition at line 43 of file vtkStdString.h.

◆ difference_type

typedef StdString::difference_type vtkStdString::difference_type

Definition at line 44 of file vtkStdString.h.

◆ iterator

typedef StdString::iterator vtkStdString::iterator

Definition at line 45 of file vtkStdString.h.

◆ const_iterator

typedef StdString::const_iterator vtkStdString::const_iterator

Definition at line 46 of file vtkStdString.h.

◆ reverse_iterator

typedef StdString::reverse_iterator vtkStdString::reverse_iterator

Definition at line 47 of file vtkStdString.h.

◆ const_reverse_iterator

typedef StdString::const_reverse_iterator vtkStdString::const_reverse_iterator

Definition at line 48 of file vtkStdString.h.

Constructor & Destructor Documentation

◆ vtkStdString() [1/6]

vtkStdString::vtkStdString ( )
inline

Definition at line 50 of file vtkStdString.h.

◆ vtkStdString() [2/6]

vtkStdString::vtkStdString ( const value_type s)
inline

Definition at line 54 of file vtkStdString.h.

◆ vtkStdString() [3/6]

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

Definition at line 58 of file vtkStdString.h.

◆ vtkStdString() [4/6]

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

Definition at line 62 of file vtkStdString.h.

◆ vtkStdString() [5/6]

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

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

Member Function Documentation

◆ operator const char *()

vtkStdString::operator const char * ( )
inline

Definition at line 75 of file vtkStdString.h.


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