SAGA API v9.10
Loading...
Searching...
No Matches
CSG_Strings Class Reference

#include <api_core.h>

Public Member Functions

 CSG_Strings (void)
 CSG_Strings (const CSG_Strings &Strings)
 CSG_Strings (int nStrings, const SG_Char **Strings)
virtual ~CSG_Strings (void)
bool Create (const CSG_Strings &Strings)
bool Destroy (void)
bool Set_Count (int Count)
bool Set_Count (size_t Count)
int Get_Count (void) const
size_t Get_Size (void) const
bool Add (const CSG_Strings &Strings)
bool Add (const CSG_String &String)
bool Ins (const CSG_String &String, int Index)
bool Ins (const CSG_String &String, size_t Index)
bool Del (int Index)
bool Del (size_t Index)
CSG_StringGet_String (int Index) const
CSG_StringGet_String (size_t Index) const
CSG_Stringoperator[] (int Index) const
CSG_Stringoperator[] (size_t Index) const
CSG_Stringsoperator= (const CSG_Strings &Strings)
CSG_Stringsoperator+= (const CSG_Strings &Strings)
CSG_Stringsoperator+= (const CSG_String &String)
bool Sort (bool Ascending=true)
void Clear (void)
bool Assign (const CSG_Strings &Strings)

Protected Attributes

CSG_Array_Pointer m_Strings

Detailed Description

Definition at line 700 of file api_core.h.

Constructor & Destructor Documentation

◆ CSG_Strings() [1/3]

CSG_Strings::CSG_Strings ( void )

Definition at line 1024 of file api_string.cpp.

Referenced by Add(), Assign(), Create(), CSG_Strings(), operator+=(), operator+=(), and operator=().

◆ CSG_Strings() [2/3]

CSG_Strings::CSG_Strings ( const CSG_Strings & Strings)

Definition at line 1028 of file api_string.cpp.

References Create(), and CSG_Strings().

◆ CSG_Strings() [3/3]

CSG_Strings::CSG_Strings ( int nStrings,
const SG_Char ** Strings )

Definition at line 1041 of file api_string.cpp.

References Add(), and SG_Char.

◆ ~CSG_Strings()

CSG_Strings::~CSG_Strings ( void )
virtual

Definition at line 1050 of file api_string.cpp.

References Clear().

Member Function Documentation

◆ Add() [1/2]

bool CSG_Strings::Add ( const CSG_String & String)

Definition at line 1080 of file api_string.cpp.

References Get_Size(), and m_Strings.

◆ Add() [2/2]

bool CSG_Strings::Add ( const CSG_Strings & Strings)

◆ Assign()

bool CSG_Strings::Assign ( const CSG_Strings & Strings)
inline

Definition at line 737 of file api_core.h.

References Create(), and CSG_Strings().

◆ Clear()

void CSG_Strings::Clear ( void )
inline

◆ Create()

bool CSG_Strings::Create ( const CSG_Strings & Strings)

Definition at line 1033 of file api_string.cpp.

References Add(), CSG_Strings(), and Destroy().

Referenced by Assign(), CSG_Strings(), and operator=().

◆ Del() [1/2]

bool CSG_Strings::Del ( int Index)
inline

Definition at line 721 of file api_core.h.

References Del().

Referenced by Del(), and Set_Count().

◆ Del() [2/2]

bool CSG_Strings::Del ( size_t Index)

Definition at line 1118 of file api_string.cpp.

References Get_Size(), and m_Strings.

◆ Destroy()

bool CSG_Strings::Destroy ( void )

Definition at line 1056 of file api_string.cpp.

References Get_Size(), and m_Strings.

Referenced by Clear(), and Create().

◆ Get_Count()

◆ Get_Size()

size_t CSG_Strings::Get_Size ( void ) const
inline

Definition at line 715 of file api_core.h.

References m_Strings.

Referenced by Add(), Add(), Del(), Destroy(), Ins(), Set_Count(), and Sort().

◆ Get_String() [1/2]

CSG_String & CSG_Strings::Get_String ( int Index) const
inline

Definition at line 724 of file api_core.h.

References m_Strings.

Referenced by operator[](), operator[](), and CSG_Regression_Multiple::Set_Data().

◆ Get_String() [2/2]

CSG_String & CSG_Strings::Get_String ( size_t Index) const
inline

Definition at line 725 of file api_core.h.

References m_Strings.

◆ Ins() [1/2]

bool CSG_Strings::Ins ( const CSG_String & String,
int Index )
inline

Definition at line 719 of file api_core.h.

References Ins().

Referenced by Ins().

◆ Ins() [2/2]

bool CSG_Strings::Ins ( const CSG_String & String,
size_t Index )

Definition at line 1095 of file api_string.cpp.

References Add(), Get_Size(), and m_Strings.

◆ operator+=() [1/2]

CSG_Strings & CSG_Strings::operator+= ( const CSG_String & String)
inline

Definition at line 732 of file api_core.h.

References Add(), and CSG_Strings().

◆ operator+=() [2/2]

CSG_Strings & CSG_Strings::operator+= ( const CSG_Strings & Strings)
inline

Definition at line 731 of file api_core.h.

References Add(), and CSG_Strings().

◆ operator=()

CSG_Strings & CSG_Strings::operator= ( const CSG_Strings & Strings)
inline

Definition at line 730 of file api_core.h.

References Create(), and CSG_Strings().

◆ operator[]() [1/2]

CSG_String & CSG_Strings::operator[] ( int Index) const
inline

Definition at line 727 of file api_core.h.

References Get_String().

◆ operator[]() [2/2]

CSG_String & CSG_Strings::operator[] ( size_t Index) const
inline

Definition at line 728 of file api_core.h.

References Get_String().

◆ Set_Count() [1/2]

bool CSG_Strings::Set_Count ( int Count)
inline

Definition at line 712 of file api_core.h.

References Set_Count().

Referenced by Set_Count().

◆ Set_Count() [2/2]

bool CSG_Strings::Set_Count ( size_t Count)

Definition at line 1138 of file api_string.cpp.

References Add(), Del(), and Get_Size().

◆ Sort()

bool CSG_Strings::Sort ( bool Ascending = true)

Definition at line 1168 of file api_string.cpp.

References Get_Count(), Get_Size(), and m_Strings.

Member Data Documentation

◆ m_Strings

CSG_Array_Pointer CSG_Strings::m_Strings
protected

Definition at line 742 of file api_core.h.

Referenced by Add(), Del(), Destroy(), Get_Count(), Get_Size(), Get_String(), Get_String(), Ins(), and Sort().


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