SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
SGStringList< T > Struct Template Reference

Detailed Description

template<class T>
struct shogun::SGStringList< T >

template class SGStringList

Definition at line 22 of file SGStringList.h.

Public Member Functions

 SGStringList ()
 SGStringList (SGString< T > *s, index_t num_s, index_t max_length, bool free_strings=false)
 SGStringList (index_t num_s, index_t max_length, bool free_strings=false)
 SGStringList (const SGStringList &orig)
void free_list ()
void destroy_list ()

Public Attributes

index_t num_strings
index_t max_string_length
SGString< T > * strings
bool do_free

Constructor & Destructor Documentation

default constructor

Definition at line 26 of file SGStringList.h.

SGStringList ( SGString< T > *  s,
index_t  num_s,
index_t  max_length,
bool  free_strings = false 

constructor for setting params

Definition at line 30 of file SGStringList.h.

SGStringList ( index_t  num_s,
index_t  max_length,
bool  free_strings = false 

constructor to create new string list in memory

Definition at line 35 of file SGStringList.h.

SGStringList ( const SGStringList< T > &  orig)

copy constructor

Definition at line 43 of file SGStringList.h.

Member Function Documentation

void destroy_list ( )

destroy list

Definition at line 61 of file SGStringList.h.

void free_list ( )

free list

Definition at line 49 of file SGStringList.h.

Member Data Documentation

bool do_free

whether vector needs to be freed

Definition at line 78 of file SGStringList.h.

index_t max_string_length

length of longest string

Definition at line 72 of file SGStringList.h.

index_t num_strings

number of strings

Definition at line 69 of file SGStringList.h.

SGString<T>* strings

this contains the array of features

Definition at line 75 of file SGStringList.h.

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

SHOGUN Machine Learning Toolbox - Documentation