![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <vtkStringList.h>


Classes | |
| class | vtkInternals |
Public Member Functions | |
| vtkTypeMacro (vtkStringList, vtkObject) | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | AddString (const char *str) |
| void | AddUniqueString (const char *str) |
| void | AddFormattedString (const char *EventString,...) |
| void | RemoveAllItems () |
| void | SetString (int idx, const char *str) |
| int | GetLength () |
| int | GetIndex (const char *str) |
| const char * | GetString (int idx) |
| int | GetNumberOfStrings () |
Static Public Member Functions | |
| static vtkStringList * | New () |
Protected Member Functions | |
| vtkStringList () | |
| ~vtkStringList () override | |
Definition at line 15 of file vtkStringList.h.
|
protected |
Definition at line 34 of file vtkStringList.cxx.
|
overrideprotected |
Definition at line 40 of file vtkStringList.cxx.
| void vtkStringList::AddFormattedString | ( | const char * | EventString, |
| ... | |||
| ) |
Add a command and format it any way you like.
Definition at line 98 of file vtkStringList.cxx.
References AddString(), event, and format.
| void vtkStringList::AddString | ( | const char * | str | ) |
Add a simple string.
Definition at line 76 of file vtkStringList.cxx.
Referenced by AddFormattedString(), and AddUniqueString().
| void vtkStringList::AddUniqueString | ( | const char * | str | ) |
Definition at line 88 of file vtkStringList.cxx.
References AddString(), and GetIndex().
| int vtkStringList::GetIndex | ( | const char * | str | ) |
Get the index of a string.
Definition at line 51 of file vtkStringList.cxx.
References Utils::distance().
Referenced by AddUniqueString().
|
inline |
Get the length of the list.
Definition at line 47 of file vtkStringList.h.
| int vtkStringList::GetNumberOfStrings | ( | ) |
Returns the number of strings.
Definition at line 127 of file vtkStringList.cxx.
Referenced by PrintSelf().
| const char * vtkStringList::GetString | ( | int | idx | ) |
Get a command from its index.
Definition at line 64 of file vtkStringList.cxx.
References NULL.
Referenced by PrintSelf().
|
static |
|
override |
Definition at line 134 of file vtkStringList.cxx.
References QtCompat::endl(), GetNumberOfStrings(), and GetString().
| void vtkStringList::RemoveAllItems | ( | ) |
Initialize to empty.
Definition at line 45 of file vtkStringList.cxx.
| void vtkStringList::SetString | ( | int | idx, |
| const char * | str | ||
| ) |
Random access.
Definition at line 111 of file vtkStringList.cxx.
| vtkStringList::vtkTypeMacro | ( | vtkStringList | , |
| vtkObject | |||
| ) |