ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkStringList Class Reference

#include <vtkStringList.h>

Inherits vtkObject.

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void AddFormattedString (const char *EventString,...)
 Add a command and format it any way you like. More...
 
void RemoveAllItems ()
 Initialize to empty. More...
 
void SetString (int idx, const char *str)
 Random access. More...
 
int GetLength ()
 Get the length of the list. More...
 
int GetIndex (const char *str)
 Get the index of a string. More...
 
const char * GetString (int idx)
 Get a command from its index. More...
 
virtual int GetNumberOfStrings ()
 
void AddString (const char *str)
 Add a simple string. More...
 
void AddUniqueString (const char *str)
 Add a simple string. More...
 

Static Public Member Functions

static vtkStringListNew ()
 
static int IsTypeOf (const char *type)
 
static vtkStringListSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkStringList ()
 
 ~vtkStringList ()
 
void Reallocate (int num)
 
void DeleteStrings ()
 
 vtkStringList (const vtkStringList &) VTK_DELETE_FUNCTION
 
void operator= (const vtkStringList &) VTK_DELETE_FUNCTION
 

Protected Attributes

int NumberOfStrings
 
int StringArrayLength
 
char ** Strings
 

Detailed Description

Definition at line 29 of file vtkStringList.h.

Member Typedef Documentation

◆ Superclass

typedef vtkObject vtkStringList::Superclass

Definition at line 33 of file vtkStringList.h.

Constructor & Destructor Documentation

◆ vtkStringList() [1/2]

vtkStringList::vtkStringList ( )
protected

◆ ~vtkStringList()

vtkStringList::~vtkStringList ( )
protected

◆ vtkStringList() [2/2]

vtkStringList::vtkStringList ( const vtkStringList )
protected

Member Function Documentation

◆ New()

static vtkStringList* vtkStringList::New ( )
static

◆ GetClassName()

virtual const char* vtkStringList::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkStringList::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkStringList::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkStringList* vtkStringList::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkStringList::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ AddString()

void vtkStringList::AddString ( const char *  str)

Add a simple string.

◆ AddUniqueString()

void vtkStringList::AddUniqueString ( const char *  str)

Add a simple string.

◆ AddFormattedString()

void vtkStringList::AddFormattedString ( const char *  EventString,
  ... 
)

Add a command and format it any way you like.

◆ RemoveAllItems()

void vtkStringList::RemoveAllItems ( )

Initialize to empty.

◆ SetString()

void vtkStringList::SetString ( int  idx,
const char *  str 
)

Random access.

◆ GetLength()

int vtkStringList::GetLength ( )
inline

Get the length of the list.

Definition at line 62 of file vtkStringList.h.

◆ GetIndex()

int vtkStringList::GetIndex ( const char *  str)

Get the index of a string.

◆ GetString()

const char* vtkStringList::GetString ( int  idx)

Get a command from its index.

◆ GetNumberOfStrings()

virtual int vtkStringList::GetNumberOfStrings ( )
virtual

◆ Reallocate()

void vtkStringList::Reallocate ( int  num)
protected

◆ DeleteStrings()

void vtkStringList::DeleteStrings ( )
protected

◆ operator=()

void vtkStringList::operator= ( const vtkStringList )
protected

Member Data Documentation

◆ NumberOfStrings

int vtkStringList::NumberOfStrings
protected

Definition at line 80 of file vtkStringList.h.

◆ StringArrayLength

int vtkStringList::StringArrayLength
protected

Definition at line 81 of file vtkStringList.h.

◆ Strings

char** vtkStringList::Strings
protected

Definition at line 82 of file vtkStringList.h.


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