ConOpSys V2970  P004.07
ANVILEX control operating system
Public Member Functions | Private Attributes | List of all members
TStrings Class Reference

#include <String_List.h>

Collaboration diagram for TStrings:
Collaboration graph

Public Member Functions

 TStrings ()
 
 TStrings (TAnsiString &Text)
 
 ~TStrings ()
 
VOID Clear ()
 
VOID SetText (TAnsiString &Text)
 
VOID SetText (CHAR *Text)
 
VOID SetCommaText (TAnsiString &CommaText)
 
I32 GetCount ()
 
VOID Add (TAnsiString String)
 
VOID Add (TAnsiString String, VOID *Object)
 
TAnsiString GetString (I32 Index)
 
VOIDGetObject (I32 Index)
 
I32 GetIndexByStringValue (TAnsiString Value)
 
VOID Remove (I32 Index)
 
BOOL IsStringExists (TAnsiString Value)
 

Private Attributes

TListStringStorage
 
TListObjectStorage
 

Constructor & Destructor Documentation

◆ TStrings() [1/2]

TStrings::TStrings ( )

References ObjectStorage, and StringStorage.

Referenced by TStrings().

Here is the caller graph for this function:

◆ TStrings() [2/2]

TStrings::TStrings ( TAnsiString &  Text)

References SetText(), and TStrings().

Here is the call graph for this function:

◆ ~TStrings()

TStrings::~TStrings ( )

References Clear(), ObjectStorage, and StringStorage.

Here is the call graph for this function:

Member Function Documentation

◆ Add() [1/2]

VOID TStrings::Add ( TAnsiString  String)

References NULL.

◆ Add() [2/2]

VOID TStrings::Add ( TAnsiString  String,
VOID Object 
)

References TList::Add(), ObjectStorage, and StringStorage.

Here is the call graph for this function:

◆ Clear()

VOID TStrings::Clear ( )

References TList::Clear(), TList::GetCount(), TList::GetItem(), ObjectStorage, and StringStorage.

Referenced by SetCommaText(), SetText(), and ~TStrings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCount()

I32 TStrings::GetCount ( )

References TList::GetCount(), and StringStorage.

Here is the call graph for this function:

◆ GetIndexByStringValue()

I32 TStrings::GetIndexByStringValue ( TAnsiString  Value)

References TList::GetCount(), TList::GetItem(), and StringStorage.

Here is the call graph for this function:

◆ GetObject()

VOID * TStrings::GetObject ( I32  Index)

References TList::GetCount(), TList::GetItem(), NULL, and ObjectStorage.

Here is the call graph for this function:

◆ GetString()

TAnsiString TStrings::GetString ( I32  Index)

References TList::GetCount(), TList::GetItem(), and StringStorage.

Here is the call graph for this function:

◆ IsStringExists()

BOOL TStrings::IsStringExists ( TAnsiString  Value)

References TList::GetCount(), TList::GetItem(), and StringStorage.

Here is the call graph for this function:

◆ Remove()

VOID TStrings::Remove ( I32  Index)

References TList::GetCount(), TList::GetItem(), ObjectStorage, TList::Remove(), and StringStorage.

Here is the call graph for this function:

◆ SetCommaText()

VOID TStrings::SetCommaText ( TAnsiString &  CommaText)

References TList::Add(), Clear(), NULL, ObjectStorage, and StringStorage.

Here is the call graph for this function:

◆ SetText() [1/2]

VOID TStrings::SetText ( CHAR *  Text)

References TList::Add(), Clear(), NULL, ObjectStorage, and StringStorage.

Here is the call graph for this function:

◆ SetText() [2/2]

VOID TStrings::SetText ( TAnsiString &  Text)

Referenced by TStrings().

Here is the caller graph for this function:

Member Data Documentation

◆ ObjectStorage

TList* TStrings::ObjectStorage
private

◆ StringStorage

TList* TStrings::StringStorage
private

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